update patches

This commit is contained in:
JonaKl
2026-03-17 20:48:14 +01:00
parent 619150b212
commit 227b9217db
4 changed files with 5 additions and 12 deletions

View File

@@ -2,7 +2,6 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-cm name: argocd-cm
namespace: argocd
data: data:
oidc.config: | oidc.config: |
name: Keycloak name: Keycloak

View File

@@ -1,11 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
labels:
app.kubernetes.io/name: argocd-rbac-cm
app.kubernetes.io/part-of: argocd
name: argocd-rbac-cm name: argocd-rbac-cm
namespace: argocd
data: data:
policy.csv: | policy.csv: |
g, argo-admin, role:admin g, argo-admin, role:admin

View File

@@ -13,6 +13,9 @@ spec:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: argocd namespace: argocd
syncPolicy: syncPolicy:
# Needed for ArgoCD to manage itself, otherwise it would not be able to update itself when the application manifest changes
syncOptions:
- ServerSideApply=true
automated: automated:
prune: true prune: true
selfHeal: true selfHeal: true

View File

@@ -8,10 +8,5 @@ resources:
- argocd-self-application.yaml - argocd-self-application.yaml
patches: patches:
- target: - path: argocd-cm-patch.yaml
group: "" - path: argocd-rbac-cm-patch.yaml
version: v1
kind: ConfigMap
name: argocd-cm
namespace: argocd
path: argocd-cm-patch.yaml