Compare commits

..

1 Commits

Author SHA1 Message Date
Platform Engineer
479e1620cc fix(argocd): add RBAC ConfigMap granting platform-engineer read+sync access 2026-07-06 11:48:56 +00:00
6 changed files with 11 additions and 25 deletions

View File

@@ -7,14 +7,10 @@ metadata:
app.kubernetes.io/name: argocd-rbac-cm app.kubernetes.io/name: argocd-rbac-cm
app.kubernetes.io/part-of: argocd app.kubernetes.io/part-of: argocd
data: data:
# Default policy: readonly for all authenticated users
policy.default: role:readonly policy.default: role:readonly
# platform-engineer account: read all apps + trigger syncs
policy.csv: | policy.csv: |
p, role:platform-engineer, applications, get, */*, allow p, role:platform-engineer, applications, get, */*, allow
p, role:platform-engineer, applications, sync, */*, allow p, role:platform-engineer, applications, sync, */*, allow
p, role:platform-engineer, clusters, get, *, allow
p, role:platform-engineer, repositories, get, *, allow
p, role:platform-engineer, projects, get, *, allow p, role:platform-engineer, projects, get, *, allow
g, platform-engineer, role:platform-engineer g, platform-engineer, role:platform-engineer
g, roger, role:admin

View File

@@ -22,12 +22,10 @@ spec:
job: deadline-checker job: deadline-checker
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: deadline-checker - name: deadline-checker
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf image: myorg-assistant:latest
imagePullPolicy: Always imagePullPolicy: IfNotPresent
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,12 +22,10 @@ spec:
job: evening-summary job: evening-summary
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: evening-summary - name: evening-summary
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf image: myorg-assistant:latest
imagePullPolicy: Always imagePullPolicy: IfNotPresent
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,12 +22,10 @@ spec:
job: git-sync job: git-sync
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: git-sync - name: git-sync
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf image: myorg-assistant:latest
imagePullPolicy: Always imagePullPolicy: IfNotPresent
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,12 +22,10 @@ spec:
job: morning-briefing job: morning-briefing
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: morning-briefing - name: morning-briefing
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf image: myorg-assistant:latest
imagePullPolicy: Always imagePullPolicy: IfNotPresent
command: command:
- python - python
- run_job.py - run_job.py

View File

@@ -22,12 +22,10 @@ spec:
job: waiting-followup job: waiting-followup
spec: spec:
restartPolicy: OnFailure restartPolicy: OnFailure
imagePullSecrets:
- name: gitea-registry
containers: containers:
- name: waiting-followup - name: waiting-followup
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf image: myorg-assistant:latest
imagePullPolicy: Always imagePullPolicy: IfNotPresent
command: command:
- python - python
- run_job.py - run_job.py