--- charts-original/values.yaml +++ charts/values.yaml @@ -21,15 +21,11 @@ image: ## Keep false as default for now! chroot: false - registry: registry.k8s.io - image: ingress-nginx/controller + repository: rancher/nginx-ingress-controller ## for backwards compatibility consider setting the full image url via the repository value below ## use *either* current default registry/image or repository format or installing chart by providing the values.yaml will fail ## repository: - tag: "v1.10.5" - digest: sha256:c84d11b1f7bd14ebbf49918a7f0dc01b31c0c6e757e0129520ea93453096315c - digestChroot: sha256:030a43bdd5f0212a7e135cc4da76b15a6706ef65a6824eb4cc401f87a81c2987 - pullPolicy: IfNotPresent + tag: "v1.10.5-hardened3" runAsNonRoot: true # www-data -> uid 101 runAsUser: 101 @@ -40,7 +36,7 @@ # -- Use an existing PSP instead of creating one existingPsp: "" # -- Configures the controller container name - containerName: controller + containerName: rke2-ingress-nginx-controller # -- Configures the ports that the nginx-controller listens on containerPort: http: 80 @@ -70,7 +66,7 @@ # -- Optionally change this to ClusterFirstWithHostNet in case you have 'hostNetwork: true'. # By default, while using host network, name resolution uses the host's DNS. If you wish nginx-controller # to keep resolving names inside the k8s network, use ClusterFirstWithHostNet. - dnsPolicy: ClusterFirst + dnsPolicy: ClusterFirstWithHostNet # -- Bare-metal considerations via the host network https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#via-the-host-network # Ingress status was blank because there is no Service exposing the Ingress-Nginx Controller in a configuration using the host network, the default --publish-service flag used in standard cloud setups does not apply reportNodeInternalIp: false @@ -96,7 +92,7 @@ ## Disabled by default hostPort: # -- Enable 'hostPort' or not - enabled: false + enabled: true ports: # -- 'hostPort' http port http: 80 @@ -154,7 +150,7 @@ # node or nodes where an ingress controller pod is running. publishService: # -- Enable 'publishService' or not - enabled: true + enabled: false # -- Allows overriding of the publish service to bind to # Must be / pathOverride: "" @@ -201,7 +197,7 @@ # name: secret-resource # -- Use a `DaemonSet` or `Deployment` - kind: Deployment + kind: DaemonSet # -- Annotations to be added to the controller Deployment or DaemonSet ## annotations: {} @@ -453,7 +449,7 @@ configMapKey: "" service: # -- Enable controller services or not. This does not influence the creation of either the admission webhook or the metrics service. - enabled: true + enabled: false external: # -- Enable the external controller service or not. Useful for internal-only deployments. enabled: true @@ -748,6 +744,7 @@ loadBalancerSourceRanges: [] servicePort: 443 type: ClusterIP + ipFamilyPolicy: "PreferDualStack" createSecretJob: name: create # -- Security context for secret creation containers @@ -785,13 +782,11 @@ patch: enabled: true image: - registry: registry.k8s.io - image: ingress-nginx/kube-webhook-certgen + repository: rancher/mirrored-ingress-nginx-kube-webhook-certgen ## for backwards compatibility consider setting the full image url via the repository value below ## use *either* current default registry/image or repository format or installing chart by providing the values.yaml will fail ## repository: tag: v1.4.4 - digest: sha256:a9f03b34a3cbfbb26d103a14046ab2c5130a80c3d69d526ff8063d2b37b9fd3f pullPolicy: IfNotPresent # -- Provide a priority class name to the webhook patching job ## @@ -928,12 +923,11 @@ enabled: false name: defaultbackend image: - registry: registry.k8s.io - image: defaultbackend-amd64 + repository: rancher/nginx-ingress-controller-defaultbackend ## for backwards compatibility consider setting the full image url via the repository value below ## use *either* current default registry/image or repository format or installing chart by providing the values.yaml will fail ## repository: - tag: "1.5" + tag: "1.5-rancher1" pullPolicy: IfNotPresent runAsNonRoot: true # nobody user -> uid 65534 @@ -1103,3 +1097,7 @@ # This can be generated with: `openssl dhparam 4096 2> /dev/null | base64` ## Ref: https://github.com/kubernetes/ingress-nginx/tree/main/docs/examples/customization/ssl-dh-param dhParam: "" + +global: + systemDefaultRegistry: "" + systemDefaultIngressClass: ""