diff --git a/roles/openshift-apps/fpdc/templates/buildconfig.yml b/roles/openshift-apps/fpdc/templates/buildconfig.yml index 034ba3d226..5332eb48af 100644 --- a/roles/openshift-apps/fpdc/templates/buildconfig.yml +++ b/roles/openshift-apps/fpdc/templates/buildconfig.yml @@ -30,10 +30,10 @@ spec: - type: GitHub github: secret: "{{ stg_fpdc_github_secret }}" -{% elif prod_fpdc_github_secret is defined and env == 'production' %} +{% elif fpdc_github_secret is defined and env == 'production' %} - type: GitHub github: - secret: "{{ prod_fpdc_github_secret }}" + secret: "{{ fpdc_github_secret }}" {% endif %} - type: ConfigChange - type: ImageChange