Created
March 9, 2023 16:58
-
-
Save b44rawat/368c7c7d0f5f21e237f38ad59bd1a8f0 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: test-ingress | |
namespace: default | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
# cert-manager.io/issuer: "cert-manager-staging-test" | |
spec: | |
rules: | |
- host: example.com | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: nginx-service | |
port: | |
number: 80 | |
tls: | |
- hosts: | |
- example.com | |
secretName: cert-manager-staging-test-cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment