Skip to content

Commit

Permalink
make ClusterFilter and StorageClass toggable in helm-chart
Browse files Browse the repository at this point in the history
Signed-off-by: Niclas Schad <niclas.schad@stackit.de>
  • Loading branch information
Niclas Schad committed Aug 6, 2024
1 parent 0f45546 commit 7453cf1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.monitoring.createClusterFilters -}}
apiVersion: fluentbit.fluent.io/v1alpha2
kind: ClusterFilter
metadata:
Expand Down Expand Up @@ -57,3 +58,4 @@ spec:
parser: kube-apiserver-parser
reserveData: true
match: kubernetes.*csi-snapshot*openstack-csi*
{{- end -}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if eq .Values.gardener.seed.provider "openstack" }}
{{- if eq .Values.gardener.seed.provider "openstack" -}}
{{- if .Values.config.etcd.storage.createStorageClass -}}
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
Expand All @@ -15,4 +16,5 @@ provisioner: {{ .Values.config.etcd.storage.provisioner }}
allowVolumeExpansion: true
volumeBindingMode: {{ .Values.config.etcd.storage.volumeBindingMode }}
reclaimPolicy: {{ .Values.config.etcd.storage.reclaimPolicy | default "Delete" }}
{{- end }}
{{- end -}}
{{- end -}}
4 changes: 4 additions & 0 deletions charts/gardener-extension-provider-openstack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ vpa:
metricsPort: 8080
healthPort: 8081

monitoring:
createClusterFilters: true

controllers:
backupbucket:
concurrentSyncs: 5
Expand Down Expand Up @@ -74,6 +77,7 @@ config:
burst: 130
etcd:
storage:
createStorageClass: true
className: gardener.cloud-fast
capacity: 25Gi
provisioner: kubernetes.io/cinder
Expand Down

0 comments on commit 7453cf1

Please # to comment.