File tree 2 files changed +39
-0
lines changed
2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 73
73
- --max-requests-inflight={{ .Values.apiServer.maxRequestsInflight }}
74
74
- --max-mutating-requests-inflight={{ .Values.apiServer.maxMutatingRequestsInflight }}
75
75
- --tls-min-version=VersionTLS13
76
+ {{- with .Values.apiServer.oidc }}
77
+ {{- if .caFile }}
78
+ - --oidc-ca-file={{ .caFile }}
79
+ {{- end }}
80
+ {{- if .clientId }}
81
+ - --oidc-client-id={{ .clientId }}
82
+ {{- end }}
83
+ {{- if .groupsClaim }}
84
+ - --oidc-groups-claim={{ .groupsClaim }}
85
+ {{- end }}
86
+ {{- if .groupsPrefix }}
87
+ - --oidc-groups-prefix={{ .groupsPrefix }}
88
+ {{- end }}
89
+ {{- if .issuerUrl }}
90
+ - --oidc-issuer-url={{ .issuerUrl }}
91
+ {{- end }}
92
+ {{- if .requiredClaim }}
93
+ - --oidc-required-claim={{ .requiredClaim }}
94
+ {{- end }}
95
+ {{- if .signingAlgs }}
96
+ - --oidc-signing-algs={{ .signingAlgs }}
97
+ {{- end }}
98
+ {{- if .usernameClaim }}
99
+ - --oidc-username-claim={{ .usernameClaim }}
100
+ {{- end }}
101
+ {{- if .usernamePrefix }}
102
+ - --oidc-username-prefix={{ .usernamePrefix }}
103
+ {{- end }}
104
+ {{- end }}
76
105
ports :
77
106
- name : http
78
107
containerPort : 5443
Original file line number Diff line number Diff line change @@ -443,6 +443,16 @@ apiServer:
443
443
podDisruptionBudget : *podDisruptionBudget
444
444
# # @param apiServer.priorityClassName the priority class name for the karmada-apiserver
445
445
priorityClassName : " system-node-critical"
446
+ oidc :
447
+ caFile : " "
448
+ clientId : " "
449
+ groupsClaim : " "
450
+ groupsPrefix : " "
451
+ issuerUrl : " "
452
+ requiredClaim : " " # comma separated 'key=value' pairs
453
+ signingAlgs : " "
454
+ usernameClaim : " "
455
+ usernamePrefix : " "
446
456
447
457
# # karmada aggregated apiserver config
448
458
aggregatedApiServer :
You can’t perform that action at this time.
0 commit comments