Skip to content

Instantly share code, notes, and snippets.

@Toflar
Created October 23, 2018 15:38
Show Gist options
  • Save Toflar/425ba4b11714ea8666b49f3b402243b1 to your computer and use it in GitHub Desktop.
Save Toflar/425ba4b11714ea8666b49f3b402243b1 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.web.name }}
labels:
my-super-app: {{ .Values.web.name }}
spec:
ports:
- name: http
port: 80
targetPort: 80
selector:
my-super-app: {{ .Values.web.name }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment