Skip to content

Commit

Permalink
Merge pull request #56 from d3adb5/fix/move-keycloak-operator-to-own-…
Browse files Browse the repository at this point in the history
…namespace

fix(operators): move keycloak operator to own namespace
  • Loading branch information
d3adb5 authored Jul 14, 2024
2 parents bac1fb3 + 8e8b33a commit b7c9858
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 3 deletions.
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.
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.

0 comments on commit b7c9858

Please sign in to comment.