Created
May 13, 2021 15:26
-
-
Save dciangot/4c2d2a1506da2752d3ed984bf16ae743 to your computer and use it in GitHub Desktop.
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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: ingress-myservice | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
# uncomment this to use cert-manager self signed certs | |
# cert-manager.io/cluter-issuer: "self-issuer" | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: <my servicename here> | |
port: | |
number: 9000 | |
host: mioservizio.<public ip>.myip.cloud.infn.it | |
tls: | |
- hosts: | |
- mioservizio.<public ip>.myip.cloud.infn.it | |
secretName: myservice-tls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment