@@ -6,7 +6,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/managed-by: argocd
|
app.kubernetes.io/managed-by: argocd
|
||||||
app.kubernetes.io/name: argocd
|
app.kubernetes.io/name: argocd
|
||||||
|
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
@@ -28,4 +28,4 @@ spec:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=false
|
- CreateNamespace=false
|
||||||
- ApplyOutOfSyncOnly=true
|
- ApplyOutOfSyncOnly=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: argocd-cmp-cm
|
name: argocd-cmp-cm
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
data: {}
|
data: {}
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: argocd-headlamp-plugin
|
||||||
|
rules:
|
||||||
|
- apiGroups: ["argoproj.io"]
|
||||||
|
resources: ["applications"]
|
||||||
|
verbs: ["get", "list", "watch", "patch"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["configmaps"]
|
||||||
|
resourceNames: ["argocd-cm"]
|
||||||
|
verbs: ["get"]
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: remote-admin-argocd-plugin
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: argocd-headlamp-plugin
|
||||||
|
subjects:
|
||||||
|
- kind: User
|
||||||
|
name: remote-admin
|
||||||
@@ -16,4 +16,3 @@ configMapGenerator:
|
|||||||
behavior: merge
|
behavior: merge
|
||||||
envs:
|
envs:
|
||||||
- ./config/conf.env
|
- ./config/conf.env
|
||||||
|
|
||||||
@@ -18,4 +18,3 @@ data:
|
|||||||
p, role:admin, extensions, invoke, events, allow
|
p, role:admin, extensions, invoke, events, allow
|
||||||
p, role:admin, extensions, invoke, pod-files, allow
|
p, role:admin, extensions, invoke, pod-files, allow
|
||||||
policy.default: role:readonly
|
policy.default: role:readonly
|
||||||
|
|
||||||
@@ -45,4 +45,4 @@ spec:
|
|||||||
mountPath: /tmp/extensions/
|
mountPath: /tmp/extensions/
|
||||||
volumes:
|
volumes:
|
||||||
- name: extensions
|
- name: extensions
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
|||||||
@@ -20,4 +20,4 @@ data:
|
|||||||
- build
|
- build
|
||||||
- --enable-alpha-plugins
|
- --enable-alpha-plugins
|
||||||
- --enable-exec
|
- --enable-exec
|
||||||
- .
|
- .
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ resources:
|
|||||||
|
|
||||||
components:
|
components:
|
||||||
- argocd-image-updater/
|
- argocd-image-updater/
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: repo-server-patch.yaml
|
- path: repo-server-patch.yaml
|
||||||
- path: argocd-cm-patch.yaml
|
- path: argocd-cm-patch.yaml
|
||||||
@@ -43,4 +43,4 @@ patches:
|
|||||||
# - ksops-generator.yaml
|
# - ksops-generator.yaml
|
||||||
|
|
||||||
commonAnnotations:
|
commonAnnotations:
|
||||||
glance/parent: argocd
|
glance/parent: argocd
|
||||||
|
|||||||
Reference in New Issue
Block a user