From 66002557796c364eb464b5a30c85425095a3158a Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Wed, 1 May 2024 11:57:16 -0600 Subject: [PATCH] Adding keycloak and keycloak-permissions-operator to obs Deploying a new PostgresCluster, Keycloak, and KeycloakAuthorizations using the keycloak operator and our new keycloak-permissions-operator. --- clusters/nerc-ocp-obs/keycloak/application.yaml | 15 +++++++++++++++ clusters/nerc-ocp-obs/keycloak/kustomization.yaml | 4 ++++ clusters/nerc-ocp-obs/kustomization.yaml | 1 + 3 files changed, 20 insertions(+) create mode 100644 clusters/nerc-ocp-obs/keycloak/application.yaml create mode 100644 clusters/nerc-ocp-obs/keycloak/kustomization.yaml diff --git a/clusters/nerc-ocp-obs/keycloak/application.yaml b/clusters/nerc-ocp-obs/keycloak/application.yaml new file mode 100644 index 0000000..1ef9920 --- /dev/null +++ b/clusters/nerc-ocp-obs/keycloak/application.yaml @@ -0,0 +1,15 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: keycloak + labels: + nerc.mghpcc.org/sync-policy: common +spec: + project: default + source: + repoURL: https://github.com/ocp-on-nerc/nerc-ocp-config.git + targetRevision: HEAD + path: keycloak/overlays/nerc-ocp-obs + destination: + name: nerc-ocp-obs + namespace: keycloak diff --git a/clusters/nerc-ocp-obs/keycloak/kustomization.yaml b/clusters/nerc-ocp-obs/keycloak/kustomization.yaml new file mode 100644 index 0000000..1f43d0d --- /dev/null +++ b/clusters/nerc-ocp-obs/keycloak/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- application.yaml diff --git a/clusters/nerc-ocp-obs/kustomization.yaml b/clusters/nerc-ocp-obs/kustomization.yaml index 6ff5d75..ed0b9e6 100644 --- a/clusters/nerc-ocp-obs/kustomization.yaml +++ b/clusters/nerc-ocp-obs/kustomization.yaml @@ -7,6 +7,7 @@ resources: - loki - fake-metrics-server - grafana +- keycloak nameSuffix: -obs