Skip to content

Bug 1813894: Add flag to enable service ca injection into token secrets #606

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ spec:
description: spec is the specification of the desired behavior of the Kubernetes
Controller Manager
properties:
enableDeprecatedAndRemovedServiceCAKeyUntilNextRelease_ThisMakesClusterImpossibleToUpgrade:
description: enableDeprecatedAndRemovedServiceCAKeyUntilNextRelease_ThisMakesClusterImpossibleToUpgrade
enables service ca injection into all legacy service account token
secrets. Defaults to false. If set to true, will make it impossible
to upgrade the cluster.
type: boolean
failedRevisionLimit:
description: failedRevisionLimit is the number of failed static pod
installer revisions to keep on disk and in the api -1 = unlimited,
Expand Down
6 changes: 6 additions & 0 deletions operator/v1/types_kubecontrollermanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ type KubeControllerManager struct {

type KubeControllerManagerSpec struct {
StaticPodOperatorSpec `json:",inline"`

// enableDeprecatedAndRemovedServiceCAKeyUntilNextRelease_ThisMakesClusterImpossibleToUpgrade
// enables service ca injection into all legacy service account token secrets. Defaults to
// false. If set to true, will make it impossible to upgrade the cluster.
// +optional
EnableDeprecatedAndRemovedServiceCAKeyUntilNextRelease_ThisMakesClusterImpossibleToUpgrade bool `json:"enableDeprecatedAndRemovedServiceCAKeyUntilNextRelease_ThisMakesClusterImpossibleToUpgrade"`
}

type KubeControllerManagerStatus struct {
Expand Down
8 changes: 8 additions & 0 deletions operator/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.