values.yaml
image:
repoprefix: harbor.com/library
repository: nginx
pullPolicy: IfNotPresent
tag: "0.1.1"
---
{{- $image := printf "%s/%s:%s" .Values.image.repoprefix .Values.image.repository .Values.image.tag }}
apiVersion: apps/v1
kind: Deployment
metadata:
#......
template:
#......
spec:
containers:
- name: {{ .Chart.Name }}
image: {{ $image }}