Skip to content

Commit

Permalink
hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
vincetse committed Feb 5, 2024
1 parent dfcd9d2 commit 840e1cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion incubating/hello-world/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: "1.0"
description: A "Hello, World" Helm chart that supports amd64, arm32v6, and arm64v8
name: hello-world
version: 0.2.1-r6
version: 0.2.1-r7
5 changes: 3 additions & 2 deletions incubating/hello-world/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
{{- $fullName := include "helloworld.fullname" . -}}
{{- $ingressPaths := .Values.ingress.paths -}}
{{- $ingressPathType := .Values.ingress.pathType -}}
{{- $namespace := .Values.namespace | default "default" -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ .Values.namespace | default "default" }}
namespace: {{ $namespace }}
labels:
app.kubernetes.io/name: {{ include "helloworld.name" . }}
helm.sh/chart: {{ include "helloworld.chart" . }}
Expand Down Expand Up @@ -37,7 +38,7 @@ spec:
path: {{ . }}
backend:
service:
name: {{ $fullName }}
name: {{ $fullName }}.{{ $namespace }}
port:
number: 8080
{{- end }}
Expand Down

0 comments on commit 840e1cc

Please sign in to comment.