-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get ServiceAccount tokens with TokenRequest API (#951)
* Get ServiceAccount tokens with TokenRequest API This is a necessary change to support Kubernetes 1.24+ See: https://itnext.io/big-change-in-k8s-1-24-about-serviceaccounts-and-their-secrets-4b909a4af4e0 * Force upgrade test to use prior KIND version. Even though we want to test against 1.24.x the prior release doesn't work on this. We can undo this, once we have an official release that supports 1.24 Fixes [#923]
- Loading branch information
Showing
32 changed files
with
6,278 additions
and
456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--advertise-address=127.0.0.1 | ||
--etcd-servers={{ if .EtcdURL }}{{ .EtcdURL.String }}{{ end }} | ||
--cert-dir={{ .CertDir }} | ||
--insecure-port={{ if .URL }}{{ .URL.Port }}{{ end }} | ||
--insecure-bind-address={{ if .URL }}{{ .URL.Hostname }}{{ end }} | ||
--secure-port={{ if .SecurePort }}{{ .SecurePort }}{{ end }} | ||
--disable-admission-plugins=ServiceAccount,NamespaceLifecycle | ||
--service-cluster-ip-range=10.0.0.0/24 | ||
--advertise-address={{ if .URL }}{{ .URL.Hostname }}{{ end }} | ||
--service-account-issuer=https://kubernetes.default.svc.cluster.local | ||
--service-account-key-file={{ .CertDir }}/apiserver.crt | ||
--service-account-signing-key-file={{ .CertDir }}/apiserver.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.