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