Commit 989a4372 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more work (take 7)

parent b3223ef2
......@@ -2,8 +2,8 @@
apiVersion: networking.gke.io/v1beta1
kind: ManagedCertificate
metadata:
name: "{{ $APP_NAMESPACE }}"
name: {{ $APP_NAMESPACE }}
spec:
domains:
- "{{ .Values.SERVERNAME }}"
- {{ .Values.SERVERNAME }}
......@@ -2,20 +2,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ $APP_NAMESPACE }}"
name: {{ $APP_NAMESPACE }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: "{{ .Chart.Name }}"
app: {{ .Chart.Name }}
template:
metadata:
labels:
app: "{{ .Chart.Name }}"
app: {{ .Chart.Name }}
spec:
## CONTAINERS
containers:
- name: "{{ .Chart.Name }}"
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
......
......@@ -2,11 +2,11 @@
apiVersion: v1
kind: Service
metadata:
name: "{{ $APP_NAMESPACE }}"
name: {{ $APP_NAMESPACE }}
spec:
type: NodePort
selector:
app: "{{ .Chart.Name }}"
app: {{ .Chart.Name }}
ports:
- protocol: TCP
port: 80
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment