You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/crds/manifests/dns.openmcp.cloud_dnsserviceconfigs.yaml
+96-42Lines changed: 96 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,8 @@ spec:
67
67
- <environment> will be replaced with the environment name of the operator.
68
68
- <cluster.name> will be replaced with the name of the reconciled Cluster.
69
69
- <cluster.namespace> will be replaced with the namespace of the reconciled Cluster.
70
-
type: string
70
+
type: object
71
+
x-kubernetes-preserve-unknown-fields: true
71
72
name:
72
73
description: |-
73
74
Name is an optional name.
@@ -102,9 +103,9 @@ spec:
102
103
chartName:
103
104
description: |-
104
105
ChartName specifies the name of the external-dns chart.
105
-
Depending on the source, this can also be a relative path within the repository.
106
-
When using a source that needs a version (helm or oci), append the version to the chart name using '@', e.g. '[email protected]' or omit for latest version.
107
-
minLength: 1
106
+
Can be omitted for oci sources, required for git and helm sources.
107
+
For git sources, this is the path within the git repository to the chart.
108
+
For helm sources, append the version to the chart name using '@', e.g. '[email protected]' or omit for latest version.
108
109
type: string
109
110
git:
110
111
description: |-
@@ -638,10 +639,11 @@ spec:
638
639
- interval
639
640
- url
640
641
type: object
641
-
required:
642
-
- chartName
643
642
type: object
644
643
x-kubernetes-validations:
644
+
- message: chartName must be set if git is used as source
// SecretsToCopy specifies an optional list of secrets which will be copied from the provider namespace into the namespaces of the reconciled Clusters.
20
-
// This can, for example, be used to distribute credentials for the registry holding the external-dns helm chart.
19
+
// SecretsToCopy specifies secrets that should be copied to either the cluster's namespace on the platform cluster,
20
+
// or the namespace on the target cluster where the helm chart will be installed into.
// ExternalDNSSource defines the source of the external-dns helm chart in form of a Flux source.
38
49
// Exactly one of 'HelmRepository', 'GitRepository' or 'OCIRepository' must be set.
39
50
// If 'copyAuthSecret' is set, the referenced source secret is copied into the namespace where the Flux resources are created with the specified target name.
// +kubebuilder:validation:XValidation:rule="(has(self.git) || has(self.helm)) ? (has(self.chartName) && size(self.chartName) > 0) : true", message="chartName must be set if git is used as source"
41
53
typeExternalDNSSourcestruct {
42
54
// ChartName specifies the name of the external-dns chart.
43
-
// Depending on the source, this can also be a relative path within the repository.
44
-
// When using a source that needs a version (helm or oci), append the version to the chart name using '@', e.g. '[email protected]' or omit for latest version.
45
-
// +kubebuilder:validation:MinLength=1
55
+
// Can be omitted for oci sources, required for git and helm sources.
56
+
// For git sources, this is the path within the git repository to the chart.
57
+
// For helm sources, append the version to the chart name using '@', e.g. '[email protected]' or omit for latest version.
0 commit comments