From d7aaa18677a4b794a9ade343cd2bb89be018728f Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sat, 14 Sep 2024 21:46:46 +0200 Subject: [PATCH] Add overlay patches 8 --- argocd/kustomization.yaml | 7 ++++++- ...argocd-notifications-controller-patch.yaml | 20 +++---------------- 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/argocd/kustomization.yaml b/argocd/kustomization.yaml index 7b5c00e..c6dbad7 100644 --- a/argocd/kustomization.yaml +++ b/argocd/kustomization.yaml @@ -10,4 +10,9 @@ resources: - ingress.yaml patches: - - path: ./overlays/argocd-notifications-controller-patch.yaml + - target: + group: apps + version: v1 + kind: Deployments + name: argocd-notifications-controller + path: argocd-notifications-controller-patch.yaml \ No newline at end of file diff --git a/argocd/overlays/argocd-notifications-controller-patch.yaml b/argocd/overlays/argocd-notifications-controller-patch.yaml index 8ea25e6..fba974e 100644 --- a/argocd/overlays/argocd-notifications-controller-patch.yaml +++ b/argocd/overlays/argocd-notifications-controller-patch.yaml @@ -1,17 +1,3 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: argocd-notifications-controller - namespace: argocd -$patch: merge -spec: - template: - spec: - containers: - - livenessProbe: {} - # failureThreshold: 3 - # periodSeconds: 10 - # successThreshold: 1 - # tcpSocket: - # port: 9001 - # timeoutSeconds: 1 \ No newline at end of file +- op: replace #action + path: /spec/template/spec/containers/livenessProbe #resouirce we want to change + value: {} #value we want to use for patching \ No newline at end of file