diff --git a/roles/openshift-apps/datagrepper/templates/buildconfig.yml b/roles/openshift-apps/datagrepper/templates/buildconfig.yml index f3f8f99f65..bc0e977708 100644 --- a/roles/openshift-apps/datagrepper/templates/buildconfig.yml +++ b/roles/openshift-apps/datagrepper/templates/buildconfig.yml @@ -35,7 +35,7 @@ spec: github: secret: "{{ datagrepper_stg_github_secret }}" {% endif %} -{% if datagrepper_github_secret is defined and env == 'production' %} +{% if datagrepper_prod_github_secret is defined and env == 'production' %} - type: GitHub github: secret: "{{ datagrepper_prod_github_secret }}" diff --git a/roles/openshift-apps/datanommer/templates/buildconfig.yml b/roles/openshift-apps/datanommer/templates/buildconfig.yml index 6294643d1a..6b3302e31f 100644 --- a/roles/openshift-apps/datanommer/templates/buildconfig.yml +++ b/roles/openshift-apps/datanommer/templates/buildconfig.yml @@ -35,7 +35,7 @@ spec: github: secret: "{{ datanommer_stg_github_secret }}" {% endif %} -{% if datanommer_github_secret is defined and env == 'production' %} +{% if datanommer_prod_github_secret is defined and env == 'production' %} - type: GitHub github: secret: "{{ datanommer_prod_github_secret }}"