try kustomize overlays
This commit is contained in:
@@ -13,16 +13,6 @@ spec:
|
||||
repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/tools
|
||||
targetRevision: HEAD
|
||||
path: {{ $app_name }}
|
||||
{{- if $app.patches }}
|
||||
helm:
|
||||
patches:
|
||||
{{- range $patch := $app.patches }}
|
||||
- target:
|
||||
{{- toYaml $patch.target | nindent 12 }}
|
||||
patch: |-
|
||||
{{ $patch.patch | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: tools
|
||||
|
||||
@@ -5,17 +5,5 @@ tools:
|
||||
hashicorp-vault: {}
|
||||
crowdsec: {}
|
||||
redis: {}
|
||||
clickhouse:
|
||||
patches:
|
||||
- target:
|
||||
kind: StatefulSet
|
||||
name: clickhouse
|
||||
patch: |-
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: config-volume
|
||||
mountPath: /etc/clickhouse-server/users.d/custom-users.xml
|
||||
subPath: custom-users.xml
|
||||
readOnly: true
|
||||
clickhouse: {}
|
||||
grafana: {}
|
||||
Reference in New Issue
Block a user