From 98495f28e8ddf82647728ddf450d84a01d87d175 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Fri, 25 Oct 2024 10:35:25 -0600 Subject: [PATCH] Adding htpasswd auth to prod for Forum next week The AI for Drug Discovery Open Innovation Forum will need everyone to pre-register to get MOC accounts to use for the hands-on demo --- cluster-scope/overlays/nerc-ocp-prod/kustomization.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) 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