-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8169 from OpenMined/yash/helm-tls
Separate out setting a cluster's TLS & hostname
- Loading branch information
Showing
6 changed files
with
119 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
28 changes: 28 additions & 0 deletions
28
packages/grid/helm/syft/templates/grid-stack-ingress-tls-ingress.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{{- if .Values.node.settings.tls }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
kubernetes.io/ingress.class: {{ .Values.ingress.ingressClass }} | ||
name: grid-stack-ingress-tls | ||
spec: | ||
defaultBackend: | ||
service: | ||
name: proxy | ||
port: | ||
number: 80 | ||
rules: | ||
- host: {{ .Values.node.settings.hostname }} | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: proxy | ||
port: | ||
number: 80 | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- {{ .Values.node.settings.hostname }} | ||
{{ end }} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: grid-stack-ingress-tls | ||
annotations: | ||
kubernetes.io/ingress.class: "" | ||
spec: | ||
defaultBackend: | ||
service: | ||
name: proxy | ||
port: | ||
number: 80 | ||
rules: | ||
- host: "" | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: proxy | ||
port: | ||
number: 80 | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- "" |