Skip to content
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

Post acceptance use apiserver cert reloader #190

Closed

Conversation

ibihim
Copy link
Collaborator

@ibihim ibihim commented Aug 17, 2022

What

Use k8s tls reloader.

Why

The mantra of the project is to use k8s logic where ever possible.

Ref

#168

Signed-off-by: Krzysztof Ostrowski <kostrows@redhat.com>
Signed-off-by: Krzysztof Ostrowski <kostrows@redhat.com>
@@ -62,7 +62,6 @@ Usage of _output/kube-rbac-proxy:
--tls-cipher-suites strings Comma-separated list of cipher suites for the server. Values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants). If omitted, the default Go cipher suites will be used
--tls-min-version string Minimum TLS version supported. Value must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants. (default "VersionTLS12")
--tls-private-key-file string File containing the default x509 private key matching --tls-cert-file.
--tls-reload-interval duration The interval at which to watch for TLS certificate changes, by default set to 1 minute. (default 1m0s)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot remove cli flags without prior deprecation.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we cannot remove cli flags without prior deprecation.

Keep the flag so invocations don't fail. Once you switch to upstream kube fsnotify, you can disconnect the flag from the variable and print a warning that the reload is driven by fsnotify, not by polling.

@ibihim ibihim changed the title Post acceptance use apiserver cert reloader [v1] Post acceptance use apiserver cert reloader Aug 18, 2022
@ibihim
Copy link
Collaborator Author

ibihim commented Aug 26, 2022

Will be used to create v1 branch.

@ibihim ibihim closed this Aug 26, 2022
@ibihim ibihim added the v1 label Aug 26, 2022
@ibihim ibihim changed the title [v1] Post acceptance use apiserver cert reloader Post acceptance use apiserver cert reloader Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants