Skip to content

Instantly share code, notes, and snippets.

@martincalvert
Created November 28, 2017 05:36
Show Gist options
  • Save martincalvert/8e32a71993275aef25ad012d4402798d to your computer and use it in GitHub Desktop.
Save martincalvert/8e32a71993275aef25ad012d4402798d to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.ruby.app.name }}-origin
labels:
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
app: {{ .Values.ruby.app.name }}
tier: {{ .Values.ruby.app.name }}-api
spec:
ports:
- port: 80
targetPort: 3000
name: http
selector:
app: {{ .Values.rubyApp.name }}
tier: {{ .Values.ruby.app.name }}-api
type: ClusterIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment