forked from roger/k3s-cluster
Compare commits
1 Commits
fix/myorg-
...
fix/argocd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c971647734 |
15
argocd/argocd-rbac-cm.yaml
Normal file
15
argocd/argocd-rbac-cm.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
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:
|
||||
policy.csv: |
|
||||
# Grant the platform-engineer local account read + sync access to all applications
|
||||
p, role:platform-engineer, applications, get, */*, allow
|
||||
p, role:platform-engineer, application, sync, */*, allow
|
||||
g, platform-engineer, role:platform-engineer
|
||||
policy.default: ""
|
||||
@@ -22,12 +22,10 @@ spec:
|
||||
job: deadline-checker
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: deadline-checker
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,12 +22,10 @@ spec:
|
||||
job: evening-summary
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: evening-summary
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,12 +22,10 @@ spec:
|
||||
job: git-sync
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: git-sync
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,12 +22,10 @@ spec:
|
||||
job: morning-briefing
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: morning-briefing
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
@@ -22,12 +22,10 @@ spec:
|
||||
job: waiting-followup
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
imagePullSecrets:
|
||||
- name: gitea-registry
|
||||
containers:
|
||||
- name: waiting-followup
|
||||
image: git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
|
||||
imagePullPolicy: Always
|
||||
image: myorg-assistant:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- python
|
||||
- run_job.py
|
||||
|
||||
Reference in New Issue
Block a user