Created
December 2, 2019 09:07
-
-
Save ronamosa/7161f600b54c26aaed0f5faf780f9768 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: {{ include "www-demo.fullname" . }} | |
labels: | |
{{ include "www-demo.labels" . | indent 4 }} | |
annotations: | |
getambassador.io/config: | | |
--- | |
apiVersion: ambassador/v1 | |
kind: Mapping | |
name: www_mapping | |
prefix: / | |
service: {{ include "www-demo.fullname" . }}.application:80 | |
spec: | |
type: {{ .Values.service.type }} | |
ports: | |
- port: {{ .Values.service.port }} | |
targetPort: http | |
protocol: TCP | |
name: http | |
selector: | |
app.kubernetes.io/name: {{ include "www-demo.name" . }} | |
app.kubernetes.io/instance: {{ .Release.Name }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment