feat(clickhouse): deploy operator
All checks were successful
Renovate / renovate (push) Successful in 1m9s
All checks were successful
Renovate / renovate (push) Successful in 1m9s
This commit is contained in:
parent
b66c9c3982
commit
ba36cc4f84
2 changed files with 27 additions and 0 deletions
20
clickhouse/kustomization.yaml
Normal file
20
clickhouse/kustomization.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
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
|
7
clickhouse/resources/namespace.yaml
Normal file
7
clickhouse/resources/namespace.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: clickhouse
|
||||
labels:
|
||||
prometheus: default
|
Loading…
Reference in a new issue