diff --git a/packs/clojure/charts/templates/ingress.yaml b/packs/clojure/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/clojure/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/clojure/charts/values.yaml b/packs/clojure/charts/values.yaml index 19c6ac1..b64b78d 100644 --- a/packs/clojure/charts/values.yaml +++ b/packs/clojure/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 1000m memory: 128Mi +ingress: + enabled: false diff --git a/packs/csharp/charts/templates/ingress.yaml b/packs/csharp/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/csharp/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/csharp/charts/values.yaml b/packs/csharp/charts/values.yaml index 386994b..e3c6e97 100644 --- a/packs/csharp/charts/values.yaml +++ b/packs/csharp/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 250m memory: 256Mi +ingress: + enabled: false diff --git a/packs/go/charts/templates/ingress.yaml b/packs/go/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/go/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/go/charts/values.yaml b/packs/go/charts/values.yaml index a20546a..62e2a6b 100644 --- a/packs/go/charts/values.yaml +++ b/packs/go/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/gradle/charts/templates/ingress.yaml b/packs/gradle/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/gradle/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/gradle/charts/values.yaml b/packs/gradle/charts/values.yaml index 18a6790..eb9a40a 100644 --- a/packs/gradle/charts/values.yaml +++ b/packs/gradle/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/java/charts/templates/ingress.yaml b/packs/java/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/java/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/java/charts/values.yaml b/packs/java/charts/values.yaml index 4848ce0..9daf936 100644 --- a/packs/java/charts/values.yaml +++ b/packs/java/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/javascript/charts/templates/ingress.yaml b/packs/javascript/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/javascript/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/javascript/charts/values.yaml b/packs/javascript/charts/values.yaml index d9911d1..377f908 100644 --- a/packs/javascript/charts/values.yaml +++ b/packs/javascript/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/php/charts/templates/ingress.yaml b/packs/php/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/php/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/php/charts/values.yaml b/packs/php/charts/values.yaml index a0d5cfd..b52f3c3 100644 --- a/packs/php/charts/values.yaml +++ b/packs/php/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/python/charts/templates/ingress.yaml b/packs/python/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/python/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/python/charts/values.yaml b/packs/python/charts/values.yaml index b2ae0e9..6338582 100644 --- a/packs/python/charts/values.yaml +++ b/packs/python/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/ruby/charts/templates/ingress.yaml b/packs/ruby/charts/templates/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/ruby/charts/templates/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/ruby/charts/values.yaml b/packs/ruby/charts/values.yaml index 5d42034..5d685a4 100644 --- a/packs/ruby/charts/values.yaml +++ b/packs/ruby/charts/values.yaml @@ -16,3 +16,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false diff --git a/packs/swift/chart/ingress.yaml b/packs/swift/chart/ingress.yaml new file mode 100644 index 0000000..974e6f6 --- /dev/null +++ b/packs/swift/chart/ingress.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ template "fullname" . }} + labels: + chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}" +spec: + rules: + - host: {{ .Release.Name }}.{{ .Values.basedomain }} + http: + paths: + - path: / + backend: + serviceName: {{ template "fullname" . }} + servicePort: {{ .Values.service.externalPort }} +{{- end -}} diff --git a/packs/swift/chart/values.yaml b/packs/swift/chart/values.yaml index d454d3a..2f06cb1 100644 --- a/packs/swift/chart/values.yaml +++ b/packs/swift/chart/values.yaml @@ -18,3 +18,5 @@ resources: requests: cpu: 100m memory: 128Mi +ingress: + enabled: false