@@ -6,7 +6,7 @@ metadata:
|
||||
labels:
|
||||
app.kubernetes.io/managed-by: argocd
|
||||
app.kubernetes.io/name: argocd
|
||||
|
||||
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
@@ -28,4 +28,4 @@ spec:
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- ServerSideApply=true
|
||||
- ServerSideApply=true
|
||||
|
||||
@@ -3,4 +3,4 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: argocd-cmp-cm
|
||||
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
|
||||
envs:
|
||||
- ./config/conf.env
|
||||
|
||||
@@ -18,4 +18,3 @@ data:
|
||||
p, role:admin, extensions, invoke, events, allow
|
||||
p, role:admin, extensions, invoke, pod-files, allow
|
||||
policy.default: role:readonly
|
||||
|
||||
@@ -45,4 +45,4 @@ spec:
|
||||
mountPath: /tmp/extensions/
|
||||
volumes:
|
||||
- name: extensions
|
||||
emptyDir: {}
|
||||
emptyDir: {}
|
||||
|
||||
@@ -20,4 +20,4 @@ data:
|
||||
- build
|
||||
- --enable-alpha-plugins
|
||||
- --enable-exec
|
||||
- .
|
||||
- .
|
||||
|
||||
@@ -23,7 +23,7 @@ resources:
|
||||
|
||||
components:
|
||||
- argocd-image-updater/
|
||||
|
||||
|
||||
patches:
|
||||
- path: repo-server-patch.yaml
|
||||
- path: argocd-cm-patch.yaml
|
||||
@@ -43,4 +43,4 @@ patches:
|
||||
# - ksops-generator.yaml
|
||||
|
||||
commonAnnotations:
|
||||
glance/parent: argocd
|
||||
glance/parent: argocd
|
||||
|
||||
Reference in New Issue
Block a user