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