wiki/structured/assets/challenges.suse-cloud-native-fundamentals-scholarship-program/helm-nginx/templates/service.yaml
Gabriel Arazas 74fc53bb6a Update SUSE Cloud Native Computing course
Hoorah! Finally made it through the course! On the other hand, I also
updated the `concat-asset-folder` function to accept multiple arguments
representing the directory hierarchy instead of a separator.
2021-07-07 16:34:13 +08:00

18 lines
334 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app: nginx
tag: alpine
name: nginx-alpine
namespace: {{ .Values.namespace.name }}
spec:
ports:
- port: {{ .Values.service.port }}
protocol: TCP
targetPort: {{ .Values.service.port }}
selector:
app: nginx
tag: alpine
type: {{ .Values.service.type }}