Skip to content

Commit

Permalink
Merge pull request #3 from Netcracker/helm-refactoring
Browse files Browse the repository at this point in the history
Helm refactoring
  • Loading branch information
asatt authored Jan 29, 2025
2 parents e9a17f4 + 7981550 commit 52de58f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions charts/diag-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ spec:
secretName: tls-assets-nc-diag-agent
{{- end }}
{{- end }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: {{ .Values.SERVICE_NAME }}
image: '{{ .Values.IMAGE_REPOSITORY }}:{{ .Values.TAG }}'
Expand Down
7 changes: 4 additions & 3 deletions charts/diag-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ ARTIFACT_DESCRIPTOR_VERSION: ''

# -- Image coordinates, next two values will be joined as:
# IMAGE_REPOSITORY:TAG
IMAGE_REPOSITORY: ''
TAG: ''

IMAGE_REPOSITORY: ghcr.io/netcracker/diag-proxy
TAG: main
# --- The name of the secret in Kubernetes that provides access to the private Docker registry
imagePullSecrets: []
### Deployment parameters

# --- Number of diag-proxy replicas (pods per deployment)
Expand Down

0 comments on commit 52de58f

Please sign in to comment.