-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Introduce Dedicated Istio Gateway Secret #2004
base: main
Are you sure you want to change the base?
feat: Introduce Dedicated Istio Gateway Secret #2004
Conversation
config/watcher/gateway.yaml
Outdated
@@ -20,5 +20,5 @@ spec: | |||
number: 443 | |||
protocol: HTTPS | |||
tls: | |||
credentialName: klm-watcher | |||
credentialName: istio-gateway-secret |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you shortly explain why we have to change the credentailName here? also in this PR, you name it gateway-secret, and we previously have issue regarding alignment of resource name, #1721 (comment), please also have a reference to that decision for this renaming.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it make sense to have a short meeting to sync the decision, please don't hesitate bring it to team, you can sync this with @Tomasz-Smelcerz-SAP first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would klm-istio-gateway
be more fitting then? Or klm-gatway
?
I added the istio prefix since the last PR to make it more specific
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would vote for klm-istio-gateway
, it's an istio resource.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll use that for now, but let's discuss it briefly after a daily.
@@ -201,12 +204,21 @@ func setupManager(flagVar *flags.FlagVar, cacheOptions cache.Options, scheme *ma | |||
go cleanupStoredVersions(flagVar.DropCrdStoredVersionMap, mgr, setupLog) | |||
go scheduleMetricsCleanup(kymaMetrics, flagVar.MetricsCleanupIntervalInMinutes, mgr, setupLog) | |||
|
|||
setupIstioGatewaySecretRotation(config, kcpClient, setupLog) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer put the goruntine declaration here so that aligns with above method and has a clear view that all of them are go rountine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was the first idea but a linter that check function length had a problem with that. should I move all go routines to a separate function?
Closes #1890