GetFixedInheritedLabels gets the labels that should be inherited by all resources according the cluster spec
()
| 679 | // GetFixedInheritedLabels gets the labels that should be |
| 680 | // inherited by all resources according the cluster spec |
| 681 | func (cluster *Cluster) GetFixedInheritedLabels() map[string]string { |
| 682 | if cluster.Spec.InheritedMetadata == nil || cluster.Spec.InheritedMetadata.Labels == nil { |
| 683 | return nil |
| 684 | } |
| 685 | return cluster.Spec.InheritedMetadata.Labels |
| 686 | } |
| 687 | |
| 688 | // GetReplicationSecretName get the name of the secret for the replication user |
| 689 | func (cluster *Cluster) GetReplicationSecretName() string { |
no outgoing calls
no test coverage detected