Fix kustomize patch: remove namespace for proper matching
Kustomize matches patches before namespace transformation, so the patch file shouldn't specify namespace (kustomization.yaml adds it). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
623b122f58
commit
258c88f2f7
2 changed files with 3 additions and 4 deletions
|
|
@ -4,7 +4,6 @@ apiVersion: v1
|
|||
kind: ConfigMap
|
||||
metadata:
|
||||
name: argocd-ssh-known-hosts-cm
|
||||
namespace: argocd
|
||||
data:
|
||||
ssh_known_hosts: |
|
||||
# Upstream ArgoCD defaults
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace: argocd
|
|||
resources:
|
||||
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
||||
- service-tailscale.yaml
|
||||
- argocd-ssh-known-hosts-cm.yaml
|
||||
|
||||
patchesStrategicMerge:
|
||||
- argocd-cmd-params-cm.yaml
|
||||
patches:
|
||||
- path: argocd-cmd-params-cm.yaml
|
||||
- path: argocd-ssh-known-hosts-cm.yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue