-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
operator: fix oidc connector max age #48316
Conversation
.PHONY: echo-kubebuilder-assets | ||
echo-kubebuilder-assets: | ||
@echo KUBEBUILDER_ASSETS=$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path) | ||
|
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.
Don't mind this, it's just a helper to get the current kubebuilder assets dir so we can configure the env var properly in the IDE.
This pull request is automatically being deployed by Amplify Hosting (learn more). |
@hugoShaka See the table below for backport results.
|
Fixe #48165
This PR deals with the inconsistencies between the CRD and the go types by defining custom marhsaller/unmarshaller on the CR go types.
Tests have also been modified to set the max_age. Without the fix, tests are failing, now they should pass.
Changelog: fix a Teleport Kubernetes Operator bug that happened for OIDCConnector resources with non-nil
max_age
.