Skip to content
Merged
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
4 changes: 4 additions & 0 deletions deploy/templates/deployment_manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ spec:
{{- if not .Values.registry.tls.enabled }}
- --oci-registry-insecure-skip-verify
{{- end }}
{{- if .Values.manager.image.fullyQualifiedImageName }}
image: "{{ .Values.manager.image.fullyQualifiedImageName }}"
{{- else }}
image: "{{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag | default .Chart.AppVersion }}"
{{- end }}
name: manager
imagePullPolicy: {{ .Values.manager.image.pullPolicy }}
{{- if .Values.registry.tls.enabled }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/templates/deployment_registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ spec:
enableServiceLinks: true
containers:
- name: registry
{{- if .Values.registry.image.fullyQualifiedImageName }}
image: "{{ .Values.registry.image.fullyQualifiedImageName }}"
{{- else }}
image: "{{ .Values.registry.image.repository }}:{{ .Values.registry.image.tag }}"
{{- end }}
imagePullPolicy: {{ .Values.registry.image.pullPolicy }}
ports:
- containerPort: 5000
Expand Down
6 changes: 6 additions & 0 deletions deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ registry:
pullPolicy: IfNotPresent
tag: 3
imagePullSecrets:
# A fully qualified image should be with format [registry_hostname[:port]/][namespace/]repository_name[:tag|@digest]
# If set, it will override the repository and tag above
fullyQualifiedImageName: ""
address: registry.ocm-system.svc.cluster.local:5000
tls:
enabled: true
Expand Down Expand Up @@ -59,6 +62,9 @@ manager:
# Overrides the image tag whose default is the chart appVersion.
tag: ""
imagePullSecrets:
# A fully qualified image should be with format [registry_hostname[:port]/][namespace/]repository_name[:tag|@digest]
# If set, it will override the repository and tag above
fullyQualifiedImageName: ""
volumeMounts:
- mountPath: "/etc/ssl/certs/registry-root.pem"
subPath: "registry-root.pem"
Expand Down
Loading