Skip to content
Snippets Groups Projects
service.yaml 393 B
Newer Older
  • Learn to ignore specific revisions
  • apiVersion: v1
    kind: Service
    metadata:
    
      {{- if not .Values.global.onPremEnabled }}
    
      annotations:
        cloud.google.com/neg: '{"ingress": true}'
    
      name: {{ .Values.conf.appName | quote }}
      namespace: {{ .Release.Namespace | quote }}
    
    spec:
      ports:
        - protocol: TCP
          port: 80
          targetPort: 8080
          name: http
      selector:
    
        app: {{ .Values.conf.appName | quote }}