-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUBMARINE-1131. Remove deprecated API for k8s 1.25
### What is this PR for? `PodSecurityPolicy` will be removed in k8s 1.25 https://kubernetes.io/docs/reference/using-api/deprecation-guide/#psp-v125 So that we need to remove the `PodSecurityPolicy` support in 1.25 and try to use other ways to handle `runAsUser`. https://kubernetes.io/docs/tasks/configure-pod-container/migrate-from-psp/ https://kubernetes.io/docs/concepts/security/pod-security-admission/ ### What type of PR is it? Improvement ### Todos * [x] - Add k8s 1.25 in git workflow * [x] - Change `podSecurityPolicy.create` default value to false * [x] - Change`PodSecurityPolicy` to `Pod Security Admission` (PCA) in 1.25 ### What is the Jira issue? https://issues.apache.org/jira/browse/SUBMARINE-1131 ### How should this be tested? CI test ### Screenshots (if appropriate) ### Questions: * Do the license files need updating? No * Are there breaking changes for older versions? No * Does this need new documentation? No Author: cdmikechen <cdmikechen@apache.org> Signed-off-by: cdmikechen <cdmikechen@apache.org> Closes #1071 from cdmikechen/SUBMARINE-1131 and squashes the following commits: a9ed15d [cdmikechen] support PSA 2556d34 [cdmikechen] update master workflow k8s to 1.25.3 f993013 [cdmikechen] set kind to 1.25.3 0ed0131 [cdmikechen] set psp to false by default f85c3b9 [cdmikechen] update k8s version to 1.25
- Loading branch information
1 parent
5d21ad5
commit b0d96b3
Showing
6 changed files
with
64 additions
and
39 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
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