Skip to content

Commit

Permalink
fix(botkube): disable drift detection
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 15, 2023
1 parent b844497 commit 99c3323
Showing 1 changed file with 27 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ spec:
name: botkube-charts
namespace: flux-system
driftDetection:
mode: enabled
ignore:
- target:
kind: Secret
name: botkube-communication-secret
paths:
- /annotations
mode: disabled
# ignore:
# - target:
# kind: Secret
# name: botkube-communication-secret
# paths:
# - /annotations
# - /labels

# https://artifacthub.io/packages/helm/infracloudio/botkube?modal=values
values:
Expand Down Expand Up @@ -140,22 +141,22 @@ spec:
name: botkube-secrets
valuesKey: BOTKUBE_DISCORD_CHANNEL_ID

postRenderers:
- kustomize:
patches:
- target:
version: v1
kind: Secret
name: botkube-communication-secret
patch: |
- op: add
path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
value: disabled
- target:
version: v1
kind: ServiceMonitor
name: botkube
patch: |
- op: add
path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
value: disabled
# postRenderers:
# - kustomize:
# patches:
# - target:
# version: v1
# kind: Secret
# name: botkube-communication-secret
# patch: |
# - op: add
# path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
# value: disabled
# - target:
# version: v1
# kind: ServiceMonitor
# name: botkube
# patch: |
# - op: add
# path: /metadata/annotations/helm.toolkit.fluxcd.io~1driftDetection
# value: disabled

0 comments on commit 99c3323

Please sign in to comment.