File tree Expand file tree Collapse file tree 5 files changed +30
-5
lines changed
Expand file tree Collapse file tree 5 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ maintainers:
1111name : thanos
1212sources :
1313 - https://github.com/cloudoperators/greenhouse-extensions
14- version : 0.1.4
14+ version : 0.1.5
1515# thanos-release
1616appVersion : v0.35.0
1717keywords :
Original file line number Diff line number Diff line change 7070 name : data-volume
7171 initContainers :
7272 - name : init-permissions
73- image : busybox
73+ {{- $registry := .Values.global.imageRegistry | default .Values.thanos.initChownData.image.registry -}}
74+ {{- if .Values.thanos.initChownData.image.sha }}
75+ image : " {{ $registry }}/{{ .Values.thanos.initChownData.image.repository }}:{{ .Values.thanos.initChownData.image.tag }}@sha256:{{ .Values.thanos.initChownData.image.sha }}"
76+ {{- else }}
77+ image : " {{ $registry }}/{{ .Values.thanos.initChownData.image.repository }}:{{ .Values.thanos.initChownData.image.tag }}"
78+ {{- end }}
7479 command : ['sh', '-c', 'chown 1000:3000 /data && chmod 750 /data']
7580 volumeMounts :
7681 - mountPath : /data
Original file line number Diff line number Diff line change 8787 name : data
8888 initContainers :
8989 - name : init-permissions
90- image : busybox
90+ {{- $registry := .Values.global.imageRegistry | default .Values.thanos.initChownData.image.registry -}}
91+ {{- if .Values.thanos.initChownData.image.sha }}
92+ image : " {{ $registry }}/{{ .Values.thanos.initChownData.image.repository }}:{{ .Values.thanos.initChownData.image.tag }}@sha256:{{ .Values.thanos.initChownData.image.sha }}"
93+ {{- else }}
94+ image : " {{ $registry }}/{{ .Values.thanos.initChownData.image.repository }}:{{ .Values.thanos.initChownData.image.tag }}"
95+ {{- end }}
9196 command : ['sh', '-c', 'chown 1000:3000 /data && chmod 750 /data']
9297 securityContext :
9398 runAsUser : 0
Original file line number Diff line number Diff line change 55 # # Labels to apply to all resources
66 commonLabels : {}
77
8+ # -- Overrides the registry globally for all images
9+ imageRegistry : null
10+
811thanos :
912 image :
1013 repository : quay.io/thanos/thanos
@@ -16,6 +19,18 @@ thanos:
1619 # used across the stack
1720 httpAddress :
1821
22+ # # Init container to set permissions
23+ initChownData :
24+
25+ # # initChownData container image
26+ # #
27+ image :
28+ # -- The Docker registry
29+ registry : docker.io
30+ repository : library/busybox
31+ tag : " stable"
32+ sha : " "
33+
1934 query :
2035 replicas :
2136 # defaults to info
Original file line number Diff line number Diff line change 1010 helmChart :
1111 name : thanos
1212 repository : " oci://ghcr.io/cloudoperators/greenhouse-extensions/charts"
13- version : 0.1.4
13+ version : 0.1.5
1414 options :
1515 - default : null
1616 description : CLI param for Thanos Query
9797 description : TLS key for communication with Alertmanager
9898 required : false
9999 type : secret
100- version : 0.2.4
100+ version : 0.2.5
You can’t perform that action at this time.
0 commit comments