diff --git a/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml b/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml index 13e08eca..bb42e099 100644 --- a/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml +++ b/cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml @@ -50,6 +50,7 @@ components: - ../../components/nerc-oauth-keycloak - ../../components/nerc-oauth-github - ../../components/resourcequotas/ope-course-quota + - ../../components/nerc-oauth-htpasswd # this must come last in order to apply # to all resources. @@ -121,6 +122,13 @@ patches: - op: replace path: /spec/data/0/remoteRef/key value: nerc/nerc-ocp-prod/openshift-config/github-client-secret +- target: + kind: ExternalSecret + name: oauth-htpasswd + patch: | + - op: replace + path: /spec/data/0/remoteRef/key + value: nerc/nerc-ocp-prod/openshift-config/oauth-htpasswd - target: kind: APIServer name: cluster