Compare commits
4 Commits
fix/homeas
...
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
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: deadline-checker
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,10 +22,12 @@ spec:
|
||||
job: evening-summary
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: evening-summary
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,10 +22,12 @@ spec:
|
||||
job: git-sync
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: git-sync
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,10 +22,12 @@ spec:
|
||||
job: morning-briefing
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: morning-briefing
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,10 +22,12 @@ spec:
|
||||
job: waiting-followup
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: waiting-followup
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
Reference in New Issue
Block a user