Skip to content

Commit

Permalink
refactor: cleanup and decoupling of openshift-gitops and op1st-gitops
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Görn <[email protected]>
  • Loading branch information
goern committed May 6, 2024
1 parent f582bb8 commit 9ebcf1e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/applications/gitops/argocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ spec:
tls:
ca: {}
redis:
autotls: openshift
resources:
limits:
cpu: 500m
Expand Down
1 change: 1 addition & 0 deletions manifests/applications/gitops/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: Kustomization
resources:
- namespace.yaml
- argocd.yaml
- redis-fix.yaml

- clusters/
- projects/
Expand Down
27 changes: 27 additions & 0 deletions manifests/applications/gitops/redis-fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# this is based on https://github.com/argoproj/argo-cd/pull/4660
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: argocd-redis
rules:
- apiGroups:
- security.openshift.io
resourceNames:
- nonroot
resources:
- securitycontextconstraints
verbs:
- use
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: argocd-redis
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: argocd-redis
subjects:
- kind: ServiceAccount
name: argocd-argocd-redis

0 comments on commit 9ebcf1e

Please sign in to comment.