Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Last active June 26, 2020 11:20
Show Gist options
  • Save velotiotech/97b8452188a1b8a6873c416863d71973 to your computer and use it in GitHub Desktop.
Save velotiotech/97b8452188a1b8a6873c416863d71973 to your computer and use it in GitHub Desktop.
velotiotech:~/work/mysql$ cat templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: {{ include "mysql.fullname" . }}
spec:
ports:
- port: {{ .Values.service.port }}
selector:
app: {{ include "mysql.name" . }}
clusterIP: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment