Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(operators): move keycloak operator to own namespace #56

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: operators
name: global-operators
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: operators
source:
repoURL: {{ .Values.appOfApps.repoURL }}
targetRevision: HEAD
path: operators
path: operators/global
destination:
server: https://kubernetes.default.svc
namespace: operators
Expand Down
21 changes: 21 additions & 0 deletions app-of-apps/templates/operators/keycloak.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: keycloak-operator
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: operators
source:
repoURL: {{ .Values.appOfApps.repoURL }}
targetRevision: HEAD
path: operators/keycloak
destination:
server: https://kubernetes.default.svc
namespace: keycloak-operator
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
4 changes: 3 additions & 1 deletion app-of-apps/templates/operators/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ spec:
- {{ .Values.appOfApps.repoURL }}
- "https://github.com/operator-framework/operator-lifecycle-manager"
destinations:
- namespace: operator-lifecycle-manager
server: https://kubernetes.default.svc
- namespace: operators
server: https://kubernetes.default.svc
- namespace: operator-lifecycle-manager
- namespace: keycloak-operator
server: https://kubernetes.default.svc
clusterResourceWhitelist:
- group: ''
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions operators/keycloak/operatorgroup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: keycloak-operator
spec:
targetNamespaces:
- keycloak
File renamed without changes.