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
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -103,9 +103,9 @@ spec:
103
103
chartName:
104
104
description: |-
105
105
ChartName specifies the name of the external-dns chart.
106
-
Depending on the source, this can also be a relative path within the repository.
107
-
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.
108
-
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.
109
109
type: string
110
110
git:
111
111
description: |-
@@ -639,10 +639,11 @@ spec:
639
639
- interval
640
640
- url
641
641
type: object
642
-
required:
643
-
- chartName
644
642
type: object
645
643
x-kubernetes-validations:
644
+
- message: chartName must be set if git is used as source
Copy file name to clipboardExpand all lines: api/dns/v1alpha1/config_types.go
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,13 @@ type SecretsToCopy struct {
49
49
// Exactly one of 'HelmRepository', 'GitRepository' or 'OCIRepository' must be set.
50
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"
52
53
typeExternalDNSSourcestruct {
53
54
// ChartName specifies the name of the external-dns chart.
54
-
// Depending on the source, this can also be a relative path within the repository.
55
-
// 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.
56
-
// +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