1
0
Fork 0

Add ingress status update functionality to support various deployment modes

- Introduced `ingressStatus` configuration in Helm values to enable status updates and customize deployment modes (auto, daemonset, nodeport, clusterip).
- Implemented logic in the processor to detect deployment mode, retrieve ingress addresses, and update ingress status dynamically.
- Updated Kubernetes manifests to grant required permissions for `ingresses/status` operations and pass necessary environment variables for configuration.
- Adjusted Helm templates and associated Kubernetes examples to reflect the new ingress status update capability.
This commit is contained in:
Joao Gilberto Magalhaes 2025-12-15 21:11:02 -05:00
parent c8f8320cfe
commit 542fab1607
8 changed files with 312 additions and 37 deletions

View file

@ -17,7 +17,7 @@ rules:
resources:
# - configmaps
# - endpoints
# - nodes
- nodes
- pods
- services
- namespaces
@ -31,19 +31,18 @@ rules:
- "networking.k8s.io"
resources:
- ingresses
# - ingresses/status
- ingresses/status
- ingressclasses
verbs:
- get
- list
- watch
# - apiGroups:
# - "extensions"
# - "networking.k8s.io"
# resources:
# - ingresses/status
# verbs:
# - update
- apiGroups:
- "networking.k8s.io"
resources:
- ingresses/status
verbs:
- patch
- apiGroups:
- ""
resources: