diff --git a/charts/system/spegel/Chart.yaml b/charts/system/spegel/Chart.yaml index 200d381dbac..ad63d67effa 100644 --- a/charts/system/spegel/Chart.yaml +++ b/charts/system/spegel/Chart.yaml @@ -31,4 +31,4 @@ sources: - https://ghcr.io/spegel-org/spegel - https://github.com/truecharts/charts/tree/master/charts/system/spegel type: application -version: 3.2.1 +version: 3.2.2 diff --git a/charts/system/spegel/templates/_args.tpl b/charts/system/spegel/templates/_args.tpl index c2100797360..3d6162231b9 100644 --- a/charts/system/spegel/templates/_args.tpl +++ b/charts/system/spegel/templates/_args.tpl @@ -4,22 +4,22 @@ - configuration - --log-level={{ .Values.spegel.logLevel }} - --containerd-registry-config-path={{ .Values.spegel.containerdRegistryConfigPath }} - {{- with .Values.spegel.registries }} - - --registries + {{- with .Values.spegel.mirroredRegistries }} + - --mirrored-registries {{- range . }} - {{ . | quote }} {{- end }} {{- end }} - - --mirror-registries + - --mirror-targets - http://$(NODE_IP):{{ .Values.service.main.ports.main.hostPort }} - http://$(NODE_IP):{{ .Values.service.main.ports.main.nodePort }} - {{- with .Values.spegel.additionalMirrorRegistries }} + {{- with .Values.spegel.additionalMirrorTargets }} {{- range . }} - {{ . | quote }} {{- end }} {{- end }} - --resolve-tags={{ .Values.spegel.resolveTags }} - - --append-mirrors={{ .Values.spegel.appendMirrors }} + - --prepend-existing={{ .Values.spegel.prependExisting }} {{- end -}} {{- define "spegel.args.main" -}} args: @@ -31,7 +31,7 @@ - --router-addr=:{{ .Values.service.router.ports.router.port }} - --metrics-addr=:{{ .Values.service.metrics.ports.metrics.port}} {{- with .Values.spegel.registries }} - - --registries + - --mirrored-registries {{- range . }} - {{ . | quote }} {{- end }} diff --git a/charts/system/spegel/values.yaml b/charts/system/spegel/values.yaml index 91e58c7a2ce..9dd84c66894 100644 --- a/charts/system/spegel/values.yaml +++ b/charts/system/spegel/values.yaml @@ -161,7 +161,7 @@ spegel: # -- When true latest tags will be resolved to digests. resolveLatestTag: true # -- When true existing mirror configuration will be appended to instead of replaced. - appendMirrors: true + prependExisting: true # -- The service account the pods will use to interact with the Kubernetes API serviceAccount: