Difference between revisions of "Nginx-ingress"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Commands == | == Commands == | ||
Line 21: | Line 13: | ||
chart = "oci://ghcr.io/nginxinc/charts/nginx-ingress" | chart = "oci://ghcr.io/nginxinc/charts/nginx-ingress" | ||
} | } | ||
+ | |||
+ | apiVersion: v1 | ||
+ | [[kind: ConfigMap]] | ||
+ | metadata: | ||
+ | name: nginx-config | ||
+ | namespace: nginx-ingress | ||
+ | data: | ||
+ | proxy-protocol: "True" | ||
+ | real-ip-header: "proxy_protocol" | ||
+ | set-real-ip-from: "0.0.0.0/0" | ||
== See also == | == See also == |
Revision as of 11:53, 12 February 2024
Commands
helm install nginx kubectl get svc kubectl describe configmap my-ingress-nginx-controller
helm install ingress-nginx (kubernetes.github.io) helm install nginx-ingress, helm install my-release oci://ghcr.io/nginxinc/charts/nginx-ingress --version 1.1.2
resource "helm_release" "nginx-ingress" { name = "nginx-ingress" chart = "oci://ghcr.io/nginxinc/charts/nginx-ingress" }
apiVersion: v1 kind: ConfigMap metadata: name: nginx-config namespace: nginx-ingress data: proxy-protocol: "True" real-ip-header: "proxy_protocol" set-real-ip-from: "0.0.0.0/0"
See also
Advertising: