Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,19 @@ spec:
spec:
containers:
- name: k8s-image-availability-exporter
args: ["--bind-address=:8080"]
{{- if .Values.k8sImageAvailabilityExporter.args }}
args:
{{- range .Values.k8sImageAvailabilityExporter.args }}
- {{ . }}
{{- end }}
{{- end }}
{{- if .Values.k8sImageAvailabilityExporter.env }}
env:
{{- range .Values.k8sImageAvailabilityExporter.env }}
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
{{- end }}
ports:
- containerPort: 8080
name: http
Expand All @@ -37,8 +49,8 @@ spec:
path: /healthz
port: http
scheme: HTTP
{{- if .Values.k8sImageAvailabilityExporter.resources }}
resources:
{{ if .Values.k8sImageAvailabilityExporter.resources }}
{{ .Values.k8sImageAvailabilityExporter.resources | toYaml | indent 10}}
{{ .Values.k8sImageAvailabilityExporter.resources | toYaml | indent 10}}
{{ end }}
serviceAccountName: {{ template "k8s-image-availability-exporter.fullname" . }}
11 changes: 8 additions & 3 deletions .helm/charts/k8s-image-availability-exporter/values.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
k8sImageAvailabilityExporter:
image:
repository: flant/k8s-image-availability-exporter
tag: v0.1.13
pullPolicy: IfNotPresent
repository: registry.deckhouse.io/k8s-image-availability-exporter/k8s-image-availability-exporter
tag: v0.2.1
imagePullPolicy: IfNotPresent
replicas: 1
resources: {}
args:
- --bind-address=:8080
env: {}
# - name: key
# value: value

serviceMonitor:
enabled: false
Expand Down