Skip to content

Commit

Permalink
Merge pull request #1565 from GiganticMinecraft/workflows_sso
Browse files Browse the repository at this point in the history
fix dex secret
  • Loading branch information
outductor authored Dec 21, 2023
2 parents 07cbb59 + be6a43c commit 680d100
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ controller:
release: prometheus

dex:
env:
- name: ARGO_WORKFLOWS_SSO_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: argo-workflows-sso
key: client-secret
resources:
limits:
cpu: 100m
Expand Down
17 changes: 17 additions & 0 deletions terraform/onp_cluster_secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,23 @@ resource "kubernetes_secret" "onp_argocd_applicationset_controller_github_app_se

type = "Opaque"
}

resource "kubernetes_secret" "onp_argocd_workflows_sso" {
depends_on = [kubernetes_namespace.onp_argocd]

metadata {
name = "argo-workflows-sso"
namespace = "argocd"
}

data = {
client-id = "argo-workflows-sso"
client-secret = var.onp_k8s_argo_workflows_sso_client_secret
}

type = "Opaque"
}

resource "kubernetes_secret" "onp_argo_workflows_sso" {
depends_on = [kubernetes_namespace.onp_argo]

Expand Down

0 comments on commit 680d100

Please sign in to comment.