Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save martinmares/ba3fae1fb52558fdde6461659aee2641 to your computer and use it in GitHub Desktop.

Select an option

Save martinmares/ba3fae1fb52558fdde6461659aee2641 to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argocd-server-http-ingress
namespace: argocd
annotations:
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argocd-server
port:
name: http
host: argocd.ingress.cloud-app.cz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment