Compare commits
4 Commits
main
...
086c6a8937
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
086c6a8937 | ||
|
|
53ea993438 | ||
|
|
63e93cbd39 | ||
|
|
a84e348263 |
20
argocd/argocd-rbac-cm.yaml
Normal file
20
argocd/argocd-rbac-cm.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: argocd-rbac-cm
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: argocd-rbac-cm
|
||||||
|
app.kubernetes.io/part-of: argocd
|
||||||
|
data:
|
||||||
|
# Default policy: readonly for all authenticated users
|
||||||
|
policy.default: role:readonly
|
||||||
|
|
||||||
|
# platform-engineer account: read all apps + trigger syncs
|
||||||
|
policy.csv: |
|
||||||
|
p, role:platform-engineer, applications, get, */*, 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
|
||||||
|
g, platform-engineer, role:platform-engineer
|
||||||
@@ -22,10 +22,12 @@ 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: myorg-assistant:latest
|
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- run_job.py
|
- run_job.py
|
||||||
|
|||||||
@@ -22,10 +22,12 @@ 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: myorg-assistant:latest
|
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- run_job.py
|
- run_job.py
|
||||||
|
|||||||
@@ -22,10 +22,12 @@ 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: myorg-assistant:latest
|
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- run_job.py
|
- run_job.py
|
||||||
|
|||||||
@@ -22,10 +22,12 @@ 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: myorg-assistant:latest
|
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- run_job.py
|
- run_job.py
|
||||||
|
|||||||
@@ -22,10 +22,12 @@ 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: myorg-assistant:latest
|
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- python
|
- python
|
||||||
- run_job.py
|
- run_job.py
|
||||||
|
|||||||
Reference in New Issue
Block a user