|
| 1 | +apiVersion: argoproj.io/v1alpha1 |
| 2 | +kind: Application |
| 3 | +metadata: |
| 4 | + name: <WORKLOAD_CLUSTER_NAME>-external-secrets-operator |
| 5 | + namespace: argocd |
| 6 | + finalizers: |
| 7 | + - resources-finalizer.argocd.argoproj.io |
| 8 | + annotations: |
| 9 | + argocd.argoproj.io/sync-wave: '30' |
| 10 | +spec: |
| 11 | + project: <WORKLOAD_CLUSTER_NAME> |
| 12 | + source: |
| 13 | + repoURL: https://charts.external-secrets.io |
| 14 | + targetRevision: 0.8.1 |
| 15 | + helm: |
| 16 | + values: |- |
| 17 | + serviceAccount: |
| 18 | + create: false |
| 19 | + name: external-secrets |
| 20 | + chart: external-secrets |
| 21 | + destination: |
| 22 | + name: <WORKLOAD_CLUSTER_NAME> |
| 23 | + namespace: external-secrets-operator |
| 24 | + syncPolicy: |
| 25 | + automated: |
| 26 | + prune: true |
| 27 | + selfHeal: true |
| 28 | + syncOptions: |
| 29 | + - CreateNamespace=true |
| 30 | + - RespectIgnoreDifferences=true |
| 31 | + ignoreDifferences: |
| 32 | + - group: apiextensions.k8s.io |
| 33 | + kind: CustomResourceDefinition |
| 34 | + jqPathExpressions: |
| 35 | + - .spec.conversion.webhook.clientConfig.caBundle |
| 36 | + - .spec.conversion.webhook.clientConfig.service.name |
| 37 | + - .spec.conversion.webhook.clientConfig.service.namespace |
| 38 | + - group: admissionregistration.k8s.io |
| 39 | + kind: ValidatingWebhookConfiguration |
| 40 | + jqPathExpressions: |
| 41 | + - .webhooks[]?.clientConfig.caBundle |
| 42 | +--- |
| 43 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 44 | +kind: ClusterRoleBinding |
| 45 | +metadata: |
| 46 | + name: <WORKLOAD_CLUSTER_NAME>-eso-kubernetes-external-secrets-auth |
| 47 | + annotations: |
| 48 | + argocd.argoproj.io/sync-wave: '40' |
| 49 | +roleRef: |
| 50 | + apiGroup: rbac.authorization.k8s.io |
| 51 | + kind: ClusterRole |
| 52 | + name: 'system:auth-delegator' |
| 53 | +subjects: |
| 54 | + - kind: ServiceAccount |
| 55 | + name: external-secrets |
| 56 | + namespace: external-secrets-operator |
| 57 | +--- |
| 58 | +apiVersion: rbac.authorization.k8s.io/v1 |
| 59 | +kind: ClusterRoleBinding |
| 60 | +metadata: |
| 61 | + name: <WORKLOAD_CLUSTER_NAME>-eso-kubernetes-external-secrets-auth2 |
| 62 | + annotations: |
| 63 | + argocd.argoproj.io/sync-wave: '40' |
| 64 | +roleRef: |
| 65 | + apiGroup: rbac.authorization.k8s.io |
| 66 | + kind: ClusterRole |
| 67 | + name: 'cluster-admin' |
| 68 | +subjects: |
| 69 | + - kind: ServiceAccount |
| 70 | + name: external-secrets |
| 71 | + namespace: external-secrets-operator |
0 commit comments