Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: {{ include "pkg.fullname" . }}
- labels:
- app: {{ include "pkg.name" . }}
- chart: {{ include "pkg.chart" . }}
- release: {{ .Release.Name }}
- heritage: {{ .Release.Service }}
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: {{ include "pkg.fullname" . }}
- strategy:
- type: Recreate
- template:
- metadata:
- labels:
- app: {{ include "pkg.fullname" . }}
- spec:
- # so we pull from the gitlab private registry using the secret noted above
- imagePullSecrets:
- - name: gitlab-registry
- containers:
- - name: app
- image: {{ .Values.Image }}:{{ .Values.Tag }}
- ports:
- - containerPort: 8080
Add Comment
Please, Sign In to add comment