Fix the cilium stuff multiple ways

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-11-13 14:50:42 +01:00
parent f87fd7566d
commit ae9d5ddba3
4 changed files with 37 additions and 7 deletions

View File

@ -6,10 +6,3 @@ metadata:
name: argocd-cm
data:
kustomize.buildOptions: --enable-helm
resource.exclusions: |
- apiGroups:
- cilium.io
kinds:
- CiliumIdentity
clusters:
- "*"

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/part-of: argocd
name: argocd-cm
data:
resource.exclusions: |
- apiGroups:
- cilium.io
kinds:
- CiliumIdentity
clusters:
- "*"

View File

@ -7,3 +7,20 @@ resources:
patchesStrategicMerge:
- argocd-cm.yaml
- service.yaml
patches:
- patch: |-
- op: add
path: /data
value:
resource.exclusions: |
- apiGroups:
- cilium.io
kinds:
- CiliumIdentity
clusters:
- "*"
target:
version: v1
kind: ConfigMap
name: argocd-cm

View File

@ -4,6 +4,12 @@ metadata:
name: apps
namespace: argocd
spec:
clusterResourceBlacklist:
- group: "*"
kind: "*"
clusterResourceBlacklist:
- group: cilium.io
kind: CiliumIdentity
description: everything non-infra
sourceRepos:
- https://git.martyn.berlin/martyn/infra4talos.git