GetClientCASecretName get the name of the secret containing the CA of the cluster
()
| 655 | // GetClientCASecretName get the name of the secret containing the CA |
| 656 | // of the cluster |
| 657 | func (cluster *Cluster) GetClientCASecretName() string { |
| 658 | if cluster.Spec.Certificates != nil && cluster.Spec.Certificates.ClientCASecret != "" { |
| 659 | return cluster.Spec.Certificates.ClientCASecret |
| 660 | } |
| 661 | return fmt.Sprintf("%v%v", cluster.Name, ClientCaSecretSuffix) |
| 662 | } |
| 663 | |
| 664 | // GetFixedInheritedAnnotations gets the annotations that should be |
| 665 | // inherited by all resources according to the cluster spec and the operator version |
no outgoing calls
no test coverage detected