@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.20 .0
6+ controller-gen.kubebuilder.io/version : v0.21 .0
77 name : resourcesetinputproviders.fluxcd.controlplane.io
88spec :
99 group : fluxcd.controlplane.io
@@ -216,6 +216,9 @@ spec:
216216 - AzureDevOpsBranch
217217 - AzureDevOpsTag
218218 - AzureDevOpsPullRequest
219+ - AWSCodeCommitBranch
220+ - AWSCodeCommitTag
221+ - AWSCodeCommitPullRequest
219222 - GiteaBranch
220223 - GiteaTag
221224 - GiteaPullRequest
@@ -244,8 +247,12 @@ spec:
244247 is a Git provider
245248 rule : ' !self.type.startsWith('' Git'' ) || self.url.startsWith('' http'' )'
246249 - message : spec.url must start with 'http://' or 'https://' when spec.type
247- is a Git provider
248- rule : ' !self.type.startsWith('' AzureDevOps'' ) || self.url.startsWith('' http'' )'
250+ is an AzureDevOps provider
251+ rule : ' !self.type.startsWith('' AzureDevOps'' ) || self.url.startsWith('' http://'' )
252+ || self.url.startsWith('' https://'' )'
253+ - message : spec.url must start with 'https://' when spec.type is a AWSCodeCommit
254+ provider
255+ rule : ' !self.type.startsWith('' AWSCodeCommit'' ) || self.url.startsWith('' https://'' )'
249256 - message : spec.url must start with 'oci://' when spec.type is an OCI
250257 provider
251258 rule : ' !self.type.endsWith('' ArtifactTag'' ) || self.url.startsWith('' oci'' )'
@@ -260,17 +267,19 @@ spec:
260267 rule : self.type != 'ExternalService' || !self.url.startsWith('http://')
261268 || (has(self.insecure) && self.insecure)
262269 - message : cannot specify spec.serviceAccountName when spec.type is not
263- one of AzureDevOps* or *ArtifactTag
270+ one of AzureDevOps*, AWSCodeCommit* or *ArtifactTag
264271 rule : ' !has(self.serviceAccountName) || self.type.startsWith('' AzureDevOps'' )
265- || self.type.endsWith('' ArtifactTag'' )'
272+ || self.type.startsWith( '' AWSCodeCommit '' ) || self.type. endsWith('' ArtifactTag'' )'
266273 - message : cannot specify spec.certSecretRef when spec.type is one of
267- Static, AzureDevOps*, ACRArtifactTag, ECRArtifactTag or GARArtifactTag
274+ Static, AzureDevOps*, AWSCodeCommit*, ACRArtifactTag, ECRArtifactTag
275+ or GARArtifactTag
268276 rule : ' !has(self.certSecretRef) || !(self.url == '' Static'' || self.type.startsWith('' AzureDevOps'' )
269- || (self.type.endsWith('' ArtifactTag'' ) && self.type != '' OCIArtifactTag'' ))'
270- - message : cannot specify spec.secretRef when spec.type is one of Static,
271- ACRArtifactTag, ECRArtifactTag or GARArtifactTag
272- rule : ' !has(self.secretRef) || !(self.url == '' Static'' || (self.type.endsWith('' ArtifactTag'' )
277+ || self.type.startsWith('' AWSCodeCommit'' ) || (self.type.endsWith('' ArtifactTag'' )
273278 && self.type != '' OCIArtifactTag'' ))'
279+ - message : cannot specify spec.secretRef when spec.type is one of Static,
280+ AWSCodeCommit*, ACRArtifactTag, ECRArtifactTag or GARArtifactTag
281+ rule : ' !has(self.secretRef) || !(self.url == '' Static'' || self.type.startsWith('' AWSCodeCommit'' )
282+ || (self.type.endsWith('' ArtifactTag'' ) && self.type != '' OCIArtifactTag'' ))'
274283 status :
275284 description : ResourceSetInputProviderStatus defines the observed state
276285 of ResourceSetInputProvider.
0 commit comments