Created
December 17, 2021 08:24
-
-
Save mrsimonemms/480e88c149f6e725c727cc1f20b21474 to your computer and use it in GitHub Desktop.
Gitpod installer ingress example
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
# Replace $DOMAIN with your own domain | |
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: gitpod | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/ssl-passthrough: "true" | |
spec: | |
tls: | |
- hosts: | |
- "$DOMAIN" | |
- "*.$DOMAIN" | |
- "*.ws.$DOMAIN" | |
secretName: https-certificates | |
rules: | |
- host: "$DOMAIN" | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: proxy | |
port: | |
number: 443 | |
- host: "*.$DOMAIN" | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: proxy | |
port: | |
number: 443 | |
- host: "*.ws.$DOMAIN" | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: proxy | |
port: | |
number: 443 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment