You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opensearch-operator: dnsBase stays cluster.local, so securityadmin never reaches its target on the platform domain #4073
Describe the bug
The vendored opensearch-operator chart sets manager.dnsBase: cluster.local (packages/system/opensearch-operator/charts/opensearch-operator/values.yaml:59, passed to the manager as an env var by the deployment template at line 90). packages/system/opensearch-operator/values.yaml does not override it and the package's only patch is leaderElection.diff. The platform runs on networking.clusterDomain, cozy.local by default (packages/core/platform/values.yaml:62).
At the pinned operator 2.8.0 the securityadmin job targets {svc}.{ns}.svc.{dnsBase}, so on every cluster with the default domain it retries a name that never resolves. Users and roles from the security config never apply, whichever CA signed the admin certificate. #2682 fixes the CA side and states this limitation; the DNS side is this issue.
Environment
Cozystack main, 2026-09-04
Any provider with the default cluster domain
To Reproduce
Deploy an opensearch application with the security config enabled
The securityadmin job in the release namespace retries <release>.<ns>.svc.cluster.local
Expected behaviour
The operator resolves in-cluster names on the platform's domain, and users and roles apply.
Actual behaviour
The job never completes.
Additional context
The platform hands the domain to system packages through the cozystack ConfigMap key cluster-domain (packages/core/platform/templates/apps.yaml:140); the operator package should set manager.dnsBase from it. The SANs of the certificates the operator issues use the same base and need the same fix.
Fixed by #4185, merged 2026-09-10. It had no closing keyword, so this stayed open.
The platform now passes networking.clusterDomain to the operator as manager.dnsBase, and two helm-unittest files pin it.
On an existing installation two things stay manual, both are in the release note of #4185. A <release>-securityconfig-update Job already stuck on the old hostname has to be deleted once by hand. Old certificates keep their old SANs; nothing in-cluster verifies them, so they keep working. The operator never reissuing a certificate is #4211.
Activity
fix(opensearch-operator): align DNS_BASE with the platform cluster do…
lexfrei commentedon Sep 17, 2026
Fixed by #4185, merged 2026-09-10. It had no closing keyword, so this stayed open.
The platform now passes
networking.clusterDomainto the operator asmanager.dnsBase, and two helm-unittest files pin it.On an existing installation two things stay manual, both are in the release note of #4185. A
<release>-securityconfig-updateJob already stuck on the old hostname has to be deleted once by hand. Old certificates keep their old SANs; nothing in-cluster verifies them, so they keep working. The operator never reissuing a certificate is #4211.