Skip to content

Resolve prom-label-proxy gateway class and cert from the cluster - #23

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-cfg-syncer
Sep 23, 2026
Merged

ArnobKumarSaha merged 1 commit into
masterfrom
arnob-cfg-syncer

Conversation

@ArnobKumarSaha

@ArnobKumarSaha ArnobKumarSaha commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

prom-label-proxy assumed the GatewayClass and the <ns>-gw-cert secret are named after its own namespace. That's true on a monitoring cluster but not on the ACE hub.

  • New helper prom-label-proxy.gatewayClass: returns the namespace if a GatewayClass with that name exists, otherwise the GatewayClass annotated catalog.appscode.com/is-default-gatewayclass: "true" (found via lookup).
  • Used for gatewayClassName, listener certificateRefs, BackendTLSPolicy caCertificateRefs, and the proxy-tls volume.
  • Monitoring cluster: unchanged (monitoring / monitoring-gw-cert). Hub: ace / ace-gw-cert, which config-syncer copies into monitoring.
  • Offline helm template falls back to the namespace; output is identical to master.

Depends on: $U1


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Signed-off-by: Arnob kumar saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit e24cb2f into master Sep 23, 2026
6 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-cfg-syncer branch September 23, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant