[Umbrella] [Karmada config && certificates] secret and path naming convention #6051
Open
2 tasks done
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Task one. [Karmada Config] secret and path naming convention
Naming convention:
${karmada_instance_name}-${component}-config
karmada-config
/etc/karmada/config
Needed PRs:
Examples:
Karmada config
1. karmada-aggregated-apiserver
2. karmada-controller-manager
3. karmada-scheduler
4. karmada-descheduler
5. karmada-metrics-adapter
6. karmada-search
7. karmada-webhook
8. kube-controller-manager
Task two. [Karmada Certificate] secret and path naming convention
Naming convention:
Server Certificate:
${karmada_instance_name}-${component}-cert
server-cert
/etc/karmada/pki/server
ca.crt
、tls.crt
、tls.key
Client Certificate:
${karmada_instance_name}-${component}-${server}-client-cert
${server}-client-cert
/etc/karmada/pki/${server}-client
ca.crt
、tls.crt
、tls.key
Needed PRs:
Examples:
karmada certificates
1. karmada-etcd
2. karmada-apiserver
3. karmada-aggregated-apiserver
4. karmada-scheduler
5. karmada-descheduler
6. karmada-scheduler-estimator
7. karmada-metrics-adapter
8. karmada-search
9. karmada-webhook
10. kube-controller-manager
11. karmada-interpreter-webhook-example
Legacy issue
karmada-scheduler-config
(following the${component}-config
convention). However, a few users expressed the need to install two Karmada instances within the same namespace, which result in two sets of secrets, preventing us from establishing a fixed secret name.Resolution: in
helm
oroperator
, component name is prefixed with karmada_instance_name, likekarmada-xxx-scheduler
, so its secret name is defined as${karmada_instance_name}-${component}-config
cert_rotation_controller
ofkarmada-agent
has hard-coded karmada config secret name, so if we rename the secret name ofkarmada-agent
, it would affect the upgrade ofkarmada-agent
.karmada/pkg/controllers/certificate/cert_rotation_controller.go
Lines 59 to 60 in ce41488
Resolution: this time the
karmada-agent
is not involved, only the control-plane components is changed.The text was updated successfully, but these errors were encountered: