Created
October 23, 2018 15:38
-
-
Save Toflar/b877c534f6bdf7ac4ee4b17898056092 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: {{ .Values.web.name }} | |
labels: | |
my-super-app: {{ .Values.web.name }} | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
my-super-app: {{ .Values.web.name }} | |
template: | |
metadata: | |
labels: | |
my-super-app: {{ .Values.web.name }} | |
spec: | |
imagePullSecrets: | |
- name: gitlab-registry | |
containers: | |
- | |
image: {{ .Values.web.image }} | |
imagePullPolicy: Always | |
name: {{ .Values.web.name }} | |
ports: | |
- | |
containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment