apps/clickhouse/kustomization.yaml
Peter Kurfer d52d2088d5
All checks were successful
Renovate / renovate (push) Successful in 55s
fix(clickhouse): explicitly specify watch namespace
2024-11-26 21:23:56 +01:00

32 lines
747 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: clickhouse-system
resources:
- resources/namespace.yaml
- https://raw.githubusercontent.com/Altinity/clickhouse-operator/master/deploy/operator/clickhouse-operator-install-bundle.yaml
patches:
- patch: |-
- op: add
path: /metadata/labels
value:
prometheus: default
target:
group: core
kind: Namespace
name: clickhouse-operator
version: v1
- patch: |-
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: WATCH_NAMESPACES
value: "plausible"
target:
group: apps
version: v1
kind: Deployment
name: clickhouse-operator