Skip to content

Commit

Permalink
Prepare namespace for oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
MyChaOS87 committed Jul 10, 2024
1 parent 28c38d2 commit a03ceff
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
19 changes: 19 additions & 0 deletions deployments/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,22 @@ spec:
automated:
prune: true
selfHeal: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: oidc
namespace: argocd
spec:
source:
repoURL: [email protected]:MyChaOS87/sloth.git
targetRevision: main
path: deployments/oidc
destination:
server: https://kubernetes.default.svc
namespace: argocd
project: argocd-base
syncPolicy:
automated:
prune: true
selfHeal: true
23 changes: 23 additions & 0 deletions deployments/oidc/oidc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: keycloak-oidc
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: oidc
namespace: argocd
spec:
description: access to the used namespaces for oidc
sourceRepos:
- '*'
destinations:
- namespace: keycloak-oidc
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: '*'
kind: '*'
orphanedResources:
warn: false

0 comments on commit a03ceff

Please sign in to comment.