···11+---
22+# This manifest was generated by flux. DO NOT EDIT.
33+# Flux Version: v2.6.4
44+# Components: source-controller,kustomize-controller,helm-controller,notification-controller
55+apiVersion: v1
66+kind: Namespace
77+metadata:
88+ labels:
99+ app.kubernetes.io/instance: flux-system
1010+ app.kubernetes.io/part-of: flux
1111+ app.kubernetes.io/version: v2.6.4
1212+ pod-security.kubernetes.io/warn: restricted
1313+ pod-security.kubernetes.io/warn-version: latest
1414+ name: flux-system
1515+---
1616+apiVersion: networking.k8s.io/v1
1717+kind: NetworkPolicy
1818+metadata:
1919+ labels:
2020+ app.kubernetes.io/instance: flux-system
2121+ app.kubernetes.io/part-of: flux
2222+ app.kubernetes.io/version: v2.6.4
2323+ name: allow-egress
2424+ namespace: flux-system
2525+spec:
2626+ egress:
2727+ - {}
2828+ ingress:
2929+ - from:
3030+ - podSelector: {}
3131+ podSelector: {}
3232+ policyTypes:
3333+ - Ingress
3434+ - Egress
3535+---
3636+apiVersion: networking.k8s.io/v1
3737+kind: NetworkPolicy
3838+metadata:
3939+ labels:
4040+ app.kubernetes.io/instance: flux-system
4141+ app.kubernetes.io/part-of: flux
4242+ app.kubernetes.io/version: v2.6.4
4343+ name: allow-scraping
4444+ namespace: flux-system
4545+spec:
4646+ ingress:
4747+ - from:
4848+ - namespaceSelector: {}
4949+ ports:
5050+ - port: 8080
5151+ protocol: TCP
5252+ podSelector: {}
5353+ policyTypes:
5454+ - Ingress
5555+---
5656+apiVersion: networking.k8s.io/v1
5757+kind: NetworkPolicy
5858+metadata:
5959+ labels:
6060+ app.kubernetes.io/instance: flux-system
6161+ app.kubernetes.io/part-of: flux
6262+ app.kubernetes.io/version: v2.6.4
6363+ name: allow-webhooks
6464+ namespace: flux-system
6565+spec:
6666+ ingress:
6767+ - from:
6868+ - namespaceSelector: {}
6969+ podSelector:
7070+ matchLabels:
7171+ app: notification-controller
7272+ policyTypes:
7373+ - Ingress
7474+---
7575+apiVersion: v1
7676+kind: ResourceQuota
7777+metadata:
7878+ labels:
7979+ app.kubernetes.io/instance: flux-system
8080+ app.kubernetes.io/part-of: flux
8181+ app.kubernetes.io/version: v2.6.4
8282+ name: critical-pods-flux-system
8383+ namespace: flux-system
8484+spec:
8585+ hard:
8686+ pods: "1000"
8787+ scopeSelector:
8888+ matchExpressions:
8989+ - operator: In
9090+ scopeName: PriorityClass
9191+ values:
9292+ - system-node-critical
9393+ - system-cluster-critical
9494+---
9595+apiVersion: rbac.authorization.k8s.io/v1
9696+kind: ClusterRole
9797+metadata:
9898+ labels:
9999+ app.kubernetes.io/instance: flux-system
100100+ app.kubernetes.io/part-of: flux
101101+ app.kubernetes.io/version: v2.6.4
102102+ name: crd-controller-flux-system
103103+rules:
104104+- apiGroups:
105105+ - source.toolkit.fluxcd.io
106106+ resources:
107107+ - '*'
108108+ verbs:
109109+ - '*'
110110+- apiGroups:
111111+ - kustomize.toolkit.fluxcd.io
112112+ resources:
113113+ - '*'
114114+ verbs:
115115+ - '*'
116116+- apiGroups:
117117+ - helm.toolkit.fluxcd.io
118118+ resources:
119119+ - '*'
120120+ verbs:
121121+ - '*'
122122+- apiGroups:
123123+ - notification.toolkit.fluxcd.io
124124+ resources:
125125+ - '*'
126126+ verbs:
127127+ - '*'
128128+- apiGroups:
129129+ - image.toolkit.fluxcd.io
130130+ resources:
131131+ - '*'
132132+ verbs:
133133+ - '*'
134134+- apiGroups:
135135+ - ""
136136+ resources:
137137+ - namespaces
138138+ - secrets
139139+ - configmaps
140140+ - serviceaccounts
141141+ verbs:
142142+ - get
143143+ - list
144144+ - watch
145145+- apiGroups:
146146+ - ""
147147+ resources:
148148+ - events
149149+ verbs:
150150+ - create
151151+ - patch
152152+- apiGroups:
153153+ - ""
154154+ resources:
155155+ - configmaps
156156+ verbs:
157157+ - get
158158+ - list
159159+ - watch
160160+ - create
161161+ - update
162162+ - patch
163163+ - delete
164164+- apiGroups:
165165+ - ""
166166+ resources:
167167+ - configmaps/status
168168+ verbs:
169169+ - get
170170+ - update
171171+ - patch
172172+- apiGroups:
173173+ - coordination.k8s.io
174174+ resources:
175175+ - leases
176176+ verbs:
177177+ - get
178178+ - list
179179+ - watch
180180+ - create
181181+ - update
182182+ - patch
183183+ - delete
184184+- apiGroups:
185185+ - ""
186186+ resources:
187187+ - serviceaccounts/token
188188+ verbs:
189189+ - create
190190+- nonResourceURLs:
191191+ - /livez/ping
192192+ verbs:
193193+ - head
194194+---
195195+apiVersion: rbac.authorization.k8s.io/v1
196196+kind: ClusterRole
197197+metadata:
198198+ labels:
199199+ app.kubernetes.io/instance: flux-system
200200+ app.kubernetes.io/part-of: flux
201201+ app.kubernetes.io/version: v2.6.4
202202+ rbac.authorization.k8s.io/aggregate-to-admin: "true"
203203+ rbac.authorization.k8s.io/aggregate-to-edit: "true"
204204+ name: flux-edit-flux-system
205205+rules:
206206+- apiGroups:
207207+ - notification.toolkit.fluxcd.io
208208+ - source.toolkit.fluxcd.io
209209+ - helm.toolkit.fluxcd.io
210210+ - image.toolkit.fluxcd.io
211211+ - kustomize.toolkit.fluxcd.io
212212+ resources:
213213+ - '*'
214214+ verbs:
215215+ - create
216216+ - delete
217217+ - deletecollection
218218+ - patch
219219+ - update
220220+---
221221+apiVersion: rbac.authorization.k8s.io/v1
222222+kind: ClusterRole
223223+metadata:
224224+ labels:
225225+ app.kubernetes.io/instance: flux-system
226226+ app.kubernetes.io/part-of: flux
227227+ app.kubernetes.io/version: v2.6.4
228228+ rbac.authorization.k8s.io/aggregate-to-admin: "true"
229229+ rbac.authorization.k8s.io/aggregate-to-edit: "true"
230230+ rbac.authorization.k8s.io/aggregate-to-view: "true"
231231+ name: flux-view-flux-system
232232+rules:
233233+- apiGroups:
234234+ - notification.toolkit.fluxcd.io
235235+ - source.toolkit.fluxcd.io
236236+ - helm.toolkit.fluxcd.io
237237+ - image.toolkit.fluxcd.io
238238+ - kustomize.toolkit.fluxcd.io
239239+ resources:
240240+ - '*'
241241+ verbs:
242242+ - get
243243+ - list
244244+ - watch
245245+---
246246+apiVersion: rbac.authorization.k8s.io/v1
247247+kind: ClusterRoleBinding
248248+metadata:
249249+ labels:
250250+ app.kubernetes.io/instance: flux-system
251251+ app.kubernetes.io/part-of: flux
252252+ app.kubernetes.io/version: v2.6.4
253253+ name: cluster-reconciler-flux-system
254254+roleRef:
255255+ apiGroup: rbac.authorization.k8s.io
256256+ kind: ClusterRole
257257+ name: cluster-admin
258258+subjects:
259259+- kind: ServiceAccount
260260+ name: kustomize-controller
261261+ namespace: flux-system
262262+- kind: ServiceAccount
263263+ name: helm-controller
264264+ namespace: flux-system
265265+---
266266+apiVersion: rbac.authorization.k8s.io/v1
267267+kind: ClusterRoleBinding
268268+metadata:
269269+ labels:
270270+ app.kubernetes.io/instance: flux-system
271271+ app.kubernetes.io/part-of: flux
272272+ app.kubernetes.io/version: v2.6.4
273273+ name: crd-controller-flux-system
274274+roleRef:
275275+ apiGroup: rbac.authorization.k8s.io
276276+ kind: ClusterRole
277277+ name: crd-controller-flux-system
278278+subjects:
279279+- kind: ServiceAccount
280280+ name: kustomize-controller
281281+ namespace: flux-system
282282+- kind: ServiceAccount
283283+ name: helm-controller
284284+ namespace: flux-system
285285+- kind: ServiceAccount
286286+ name: source-controller
287287+ namespace: flux-system
288288+- kind: ServiceAccount
289289+ name: notification-controller
290290+ namespace: flux-system
291291+- kind: ServiceAccount
292292+ name: image-reflector-controller
293293+ namespace: flux-system
294294+- kind: ServiceAccount
295295+ name: image-automation-controller
296296+ namespace: flux-system
297297+---
298298+apiVersion: apiextensions.k8s.io/v1
299299+kind: CustomResourceDefinition
300300+metadata:
301301+ annotations:
302302+ controller-gen.kubebuilder.io/version: v0.16.1
303303+ labels:
304304+ app.kubernetes.io/component: source-controller
305305+ app.kubernetes.io/instance: flux-system
306306+ app.kubernetes.io/part-of: flux
307307+ app.kubernetes.io/version: v2.6.4
308308+ name: buckets.source.toolkit.fluxcd.io
309309+spec:
310310+ group: source.toolkit.fluxcd.io
311311+ names:
312312+ kind: Bucket
313313+ listKind: BucketList
314314+ plural: buckets
315315+ singular: bucket
316316+ scope: Namespaced
317317+ versions:
318318+ - additionalPrinterColumns:
319319+ - jsonPath: .spec.endpoint
320320+ name: Endpoint
321321+ type: string
322322+ - jsonPath: .metadata.creationTimestamp
323323+ name: Age
324324+ type: date
325325+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
326326+ name: Ready
327327+ type: string
328328+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
329329+ name: Status
330330+ type: string
331331+ name: v1
332332+ schema:
333333+ openAPIV3Schema:
334334+ description: Bucket is the Schema for the buckets API.
335335+ properties:
336336+ apiVersion:
337337+ description: |-
338338+ APIVersion defines the versioned schema of this representation of an object.
339339+ Servers should convert recognized schemas to the latest internal value, and
340340+ may reject unrecognized values.
341341+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
342342+ type: string
343343+ kind:
344344+ description: |-
345345+ Kind is a string value representing the REST resource this object represents.
346346+ Servers may infer this from the endpoint the client submits requests to.
347347+ Cannot be updated.
348348+ In CamelCase.
349349+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
350350+ type: string
351351+ metadata:
352352+ type: object
353353+ spec:
354354+ description: |-
355355+ BucketSpec specifies the required configuration to produce an Artifact for
356356+ an object storage bucket.
357357+ properties:
358358+ bucketName:
359359+ description: BucketName is the name of the object storage bucket.
360360+ type: string
361361+ certSecretRef:
362362+ description: |-
363363+ CertSecretRef can be given the name of a Secret containing
364364+ either or both of
365365+366366+ - a PEM-encoded client certificate (`tls.crt`) and private
367367+ key (`tls.key`);
368368+ - a PEM-encoded CA certificate (`ca.crt`)
369369+370370+ and whichever are supplied, will be used for connecting to the
371371+ bucket. The client cert and key are useful if you are
372372+ authenticating with a certificate; the CA cert is useful if
373373+ you are using a self-signed server certificate. The Secret must
374374+ be of type `Opaque` or `kubernetes.io/tls`.
375375+376376+ This field is only supported for the `generic` provider.
377377+ properties:
378378+ name:
379379+ description: Name of the referent.
380380+ type: string
381381+ required:
382382+ - name
383383+ type: object
384384+ endpoint:
385385+ description: Endpoint is the object storage address the BucketName
386386+ is located at.
387387+ type: string
388388+ ignore:
389389+ description: |-
390390+ Ignore overrides the set of excluded patterns in the .sourceignore format
391391+ (which is the same as .gitignore). If not provided, a default will be used,
392392+ consult the documentation for your version to find out what those are.
393393+ type: string
394394+ insecure:
395395+ description: Insecure allows connecting to a non-TLS HTTP Endpoint.
396396+ type: boolean
397397+ interval:
398398+ description: |-
399399+ Interval at which the Bucket Endpoint is checked for updates.
400400+ This interval is approximate and may be subject to jitter to ensure
401401+ efficient use of resources.
402402+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
403403+ type: string
404404+ prefix:
405405+ description: Prefix to use for server-side filtering of files in the
406406+ Bucket.
407407+ type: string
408408+ provider:
409409+ default: generic
410410+ description: |-
411411+ Provider of the object storage bucket.
412412+ Defaults to 'generic', which expects an S3 (API) compatible object
413413+ storage.
414414+ enum:
415415+ - generic
416416+ - aws
417417+ - gcp
418418+ - azure
419419+ type: string
420420+ proxySecretRef:
421421+ description: |-
422422+ ProxySecretRef specifies the Secret containing the proxy configuration
423423+ to use while communicating with the Bucket server.
424424+ properties:
425425+ name:
426426+ description: Name of the referent.
427427+ type: string
428428+ required:
429429+ - name
430430+ type: object
431431+ region:
432432+ description: Region of the Endpoint where the BucketName is located
433433+ in.
434434+ type: string
435435+ secretRef:
436436+ description: |-
437437+ SecretRef specifies the Secret containing authentication credentials
438438+ for the Bucket.
439439+ properties:
440440+ name:
441441+ description: Name of the referent.
442442+ type: string
443443+ required:
444444+ - name
445445+ type: object
446446+ sts:
447447+ description: |-
448448+ STS specifies the required configuration to use a Security Token
449449+ Service for fetching temporary credentials to authenticate in a
450450+ Bucket provider.
451451+452452+ This field is only supported for the `aws` and `generic` providers.
453453+ properties:
454454+ certSecretRef:
455455+ description: |-
456456+ CertSecretRef can be given the name of a Secret containing
457457+ either or both of
458458+459459+ - a PEM-encoded client certificate (`tls.crt`) and private
460460+ key (`tls.key`);
461461+ - a PEM-encoded CA certificate (`ca.crt`)
462462+463463+ and whichever are supplied, will be used for connecting to the
464464+ STS endpoint. The client cert and key are useful if you are
465465+ authenticating with a certificate; the CA cert is useful if
466466+ you are using a self-signed server certificate. The Secret must
467467+ be of type `Opaque` or `kubernetes.io/tls`.
468468+469469+ This field is only supported for the `ldap` provider.
470470+ properties:
471471+ name:
472472+ description: Name of the referent.
473473+ type: string
474474+ required:
475475+ - name
476476+ type: object
477477+ endpoint:
478478+ description: |-
479479+ Endpoint is the HTTP/S endpoint of the Security Token Service from
480480+ where temporary credentials will be fetched.
481481+ pattern: ^(http|https)://.*$
482482+ type: string
483483+ provider:
484484+ description: Provider of the Security Token Service.
485485+ enum:
486486+ - aws
487487+ - ldap
488488+ type: string
489489+ secretRef:
490490+ description: |-
491491+ SecretRef specifies the Secret containing authentication credentials
492492+ for the STS endpoint. This Secret must contain the fields `username`
493493+ and `password` and is supported only for the `ldap` provider.
494494+ properties:
495495+ name:
496496+ description: Name of the referent.
497497+ type: string
498498+ required:
499499+ - name
500500+ type: object
501501+ required:
502502+ - endpoint
503503+ - provider
504504+ type: object
505505+ suspend:
506506+ description: |-
507507+ Suspend tells the controller to suspend the reconciliation of this
508508+ Bucket.
509509+ type: boolean
510510+ timeout:
511511+ default: 60s
512512+ description: Timeout for fetch operations, defaults to 60s.
513513+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
514514+ type: string
515515+ required:
516516+ - bucketName
517517+ - endpoint
518518+ - interval
519519+ type: object
520520+ x-kubernetes-validations:
521521+ - message: STS configuration is only supported for the 'aws' and 'generic'
522522+ Bucket providers
523523+ rule: self.provider == 'aws' || self.provider == 'generic' || !has(self.sts)
524524+ - message: '''aws'' is the only supported STS provider for the ''aws''
525525+ Bucket provider'
526526+ rule: self.provider != 'aws' || !has(self.sts) || self.sts.provider
527527+ == 'aws'
528528+ - message: '''ldap'' is the only supported STS provider for the ''generic''
529529+ Bucket provider'
530530+ rule: self.provider != 'generic' || !has(self.sts) || self.sts.provider
531531+ == 'ldap'
532532+ - message: spec.sts.secretRef is not required for the 'aws' STS provider
533533+ rule: '!has(self.sts) || self.sts.provider != ''aws'' || !has(self.sts.secretRef)'
534534+ - message: spec.sts.certSecretRef is not required for the 'aws' STS provider
535535+ rule: '!has(self.sts) || self.sts.provider != ''aws'' || !has(self.sts.certSecretRef)'
536536+ status:
537537+ default:
538538+ observedGeneration: -1
539539+ description: BucketStatus records the observed state of a Bucket.
540540+ properties:
541541+ artifact:
542542+ description: Artifact represents the last successful Bucket reconciliation.
543543+ properties:
544544+ digest:
545545+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
546546+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
547547+ type: string
548548+ lastUpdateTime:
549549+ description: |-
550550+ LastUpdateTime is the timestamp corresponding to the last update of the
551551+ Artifact.
552552+ format: date-time
553553+ type: string
554554+ metadata:
555555+ additionalProperties:
556556+ type: string
557557+ description: Metadata holds upstream information such as OCI annotations.
558558+ type: object
559559+ path:
560560+ description: |-
561561+ Path is the relative file path of the Artifact. It can be used to locate
562562+ the file in the root of the Artifact storage on the local file system of
563563+ the controller managing the Source.
564564+ type: string
565565+ revision:
566566+ description: |-
567567+ Revision is a human-readable identifier traceable in the origin source
568568+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
569569+ type: string
570570+ size:
571571+ description: Size is the number of bytes in the file.
572572+ format: int64
573573+ type: integer
574574+ url:
575575+ description: |-
576576+ URL is the HTTP address of the Artifact as exposed by the controller
577577+ managing the Source. It can be used to retrieve the Artifact for
578578+ consumption, e.g. by another controller applying the Artifact contents.
579579+ type: string
580580+ required:
581581+ - lastUpdateTime
582582+ - path
583583+ - revision
584584+ - url
585585+ type: object
586586+ conditions:
587587+ description: Conditions holds the conditions for the Bucket.
588588+ items:
589589+ description: Condition contains details for one aspect of the current
590590+ state of this API Resource.
591591+ properties:
592592+ lastTransitionTime:
593593+ description: |-
594594+ lastTransitionTime is the last time the condition transitioned from one status to another.
595595+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
596596+ format: date-time
597597+ type: string
598598+ message:
599599+ description: |-
600600+ message is a human readable message indicating details about the transition.
601601+ This may be an empty string.
602602+ maxLength: 32768
603603+ type: string
604604+ observedGeneration:
605605+ description: |-
606606+ observedGeneration represents the .metadata.generation that the condition was set based upon.
607607+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
608608+ with respect to the current state of the instance.
609609+ format: int64
610610+ minimum: 0
611611+ type: integer
612612+ reason:
613613+ description: |-
614614+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
615615+ Producers of specific condition types may define expected values and meanings for this field,
616616+ and whether the values are considered a guaranteed API.
617617+ The value should be a CamelCase string.
618618+ This field may not be empty.
619619+ maxLength: 1024
620620+ minLength: 1
621621+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
622622+ type: string
623623+ status:
624624+ description: status of the condition, one of True, False, Unknown.
625625+ enum:
626626+ - "True"
627627+ - "False"
628628+ - Unknown
629629+ type: string
630630+ type:
631631+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
632632+ maxLength: 316
633633+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
634634+ type: string
635635+ required:
636636+ - lastTransitionTime
637637+ - message
638638+ - reason
639639+ - status
640640+ - type
641641+ type: object
642642+ type: array
643643+ lastHandledReconcileAt:
644644+ description: |-
645645+ LastHandledReconcileAt holds the value of the most recent
646646+ reconcile request value, so a change of the annotation value
647647+ can be detected.
648648+ type: string
649649+ observedGeneration:
650650+ description: ObservedGeneration is the last observed generation of
651651+ the Bucket object.
652652+ format: int64
653653+ type: integer
654654+ observedIgnore:
655655+ description: |-
656656+ ObservedIgnore is the observed exclusion patterns used for constructing
657657+ the source artifact.
658658+ type: string
659659+ url:
660660+ description: |-
661661+ URL is the dynamic fetch link for the latest Artifact.
662662+ It is provided on a "best effort" basis, and using the precise
663663+ BucketStatus.Artifact data is recommended.
664664+ type: string
665665+ type: object
666666+ type: object
667667+ served: true
668668+ storage: true
669669+ subresources:
670670+ status: {}
671671+ - additionalPrinterColumns:
672672+ - jsonPath: .spec.endpoint
673673+ name: Endpoint
674674+ type: string
675675+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
676676+ name: Ready
677677+ type: string
678678+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
679679+ name: Status
680680+ type: string
681681+ - jsonPath: .metadata.creationTimestamp
682682+ name: Age
683683+ type: date
684684+ deprecated: true
685685+ deprecationWarning: v1beta1 Bucket is deprecated, upgrade to v1
686686+ name: v1beta1
687687+ schema:
688688+ openAPIV3Schema:
689689+ description: Bucket is the Schema for the buckets API
690690+ properties:
691691+ apiVersion:
692692+ description: |-
693693+ APIVersion defines the versioned schema of this representation of an object.
694694+ Servers should convert recognized schemas to the latest internal value, and
695695+ may reject unrecognized values.
696696+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
697697+ type: string
698698+ kind:
699699+ description: |-
700700+ Kind is a string value representing the REST resource this object represents.
701701+ Servers may infer this from the endpoint the client submits requests to.
702702+ Cannot be updated.
703703+ In CamelCase.
704704+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
705705+ type: string
706706+ metadata:
707707+ type: object
708708+ spec:
709709+ description: BucketSpec defines the desired state of an S3 compatible
710710+ bucket
711711+ properties:
712712+ accessFrom:
713713+ description: AccessFrom defines an Access Control List for allowing
714714+ cross-namespace references to this object.
715715+ properties:
716716+ namespaceSelectors:
717717+ description: |-
718718+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
719719+ Items in this list are evaluated using a logical OR operation.
720720+ items:
721721+ description: |-
722722+ NamespaceSelector selects the namespaces to which this ACL applies.
723723+ An empty map of MatchLabels matches all namespaces in a cluster.
724724+ properties:
725725+ matchLabels:
726726+ additionalProperties:
727727+ type: string
728728+ description: |-
729729+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
730730+ map is equivalent to an element of matchExpressions, whose key field is "key", the
731731+ operator is "In", and the values array contains only "value". The requirements are ANDed.
732732+ type: object
733733+ type: object
734734+ type: array
735735+ required:
736736+ - namespaceSelectors
737737+ type: object
738738+ bucketName:
739739+ description: The bucket name.
740740+ type: string
741741+ endpoint:
742742+ description: The bucket endpoint address.
743743+ type: string
744744+ ignore:
745745+ description: |-
746746+ Ignore overrides the set of excluded patterns in the .sourceignore format
747747+ (which is the same as .gitignore). If not provided, a default will be used,
748748+ consult the documentation for your version to find out what those are.
749749+ type: string
750750+ insecure:
751751+ description: Insecure allows connecting to a non-TLS S3 HTTP endpoint.
752752+ type: boolean
753753+ interval:
754754+ description: The interval at which to check for bucket updates.
755755+ type: string
756756+ provider:
757757+ default: generic
758758+ description: The S3 compatible storage provider name, default ('generic').
759759+ enum:
760760+ - generic
761761+ - aws
762762+ - gcp
763763+ type: string
764764+ region:
765765+ description: The bucket region.
766766+ type: string
767767+ secretRef:
768768+ description: |-
769769+ The name of the secret containing authentication credentials
770770+ for the Bucket.
771771+ properties:
772772+ name:
773773+ description: Name of the referent.
774774+ type: string
775775+ required:
776776+ - name
777777+ type: object
778778+ suspend:
779779+ description: This flag tells the controller to suspend the reconciliation
780780+ of this source.
781781+ type: boolean
782782+ timeout:
783783+ default: 60s
784784+ description: The timeout for download operations, defaults to 60s.
785785+ type: string
786786+ required:
787787+ - bucketName
788788+ - endpoint
789789+ - interval
790790+ type: object
791791+ status:
792792+ default:
793793+ observedGeneration: -1
794794+ description: BucketStatus defines the observed state of a bucket
795795+ properties:
796796+ artifact:
797797+ description: Artifact represents the output of the last successful
798798+ Bucket sync.
799799+ properties:
800800+ checksum:
801801+ description: Checksum is the SHA256 checksum of the artifact.
802802+ type: string
803803+ lastUpdateTime:
804804+ description: |-
805805+ LastUpdateTime is the timestamp corresponding to the last update of this
806806+ artifact.
807807+ format: date-time
808808+ type: string
809809+ path:
810810+ description: Path is the relative file path of this artifact.
811811+ type: string
812812+ revision:
813813+ description: |-
814814+ Revision is a human readable identifier traceable in the origin source
815815+ system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
816816+ chart version, etc.
817817+ type: string
818818+ url:
819819+ description: URL is the HTTP address of this artifact.
820820+ type: string
821821+ required:
822822+ - lastUpdateTime
823823+ - path
824824+ - url
825825+ type: object
826826+ conditions:
827827+ description: Conditions holds the conditions for the Bucket.
828828+ items:
829829+ description: Condition contains details for one aspect of the current
830830+ state of this API Resource.
831831+ properties:
832832+ lastTransitionTime:
833833+ description: |-
834834+ lastTransitionTime is the last time the condition transitioned from one status to another.
835835+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
836836+ format: date-time
837837+ type: string
838838+ message:
839839+ description: |-
840840+ message is a human readable message indicating details about the transition.
841841+ This may be an empty string.
842842+ maxLength: 32768
843843+ type: string
844844+ observedGeneration:
845845+ description: |-
846846+ observedGeneration represents the .metadata.generation that the condition was set based upon.
847847+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
848848+ with respect to the current state of the instance.
849849+ format: int64
850850+ minimum: 0
851851+ type: integer
852852+ reason:
853853+ description: |-
854854+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
855855+ Producers of specific condition types may define expected values and meanings for this field,
856856+ and whether the values are considered a guaranteed API.
857857+ The value should be a CamelCase string.
858858+ This field may not be empty.
859859+ maxLength: 1024
860860+ minLength: 1
861861+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
862862+ type: string
863863+ status:
864864+ description: status of the condition, one of True, False, Unknown.
865865+ enum:
866866+ - "True"
867867+ - "False"
868868+ - Unknown
869869+ type: string
870870+ type:
871871+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
872872+ maxLength: 316
873873+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
874874+ type: string
875875+ required:
876876+ - lastTransitionTime
877877+ - message
878878+ - reason
879879+ - status
880880+ - type
881881+ type: object
882882+ type: array
883883+ lastHandledReconcileAt:
884884+ description: |-
885885+ LastHandledReconcileAt holds the value of the most recent
886886+ reconcile request value, so a change of the annotation value
887887+ can be detected.
888888+ type: string
889889+ observedGeneration:
890890+ description: ObservedGeneration is the last observed generation.
891891+ format: int64
892892+ type: integer
893893+ url:
894894+ description: URL is the download link for the artifact output of the
895895+ last Bucket sync.
896896+ type: string
897897+ type: object
898898+ type: object
899899+ served: true
900900+ storage: false
901901+ subresources:
902902+ status: {}
903903+ - additionalPrinterColumns:
904904+ - jsonPath: .spec.endpoint
905905+ name: Endpoint
906906+ type: string
907907+ - jsonPath: .metadata.creationTimestamp
908908+ name: Age
909909+ type: date
910910+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
911911+ name: Ready
912912+ type: string
913913+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
914914+ name: Status
915915+ type: string
916916+ deprecated: true
917917+ deprecationWarning: v1beta2 Bucket is deprecated, upgrade to v1
918918+ name: v1beta2
919919+ schema:
920920+ openAPIV3Schema:
921921+ description: Bucket is the Schema for the buckets API.
922922+ properties:
923923+ apiVersion:
924924+ description: |-
925925+ APIVersion defines the versioned schema of this representation of an object.
926926+ Servers should convert recognized schemas to the latest internal value, and
927927+ may reject unrecognized values.
928928+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
929929+ type: string
930930+ kind:
931931+ description: |-
932932+ Kind is a string value representing the REST resource this object represents.
933933+ Servers may infer this from the endpoint the client submits requests to.
934934+ Cannot be updated.
935935+ In CamelCase.
936936+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
937937+ type: string
938938+ metadata:
939939+ type: object
940940+ spec:
941941+ description: |-
942942+ BucketSpec specifies the required configuration to produce an Artifact for
943943+ an object storage bucket.
944944+ properties:
945945+ accessFrom:
946946+ description: |-
947947+ AccessFrom specifies an Access Control List for allowing cross-namespace
948948+ references to this object.
949949+ NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
950950+ properties:
951951+ namespaceSelectors:
952952+ description: |-
953953+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
954954+ Items in this list are evaluated using a logical OR operation.
955955+ items:
956956+ description: |-
957957+ NamespaceSelector selects the namespaces to which this ACL applies.
958958+ An empty map of MatchLabels matches all namespaces in a cluster.
959959+ properties:
960960+ matchLabels:
961961+ additionalProperties:
962962+ type: string
963963+ description: |-
964964+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
965965+ map is equivalent to an element of matchExpressions, whose key field is "key", the
966966+ operator is "In", and the values array contains only "value". The requirements are ANDed.
967967+ type: object
968968+ type: object
969969+ type: array
970970+ required:
971971+ - namespaceSelectors
972972+ type: object
973973+ bucketName:
974974+ description: BucketName is the name of the object storage bucket.
975975+ type: string
976976+ certSecretRef:
977977+ description: |-
978978+ CertSecretRef can be given the name of a Secret containing
979979+ either or both of
980980+981981+ - a PEM-encoded client certificate (`tls.crt`) and private
982982+ key (`tls.key`);
983983+ - a PEM-encoded CA certificate (`ca.crt`)
984984+985985+ and whichever are supplied, will be used for connecting to the
986986+ bucket. The client cert and key are useful if you are
987987+ authenticating with a certificate; the CA cert is useful if
988988+ you are using a self-signed server certificate. The Secret must
989989+ be of type `Opaque` or `kubernetes.io/tls`.
990990+991991+ This field is only supported for the `generic` provider.
992992+ properties:
993993+ name:
994994+ description: Name of the referent.
995995+ type: string
996996+ required:
997997+ - name
998998+ type: object
999999+ endpoint:
10001000+ description: Endpoint is the object storage address the BucketName
10011001+ is located at.
10021002+ type: string
10031003+ ignore:
10041004+ description: |-
10051005+ Ignore overrides the set of excluded patterns in the .sourceignore format
10061006+ (which is the same as .gitignore). If not provided, a default will be used,
10071007+ consult the documentation for your version to find out what those are.
10081008+ type: string
10091009+ insecure:
10101010+ description: Insecure allows connecting to a non-TLS HTTP Endpoint.
10111011+ type: boolean
10121012+ interval:
10131013+ description: |-
10141014+ Interval at which the Bucket Endpoint is checked for updates.
10151015+ This interval is approximate and may be subject to jitter to ensure
10161016+ efficient use of resources.
10171017+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
10181018+ type: string
10191019+ prefix:
10201020+ description: Prefix to use for server-side filtering of files in the
10211021+ Bucket.
10221022+ type: string
10231023+ provider:
10241024+ default: generic
10251025+ description: |-
10261026+ Provider of the object storage bucket.
10271027+ Defaults to 'generic', which expects an S3 (API) compatible object
10281028+ storage.
10291029+ enum:
10301030+ - generic
10311031+ - aws
10321032+ - gcp
10331033+ - azure
10341034+ type: string
10351035+ proxySecretRef:
10361036+ description: |-
10371037+ ProxySecretRef specifies the Secret containing the proxy configuration
10381038+ to use while communicating with the Bucket server.
10391039+ properties:
10401040+ name:
10411041+ description: Name of the referent.
10421042+ type: string
10431043+ required:
10441044+ - name
10451045+ type: object
10461046+ region:
10471047+ description: Region of the Endpoint where the BucketName is located
10481048+ in.
10491049+ type: string
10501050+ secretRef:
10511051+ description: |-
10521052+ SecretRef specifies the Secret containing authentication credentials
10531053+ for the Bucket.
10541054+ properties:
10551055+ name:
10561056+ description: Name of the referent.
10571057+ type: string
10581058+ required:
10591059+ - name
10601060+ type: object
10611061+ sts:
10621062+ description: |-
10631063+ STS specifies the required configuration to use a Security Token
10641064+ Service for fetching temporary credentials to authenticate in a
10651065+ Bucket provider.
10661066+10671067+ This field is only supported for the `aws` and `generic` providers.
10681068+ properties:
10691069+ certSecretRef:
10701070+ description: |-
10711071+ CertSecretRef can be given the name of a Secret containing
10721072+ either or both of
10731073+10741074+ - a PEM-encoded client certificate (`tls.crt`) and private
10751075+ key (`tls.key`);
10761076+ - a PEM-encoded CA certificate (`ca.crt`)
10771077+10781078+ and whichever are supplied, will be used for connecting to the
10791079+ STS endpoint. The client cert and key are useful if you are
10801080+ authenticating with a certificate; the CA cert is useful if
10811081+ you are using a self-signed server certificate. The Secret must
10821082+ be of type `Opaque` or `kubernetes.io/tls`.
10831083+10841084+ This field is only supported for the `ldap` provider.
10851085+ properties:
10861086+ name:
10871087+ description: Name of the referent.
10881088+ type: string
10891089+ required:
10901090+ - name
10911091+ type: object
10921092+ endpoint:
10931093+ description: |-
10941094+ Endpoint is the HTTP/S endpoint of the Security Token Service from
10951095+ where temporary credentials will be fetched.
10961096+ pattern: ^(http|https)://.*$
10971097+ type: string
10981098+ provider:
10991099+ description: Provider of the Security Token Service.
11001100+ enum:
11011101+ - aws
11021102+ - ldap
11031103+ type: string
11041104+ secretRef:
11051105+ description: |-
11061106+ SecretRef specifies the Secret containing authentication credentials
11071107+ for the STS endpoint. This Secret must contain the fields `username`
11081108+ and `password` and is supported only for the `ldap` provider.
11091109+ properties:
11101110+ name:
11111111+ description: Name of the referent.
11121112+ type: string
11131113+ required:
11141114+ - name
11151115+ type: object
11161116+ required:
11171117+ - endpoint
11181118+ - provider
11191119+ type: object
11201120+ suspend:
11211121+ description: |-
11221122+ Suspend tells the controller to suspend the reconciliation of this
11231123+ Bucket.
11241124+ type: boolean
11251125+ timeout:
11261126+ default: 60s
11271127+ description: Timeout for fetch operations, defaults to 60s.
11281128+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
11291129+ type: string
11301130+ required:
11311131+ - bucketName
11321132+ - endpoint
11331133+ - interval
11341134+ type: object
11351135+ x-kubernetes-validations:
11361136+ - message: STS configuration is only supported for the 'aws' and 'generic'
11371137+ Bucket providers
11381138+ rule: self.provider == 'aws' || self.provider == 'generic' || !has(self.sts)
11391139+ - message: '''aws'' is the only supported STS provider for the ''aws''
11401140+ Bucket provider'
11411141+ rule: self.provider != 'aws' || !has(self.sts) || self.sts.provider
11421142+ == 'aws'
11431143+ - message: '''ldap'' is the only supported STS provider for the ''generic''
11441144+ Bucket provider'
11451145+ rule: self.provider != 'generic' || !has(self.sts) || self.sts.provider
11461146+ == 'ldap'
11471147+ - message: spec.sts.secretRef is not required for the 'aws' STS provider
11481148+ rule: '!has(self.sts) || self.sts.provider != ''aws'' || !has(self.sts.secretRef)'
11491149+ - message: spec.sts.certSecretRef is not required for the 'aws' STS provider
11501150+ rule: '!has(self.sts) || self.sts.provider != ''aws'' || !has(self.sts.certSecretRef)'
11511151+ status:
11521152+ default:
11531153+ observedGeneration: -1
11541154+ description: BucketStatus records the observed state of a Bucket.
11551155+ properties:
11561156+ artifact:
11571157+ description: Artifact represents the last successful Bucket reconciliation.
11581158+ properties:
11591159+ digest:
11601160+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
11611161+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
11621162+ type: string
11631163+ lastUpdateTime:
11641164+ description: |-
11651165+ LastUpdateTime is the timestamp corresponding to the last update of the
11661166+ Artifact.
11671167+ format: date-time
11681168+ type: string
11691169+ metadata:
11701170+ additionalProperties:
11711171+ type: string
11721172+ description: Metadata holds upstream information such as OCI annotations.
11731173+ type: object
11741174+ path:
11751175+ description: |-
11761176+ Path is the relative file path of the Artifact. It can be used to locate
11771177+ the file in the root of the Artifact storage on the local file system of
11781178+ the controller managing the Source.
11791179+ type: string
11801180+ revision:
11811181+ description: |-
11821182+ Revision is a human-readable identifier traceable in the origin source
11831183+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
11841184+ type: string
11851185+ size:
11861186+ description: Size is the number of bytes in the file.
11871187+ format: int64
11881188+ type: integer
11891189+ url:
11901190+ description: |-
11911191+ URL is the HTTP address of the Artifact as exposed by the controller
11921192+ managing the Source. It can be used to retrieve the Artifact for
11931193+ consumption, e.g. by another controller applying the Artifact contents.
11941194+ type: string
11951195+ required:
11961196+ - lastUpdateTime
11971197+ - path
11981198+ - revision
11991199+ - url
12001200+ type: object
12011201+ conditions:
12021202+ description: Conditions holds the conditions for the Bucket.
12031203+ items:
12041204+ description: Condition contains details for one aspect of the current
12051205+ state of this API Resource.
12061206+ properties:
12071207+ lastTransitionTime:
12081208+ description: |-
12091209+ lastTransitionTime is the last time the condition transitioned from one status to another.
12101210+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
12111211+ format: date-time
12121212+ type: string
12131213+ message:
12141214+ description: |-
12151215+ message is a human readable message indicating details about the transition.
12161216+ This may be an empty string.
12171217+ maxLength: 32768
12181218+ type: string
12191219+ observedGeneration:
12201220+ description: |-
12211221+ observedGeneration represents the .metadata.generation that the condition was set based upon.
12221222+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
12231223+ with respect to the current state of the instance.
12241224+ format: int64
12251225+ minimum: 0
12261226+ type: integer
12271227+ reason:
12281228+ description: |-
12291229+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
12301230+ Producers of specific condition types may define expected values and meanings for this field,
12311231+ and whether the values are considered a guaranteed API.
12321232+ The value should be a CamelCase string.
12331233+ This field may not be empty.
12341234+ maxLength: 1024
12351235+ minLength: 1
12361236+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
12371237+ type: string
12381238+ status:
12391239+ description: status of the condition, one of True, False, Unknown.
12401240+ enum:
12411241+ - "True"
12421242+ - "False"
12431243+ - Unknown
12441244+ type: string
12451245+ type:
12461246+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
12471247+ maxLength: 316
12481248+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
12491249+ type: string
12501250+ required:
12511251+ - lastTransitionTime
12521252+ - message
12531253+ - reason
12541254+ - status
12551255+ - type
12561256+ type: object
12571257+ type: array
12581258+ lastHandledReconcileAt:
12591259+ description: |-
12601260+ LastHandledReconcileAt holds the value of the most recent
12611261+ reconcile request value, so a change of the annotation value
12621262+ can be detected.
12631263+ type: string
12641264+ observedGeneration:
12651265+ description: ObservedGeneration is the last observed generation of
12661266+ the Bucket object.
12671267+ format: int64
12681268+ type: integer
12691269+ observedIgnore:
12701270+ description: |-
12711271+ ObservedIgnore is the observed exclusion patterns used for constructing
12721272+ the source artifact.
12731273+ type: string
12741274+ url:
12751275+ description: |-
12761276+ URL is the dynamic fetch link for the latest Artifact.
12771277+ It is provided on a "best effort" basis, and using the precise
12781278+ BucketStatus.Artifact data is recommended.
12791279+ type: string
12801280+ type: object
12811281+ type: object
12821282+ served: true
12831283+ storage: false
12841284+ subresources:
12851285+ status: {}
12861286+---
12871287+apiVersion: apiextensions.k8s.io/v1
12881288+kind: CustomResourceDefinition
12891289+metadata:
12901290+ annotations:
12911291+ controller-gen.kubebuilder.io/version: v0.16.1
12921292+ labels:
12931293+ app.kubernetes.io/component: source-controller
12941294+ app.kubernetes.io/instance: flux-system
12951295+ app.kubernetes.io/part-of: flux
12961296+ app.kubernetes.io/version: v2.6.4
12971297+ name: gitrepositories.source.toolkit.fluxcd.io
12981298+spec:
12991299+ group: source.toolkit.fluxcd.io
13001300+ names:
13011301+ kind: GitRepository
13021302+ listKind: GitRepositoryList
13031303+ plural: gitrepositories
13041304+ shortNames:
13051305+ - gitrepo
13061306+ singular: gitrepository
13071307+ scope: Namespaced
13081308+ versions:
13091309+ - additionalPrinterColumns:
13101310+ - jsonPath: .spec.url
13111311+ name: URL
13121312+ type: string
13131313+ - jsonPath: .metadata.creationTimestamp
13141314+ name: Age
13151315+ type: date
13161316+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
13171317+ name: Ready
13181318+ type: string
13191319+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
13201320+ name: Status
13211321+ type: string
13221322+ name: v1
13231323+ schema:
13241324+ openAPIV3Schema:
13251325+ description: GitRepository is the Schema for the gitrepositories API.
13261326+ properties:
13271327+ apiVersion:
13281328+ description: |-
13291329+ APIVersion defines the versioned schema of this representation of an object.
13301330+ Servers should convert recognized schemas to the latest internal value, and
13311331+ may reject unrecognized values.
13321332+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
13331333+ type: string
13341334+ kind:
13351335+ description: |-
13361336+ Kind is a string value representing the REST resource this object represents.
13371337+ Servers may infer this from the endpoint the client submits requests to.
13381338+ Cannot be updated.
13391339+ In CamelCase.
13401340+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
13411341+ type: string
13421342+ metadata:
13431343+ type: object
13441344+ spec:
13451345+ description: |-
13461346+ GitRepositorySpec specifies the required configuration to produce an
13471347+ Artifact for a Git repository.
13481348+ properties:
13491349+ ignore:
13501350+ description: |-
13511351+ Ignore overrides the set of excluded patterns in the .sourceignore format
13521352+ (which is the same as .gitignore). If not provided, a default will be used,
13531353+ consult the documentation for your version to find out what those are.
13541354+ type: string
13551355+ include:
13561356+ description: |-
13571357+ Include specifies a list of GitRepository resources which Artifacts
13581358+ should be included in the Artifact produced for this GitRepository.
13591359+ items:
13601360+ description: |-
13611361+ GitRepositoryInclude specifies a local reference to a GitRepository which
13621362+ Artifact (sub-)contents must be included, and where they should be placed.
13631363+ properties:
13641364+ fromPath:
13651365+ description: |-
13661366+ FromPath specifies the path to copy contents from, defaults to the root
13671367+ of the Artifact.
13681368+ type: string
13691369+ repository:
13701370+ description: |-
13711371+ GitRepositoryRef specifies the GitRepository which Artifact contents
13721372+ must be included.
13731373+ properties:
13741374+ name:
13751375+ description: Name of the referent.
13761376+ type: string
13771377+ required:
13781378+ - name
13791379+ type: object
13801380+ toPath:
13811381+ description: |-
13821382+ ToPath specifies the path to copy contents to, defaults to the name of
13831383+ the GitRepositoryRef.
13841384+ type: string
13851385+ required:
13861386+ - repository
13871387+ type: object
13881388+ type: array
13891389+ interval:
13901390+ description: |-
13911391+ Interval at which the GitRepository URL is checked for updates.
13921392+ This interval is approximate and may be subject to jitter to ensure
13931393+ efficient use of resources.
13941394+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
13951395+ type: string
13961396+ provider:
13971397+ description: |-
13981398+ Provider used for authentication, can be 'azure', 'github', 'generic'.
13991399+ When not specified, defaults to 'generic'.
14001400+ enum:
14011401+ - generic
14021402+ - azure
14031403+ - github
14041404+ type: string
14051405+ proxySecretRef:
14061406+ description: |-
14071407+ ProxySecretRef specifies the Secret containing the proxy configuration
14081408+ to use while communicating with the Git server.
14091409+ properties:
14101410+ name:
14111411+ description: Name of the referent.
14121412+ type: string
14131413+ required:
14141414+ - name
14151415+ type: object
14161416+ recurseSubmodules:
14171417+ description: |-
14181418+ RecurseSubmodules enables the initialization of all submodules within
14191419+ the GitRepository as cloned from the URL, using their default settings.
14201420+ type: boolean
14211421+ ref:
14221422+ description: |-
14231423+ Reference specifies the Git reference to resolve and monitor for
14241424+ changes, defaults to the 'master' branch.
14251425+ properties:
14261426+ branch:
14271427+ description: Branch to check out, defaults to 'master' if no other
14281428+ field is defined.
14291429+ type: string
14301430+ commit:
14311431+ description: |-
14321432+ Commit SHA to check out, takes precedence over all reference fields.
14331433+14341434+ This can be combined with Branch to shallow clone the branch, in which
14351435+ the commit is expected to exist.
14361436+ type: string
14371437+ name:
14381438+ description: |-
14391439+ Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
14401440+14411441+ It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
14421442+ Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head"
14431443+ type: string
14441444+ semver:
14451445+ description: SemVer tag expression to check out, takes precedence
14461446+ over Tag.
14471447+ type: string
14481448+ tag:
14491449+ description: Tag to check out, takes precedence over Branch.
14501450+ type: string
14511451+ type: object
14521452+ secretRef:
14531453+ description: |-
14541454+ SecretRef specifies the Secret containing authentication credentials for
14551455+ the GitRepository.
14561456+ For HTTPS repositories the Secret must contain 'username' and 'password'
14571457+ fields for basic auth or 'bearerToken' field for token auth.
14581458+ For SSH repositories the Secret must contain 'identity'
14591459+ and 'known_hosts' fields.
14601460+ properties:
14611461+ name:
14621462+ description: Name of the referent.
14631463+ type: string
14641464+ required:
14651465+ - name
14661466+ type: object
14671467+ sparseCheckout:
14681468+ description: |-
14691469+ SparseCheckout specifies a list of directories to checkout when cloning
14701470+ the repository. If specified, only these directories are included in the
14711471+ Artifact produced for this GitRepository.
14721472+ items:
14731473+ type: string
14741474+ type: array
14751475+ suspend:
14761476+ description: |-
14771477+ Suspend tells the controller to suspend the reconciliation of this
14781478+ GitRepository.
14791479+ type: boolean
14801480+ timeout:
14811481+ default: 60s
14821482+ description: Timeout for Git operations like cloning, defaults to
14831483+ 60s.
14841484+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
14851485+ type: string
14861486+ url:
14871487+ description: URL specifies the Git repository URL, it can be an HTTP/S
14881488+ or SSH address.
14891489+ pattern: ^(http|https|ssh)://.*$
14901490+ type: string
14911491+ verify:
14921492+ description: |-
14931493+ Verification specifies the configuration to verify the Git commit
14941494+ signature(s).
14951495+ properties:
14961496+ mode:
14971497+ default: HEAD
14981498+ description: |-
14991499+ Mode specifies which Git object(s) should be verified.
15001500+15011501+ The variants "head" and "HEAD" both imply the same thing, i.e. verify
15021502+ the commit that the HEAD of the Git repository points to. The variant
15031503+ "head" solely exists to ensure backwards compatibility.
15041504+ enum:
15051505+ - head
15061506+ - HEAD
15071507+ - Tag
15081508+ - TagAndHEAD
15091509+ type: string
15101510+ secretRef:
15111511+ description: |-
15121512+ SecretRef specifies the Secret containing the public keys of trusted Git
15131513+ authors.
15141514+ properties:
15151515+ name:
15161516+ description: Name of the referent.
15171517+ type: string
15181518+ required:
15191519+ - name
15201520+ type: object
15211521+ required:
15221522+ - secretRef
15231523+ type: object
15241524+ required:
15251525+ - interval
15261526+ - url
15271527+ type: object
15281528+ status:
15291529+ default:
15301530+ observedGeneration: -1
15311531+ description: GitRepositoryStatus records the observed state of a Git repository.
15321532+ properties:
15331533+ artifact:
15341534+ description: Artifact represents the last successful GitRepository
15351535+ reconciliation.
15361536+ properties:
15371537+ digest:
15381538+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
15391539+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
15401540+ type: string
15411541+ lastUpdateTime:
15421542+ description: |-
15431543+ LastUpdateTime is the timestamp corresponding to the last update of the
15441544+ Artifact.
15451545+ format: date-time
15461546+ type: string
15471547+ metadata:
15481548+ additionalProperties:
15491549+ type: string
15501550+ description: Metadata holds upstream information such as OCI annotations.
15511551+ type: object
15521552+ path:
15531553+ description: |-
15541554+ Path is the relative file path of the Artifact. It can be used to locate
15551555+ the file in the root of the Artifact storage on the local file system of
15561556+ the controller managing the Source.
15571557+ type: string
15581558+ revision:
15591559+ description: |-
15601560+ Revision is a human-readable identifier traceable in the origin source
15611561+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
15621562+ type: string
15631563+ size:
15641564+ description: Size is the number of bytes in the file.
15651565+ format: int64
15661566+ type: integer
15671567+ url:
15681568+ description: |-
15691569+ URL is the HTTP address of the Artifact as exposed by the controller
15701570+ managing the Source. It can be used to retrieve the Artifact for
15711571+ consumption, e.g. by another controller applying the Artifact contents.
15721572+ type: string
15731573+ required:
15741574+ - lastUpdateTime
15751575+ - path
15761576+ - revision
15771577+ - url
15781578+ type: object
15791579+ conditions:
15801580+ description: Conditions holds the conditions for the GitRepository.
15811581+ items:
15821582+ description: Condition contains details for one aspect of the current
15831583+ state of this API Resource.
15841584+ properties:
15851585+ lastTransitionTime:
15861586+ description: |-
15871587+ lastTransitionTime is the last time the condition transitioned from one status to another.
15881588+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
15891589+ format: date-time
15901590+ type: string
15911591+ message:
15921592+ description: |-
15931593+ message is a human readable message indicating details about the transition.
15941594+ This may be an empty string.
15951595+ maxLength: 32768
15961596+ type: string
15971597+ observedGeneration:
15981598+ description: |-
15991599+ observedGeneration represents the .metadata.generation that the condition was set based upon.
16001600+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
16011601+ with respect to the current state of the instance.
16021602+ format: int64
16031603+ minimum: 0
16041604+ type: integer
16051605+ reason:
16061606+ description: |-
16071607+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
16081608+ Producers of specific condition types may define expected values and meanings for this field,
16091609+ and whether the values are considered a guaranteed API.
16101610+ The value should be a CamelCase string.
16111611+ This field may not be empty.
16121612+ maxLength: 1024
16131613+ minLength: 1
16141614+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
16151615+ type: string
16161616+ status:
16171617+ description: status of the condition, one of True, False, Unknown.
16181618+ enum:
16191619+ - "True"
16201620+ - "False"
16211621+ - Unknown
16221622+ type: string
16231623+ type:
16241624+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
16251625+ maxLength: 316
16261626+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
16271627+ type: string
16281628+ required:
16291629+ - lastTransitionTime
16301630+ - message
16311631+ - reason
16321632+ - status
16331633+ - type
16341634+ type: object
16351635+ type: array
16361636+ includedArtifacts:
16371637+ description: |-
16381638+ IncludedArtifacts contains a list of the last successfully included
16391639+ Artifacts as instructed by GitRepositorySpec.Include.
16401640+ items:
16411641+ description: Artifact represents the output of a Source reconciliation.
16421642+ properties:
16431643+ digest:
16441644+ description: Digest is the digest of the file in the form of
16451645+ '<algorithm>:<checksum>'.
16461646+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
16471647+ type: string
16481648+ lastUpdateTime:
16491649+ description: |-
16501650+ LastUpdateTime is the timestamp corresponding to the last update of the
16511651+ Artifact.
16521652+ format: date-time
16531653+ type: string
16541654+ metadata:
16551655+ additionalProperties:
16561656+ type: string
16571657+ description: Metadata holds upstream information such as OCI
16581658+ annotations.
16591659+ type: object
16601660+ path:
16611661+ description: |-
16621662+ Path is the relative file path of the Artifact. It can be used to locate
16631663+ the file in the root of the Artifact storage on the local file system of
16641664+ the controller managing the Source.
16651665+ type: string
16661666+ revision:
16671667+ description: |-
16681668+ Revision is a human-readable identifier traceable in the origin source
16691669+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
16701670+ type: string
16711671+ size:
16721672+ description: Size is the number of bytes in the file.
16731673+ format: int64
16741674+ type: integer
16751675+ url:
16761676+ description: |-
16771677+ URL is the HTTP address of the Artifact as exposed by the controller
16781678+ managing the Source. It can be used to retrieve the Artifact for
16791679+ consumption, e.g. by another controller applying the Artifact contents.
16801680+ type: string
16811681+ required:
16821682+ - lastUpdateTime
16831683+ - path
16841684+ - revision
16851685+ - url
16861686+ type: object
16871687+ type: array
16881688+ lastHandledReconcileAt:
16891689+ description: |-
16901690+ LastHandledReconcileAt holds the value of the most recent
16911691+ reconcile request value, so a change of the annotation value
16921692+ can be detected.
16931693+ type: string
16941694+ observedGeneration:
16951695+ description: |-
16961696+ ObservedGeneration is the last observed generation of the GitRepository
16971697+ object.
16981698+ format: int64
16991699+ type: integer
17001700+ observedIgnore:
17011701+ description: |-
17021702+ ObservedIgnore is the observed exclusion patterns used for constructing
17031703+ the source artifact.
17041704+ type: string
17051705+ observedInclude:
17061706+ description: |-
17071707+ ObservedInclude is the observed list of GitRepository resources used to
17081708+ produce the current Artifact.
17091709+ items:
17101710+ description: |-
17111711+ GitRepositoryInclude specifies a local reference to a GitRepository which
17121712+ Artifact (sub-)contents must be included, and where they should be placed.
17131713+ properties:
17141714+ fromPath:
17151715+ description: |-
17161716+ FromPath specifies the path to copy contents from, defaults to the root
17171717+ of the Artifact.
17181718+ type: string
17191719+ repository:
17201720+ description: |-
17211721+ GitRepositoryRef specifies the GitRepository which Artifact contents
17221722+ must be included.
17231723+ properties:
17241724+ name:
17251725+ description: Name of the referent.
17261726+ type: string
17271727+ required:
17281728+ - name
17291729+ type: object
17301730+ toPath:
17311731+ description: |-
17321732+ ToPath specifies the path to copy contents to, defaults to the name of
17331733+ the GitRepositoryRef.
17341734+ type: string
17351735+ required:
17361736+ - repository
17371737+ type: object
17381738+ type: array
17391739+ observedRecurseSubmodules:
17401740+ description: |-
17411741+ ObservedRecurseSubmodules is the observed resource submodules
17421742+ configuration used to produce the current Artifact.
17431743+ type: boolean
17441744+ observedSparseCheckout:
17451745+ description: |-
17461746+ ObservedSparseCheckout is the observed list of directories used to
17471747+ produce the current Artifact.
17481748+ items:
17491749+ type: string
17501750+ type: array
17511751+ sourceVerificationMode:
17521752+ description: |-
17531753+ SourceVerificationMode is the last used verification mode indicating
17541754+ which Git object(s) have been verified.
17551755+ type: string
17561756+ type: object
17571757+ type: object
17581758+ served: true
17591759+ storage: true
17601760+ subresources:
17611761+ status: {}
17621762+ - additionalPrinterColumns:
17631763+ - jsonPath: .spec.url
17641764+ name: URL
17651765+ type: string
17661766+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
17671767+ name: Ready
17681768+ type: string
17691769+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
17701770+ name: Status
17711771+ type: string
17721772+ - jsonPath: .metadata.creationTimestamp
17731773+ name: Age
17741774+ type: date
17751775+ deprecated: true
17761776+ deprecationWarning: v1beta1 GitRepository is deprecated, upgrade to v1
17771777+ name: v1beta1
17781778+ schema:
17791779+ openAPIV3Schema:
17801780+ description: GitRepository is the Schema for the gitrepositories API
17811781+ properties:
17821782+ apiVersion:
17831783+ description: |-
17841784+ APIVersion defines the versioned schema of this representation of an object.
17851785+ Servers should convert recognized schemas to the latest internal value, and
17861786+ may reject unrecognized values.
17871787+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
17881788+ type: string
17891789+ kind:
17901790+ description: |-
17911791+ Kind is a string value representing the REST resource this object represents.
17921792+ Servers may infer this from the endpoint the client submits requests to.
17931793+ Cannot be updated.
17941794+ In CamelCase.
17951795+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
17961796+ type: string
17971797+ metadata:
17981798+ type: object
17991799+ spec:
18001800+ description: GitRepositorySpec defines the desired state of a Git repository.
18011801+ properties:
18021802+ accessFrom:
18031803+ description: AccessFrom defines an Access Control List for allowing
18041804+ cross-namespace references to this object.
18051805+ properties:
18061806+ namespaceSelectors:
18071807+ description: |-
18081808+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
18091809+ Items in this list are evaluated using a logical OR operation.
18101810+ items:
18111811+ description: |-
18121812+ NamespaceSelector selects the namespaces to which this ACL applies.
18131813+ An empty map of MatchLabels matches all namespaces in a cluster.
18141814+ properties:
18151815+ matchLabels:
18161816+ additionalProperties:
18171817+ type: string
18181818+ description: |-
18191819+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
18201820+ map is equivalent to an element of matchExpressions, whose key field is "key", the
18211821+ operator is "In", and the values array contains only "value". The requirements are ANDed.
18221822+ type: object
18231823+ type: object
18241824+ type: array
18251825+ required:
18261826+ - namespaceSelectors
18271827+ type: object
18281828+ gitImplementation:
18291829+ default: go-git
18301830+ description: |-
18311831+ Determines which git client library to use.
18321832+ Defaults to go-git, valid values are ('go-git', 'libgit2').
18331833+ enum:
18341834+ - go-git
18351835+ - libgit2
18361836+ type: string
18371837+ ignore:
18381838+ description: |-
18391839+ Ignore overrides the set of excluded patterns in the .sourceignore format
18401840+ (which is the same as .gitignore). If not provided, a default will be used,
18411841+ consult the documentation for your version to find out what those are.
18421842+ type: string
18431843+ include:
18441844+ description: Extra git repositories to map into the repository
18451845+ items:
18461846+ description: GitRepositoryInclude defines a source with a from and
18471847+ to path.
18481848+ properties:
18491849+ fromPath:
18501850+ description: The path to copy contents from, defaults to the
18511851+ root directory.
18521852+ type: string
18531853+ repository:
18541854+ description: Reference to a GitRepository to include.
18551855+ properties:
18561856+ name:
18571857+ description: Name of the referent.
18581858+ type: string
18591859+ required:
18601860+ - name
18611861+ type: object
18621862+ toPath:
18631863+ description: The path to copy contents to, defaults to the name
18641864+ of the source ref.
18651865+ type: string
18661866+ required:
18671867+ - repository
18681868+ type: object
18691869+ type: array
18701870+ interval:
18711871+ description: The interval at which to check for repository updates.
18721872+ type: string
18731873+ recurseSubmodules:
18741874+ description: |-
18751875+ When enabled, after the clone is created, initializes all submodules within,
18761876+ using their default settings.
18771877+ This option is available only when using the 'go-git' GitImplementation.
18781878+ type: boolean
18791879+ ref:
18801880+ description: |-
18811881+ The Git reference to checkout and monitor for changes, defaults to
18821882+ master branch.
18831883+ properties:
18841884+ branch:
18851885+ description: The Git branch to checkout, defaults to master.
18861886+ type: string
18871887+ commit:
18881888+ description: The Git commit SHA to checkout, if specified Tag
18891889+ filters will be ignored.
18901890+ type: string
18911891+ semver:
18921892+ description: The Git tag semver expression, takes precedence over
18931893+ Tag.
18941894+ type: string
18951895+ tag:
18961896+ description: The Git tag to checkout, takes precedence over Branch.
18971897+ type: string
18981898+ type: object
18991899+ secretRef:
19001900+ description: |-
19011901+ The secret name containing the Git credentials.
19021902+ For HTTPS repositories the secret must contain username and password
19031903+ fields.
19041904+ For SSH repositories the secret must contain identity and known_hosts
19051905+ fields.
19061906+ properties:
19071907+ name:
19081908+ description: Name of the referent.
19091909+ type: string
19101910+ required:
19111911+ - name
19121912+ type: object
19131913+ suspend:
19141914+ description: This flag tells the controller to suspend the reconciliation
19151915+ of this source.
19161916+ type: boolean
19171917+ timeout:
19181918+ default: 60s
19191919+ description: The timeout for remote Git operations like cloning, defaults
19201920+ to 60s.
19211921+ type: string
19221922+ url:
19231923+ description: The repository URL, can be a HTTP/S or SSH address.
19241924+ pattern: ^(http|https|ssh)://.*$
19251925+ type: string
19261926+ verify:
19271927+ description: Verify OpenPGP signature for the Git commit HEAD points
19281928+ to.
19291929+ properties:
19301930+ mode:
19311931+ description: Mode describes what git object should be verified,
19321932+ currently ('head').
19331933+ enum:
19341934+ - head
19351935+ type: string
19361936+ secretRef:
19371937+ description: The secret name containing the public keys of all
19381938+ trusted Git authors.
19391939+ properties:
19401940+ name:
19411941+ description: Name of the referent.
19421942+ type: string
19431943+ required:
19441944+ - name
19451945+ type: object
19461946+ required:
19471947+ - mode
19481948+ type: object
19491949+ required:
19501950+ - interval
19511951+ - url
19521952+ type: object
19531953+ status:
19541954+ default:
19551955+ observedGeneration: -1
19561956+ description: GitRepositoryStatus defines the observed state of a Git repository.
19571957+ properties:
19581958+ artifact:
19591959+ description: Artifact represents the output of the last successful
19601960+ repository sync.
19611961+ properties:
19621962+ checksum:
19631963+ description: Checksum is the SHA256 checksum of the artifact.
19641964+ type: string
19651965+ lastUpdateTime:
19661966+ description: |-
19671967+ LastUpdateTime is the timestamp corresponding to the last update of this
19681968+ artifact.
19691969+ format: date-time
19701970+ type: string
19711971+ path:
19721972+ description: Path is the relative file path of this artifact.
19731973+ type: string
19741974+ revision:
19751975+ description: |-
19761976+ Revision is a human readable identifier traceable in the origin source
19771977+ system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
19781978+ chart version, etc.
19791979+ type: string
19801980+ url:
19811981+ description: URL is the HTTP address of this artifact.
19821982+ type: string
19831983+ required:
19841984+ - lastUpdateTime
19851985+ - path
19861986+ - url
19871987+ type: object
19881988+ conditions:
19891989+ description: Conditions holds the conditions for the GitRepository.
19901990+ items:
19911991+ description: Condition contains details for one aspect of the current
19921992+ state of this API Resource.
19931993+ properties:
19941994+ lastTransitionTime:
19951995+ description: |-
19961996+ lastTransitionTime is the last time the condition transitioned from one status to another.
19971997+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
19981998+ format: date-time
19991999+ type: string
20002000+ message:
20012001+ description: |-
20022002+ message is a human readable message indicating details about the transition.
20032003+ This may be an empty string.
20042004+ maxLength: 32768
20052005+ type: string
20062006+ observedGeneration:
20072007+ description: |-
20082008+ observedGeneration represents the .metadata.generation that the condition was set based upon.
20092009+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
20102010+ with respect to the current state of the instance.
20112011+ format: int64
20122012+ minimum: 0
20132013+ type: integer
20142014+ reason:
20152015+ description: |-
20162016+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
20172017+ Producers of specific condition types may define expected values and meanings for this field,
20182018+ and whether the values are considered a guaranteed API.
20192019+ The value should be a CamelCase string.
20202020+ This field may not be empty.
20212021+ maxLength: 1024
20222022+ minLength: 1
20232023+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
20242024+ type: string
20252025+ status:
20262026+ description: status of the condition, one of True, False, Unknown.
20272027+ enum:
20282028+ - "True"
20292029+ - "False"
20302030+ - Unknown
20312031+ type: string
20322032+ type:
20332033+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
20342034+ maxLength: 316
20352035+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
20362036+ type: string
20372037+ required:
20382038+ - lastTransitionTime
20392039+ - message
20402040+ - reason
20412041+ - status
20422042+ - type
20432043+ type: object
20442044+ type: array
20452045+ includedArtifacts:
20462046+ description: IncludedArtifacts represents the included artifacts from
20472047+ the last successful repository sync.
20482048+ items:
20492049+ description: Artifact represents the output of a source synchronisation.
20502050+ properties:
20512051+ checksum:
20522052+ description: Checksum is the SHA256 checksum of the artifact.
20532053+ type: string
20542054+ lastUpdateTime:
20552055+ description: |-
20562056+ LastUpdateTime is the timestamp corresponding to the last update of this
20572057+ artifact.
20582058+ format: date-time
20592059+ type: string
20602060+ path:
20612061+ description: Path is the relative file path of this artifact.
20622062+ type: string
20632063+ revision:
20642064+ description: |-
20652065+ Revision is a human readable identifier traceable in the origin source
20662066+ system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
20672067+ chart version, etc.
20682068+ type: string
20692069+ url:
20702070+ description: URL is the HTTP address of this artifact.
20712071+ type: string
20722072+ required:
20732073+ - lastUpdateTime
20742074+ - path
20752075+ - url
20762076+ type: object
20772077+ type: array
20782078+ lastHandledReconcileAt:
20792079+ description: |-
20802080+ LastHandledReconcileAt holds the value of the most recent
20812081+ reconcile request value, so a change of the annotation value
20822082+ can be detected.
20832083+ type: string
20842084+ observedGeneration:
20852085+ description: ObservedGeneration is the last observed generation.
20862086+ format: int64
20872087+ type: integer
20882088+ url:
20892089+ description: |-
20902090+ URL is the download link for the artifact output of the last repository
20912091+ sync.
20922092+ type: string
20932093+ type: object
20942094+ type: object
20952095+ served: true
20962096+ storage: false
20972097+ subresources:
20982098+ status: {}
20992099+ - additionalPrinterColumns:
21002100+ - jsonPath: .spec.url
21012101+ name: URL
21022102+ type: string
21032103+ - jsonPath: .metadata.creationTimestamp
21042104+ name: Age
21052105+ type: date
21062106+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
21072107+ name: Ready
21082108+ type: string
21092109+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
21102110+ name: Status
21112111+ type: string
21122112+ deprecated: true
21132113+ deprecationWarning: v1beta2 GitRepository is deprecated, upgrade to v1
21142114+ name: v1beta2
21152115+ schema:
21162116+ openAPIV3Schema:
21172117+ description: GitRepository is the Schema for the gitrepositories API.
21182118+ properties:
21192119+ apiVersion:
21202120+ description: |-
21212121+ APIVersion defines the versioned schema of this representation of an object.
21222122+ Servers should convert recognized schemas to the latest internal value, and
21232123+ may reject unrecognized values.
21242124+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
21252125+ type: string
21262126+ kind:
21272127+ description: |-
21282128+ Kind is a string value representing the REST resource this object represents.
21292129+ Servers may infer this from the endpoint the client submits requests to.
21302130+ Cannot be updated.
21312131+ In CamelCase.
21322132+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
21332133+ type: string
21342134+ metadata:
21352135+ type: object
21362136+ spec:
21372137+ description: |-
21382138+ GitRepositorySpec specifies the required configuration to produce an
21392139+ Artifact for a Git repository.
21402140+ properties:
21412141+ accessFrom:
21422142+ description: |-
21432143+ AccessFrom specifies an Access Control List for allowing cross-namespace
21442144+ references to this object.
21452145+ NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
21462146+ properties:
21472147+ namespaceSelectors:
21482148+ description: |-
21492149+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
21502150+ Items in this list are evaluated using a logical OR operation.
21512151+ items:
21522152+ description: |-
21532153+ NamespaceSelector selects the namespaces to which this ACL applies.
21542154+ An empty map of MatchLabels matches all namespaces in a cluster.
21552155+ properties:
21562156+ matchLabels:
21572157+ additionalProperties:
21582158+ type: string
21592159+ description: |-
21602160+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
21612161+ map is equivalent to an element of matchExpressions, whose key field is "key", the
21622162+ operator is "In", and the values array contains only "value". The requirements are ANDed.
21632163+ type: object
21642164+ type: object
21652165+ type: array
21662166+ required:
21672167+ - namespaceSelectors
21682168+ type: object
21692169+ gitImplementation:
21702170+ default: go-git
21712171+ description: |-
21722172+ GitImplementation specifies which Git client library implementation to
21732173+ use. Defaults to 'go-git', valid values are ('go-git', 'libgit2').
21742174+ Deprecated: gitImplementation is deprecated now that 'go-git' is the
21752175+ only supported implementation.
21762176+ enum:
21772177+ - go-git
21782178+ - libgit2
21792179+ type: string
21802180+ ignore:
21812181+ description: |-
21822182+ Ignore overrides the set of excluded patterns in the .sourceignore format
21832183+ (which is the same as .gitignore). If not provided, a default will be used,
21842184+ consult the documentation for your version to find out what those are.
21852185+ type: string
21862186+ include:
21872187+ description: |-
21882188+ Include specifies a list of GitRepository resources which Artifacts
21892189+ should be included in the Artifact produced for this GitRepository.
21902190+ items:
21912191+ description: |-
21922192+ GitRepositoryInclude specifies a local reference to a GitRepository which
21932193+ Artifact (sub-)contents must be included, and where they should be placed.
21942194+ properties:
21952195+ fromPath:
21962196+ description: |-
21972197+ FromPath specifies the path to copy contents from, defaults to the root
21982198+ of the Artifact.
21992199+ type: string
22002200+ repository:
22012201+ description: |-
22022202+ GitRepositoryRef specifies the GitRepository which Artifact contents
22032203+ must be included.
22042204+ properties:
22052205+ name:
22062206+ description: Name of the referent.
22072207+ type: string
22082208+ required:
22092209+ - name
22102210+ type: object
22112211+ toPath:
22122212+ description: |-
22132213+ ToPath specifies the path to copy contents to, defaults to the name of
22142214+ the GitRepositoryRef.
22152215+ type: string
22162216+ required:
22172217+ - repository
22182218+ type: object
22192219+ type: array
22202220+ interval:
22212221+ description: Interval at which to check the GitRepository for updates.
22222222+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
22232223+ type: string
22242224+ recurseSubmodules:
22252225+ description: |-
22262226+ RecurseSubmodules enables the initialization of all submodules within
22272227+ the GitRepository as cloned from the URL, using their default settings.
22282228+ type: boolean
22292229+ ref:
22302230+ description: |-
22312231+ Reference specifies the Git reference to resolve and monitor for
22322232+ changes, defaults to the 'master' branch.
22332233+ properties:
22342234+ branch:
22352235+ description: Branch to check out, defaults to 'master' if no other
22362236+ field is defined.
22372237+ type: string
22382238+ commit:
22392239+ description: |-
22402240+ Commit SHA to check out, takes precedence over all reference fields.
22412241+22422242+ This can be combined with Branch to shallow clone the branch, in which
22432243+ the commit is expected to exist.
22442244+ type: string
22452245+ name:
22462246+ description: |-
22472247+ Name of the reference to check out; takes precedence over Branch, Tag and SemVer.
22482248+22492249+ It must be a valid Git reference: https://git-scm.com/docs/git-check-ref-format#_description
22502250+ Examples: "refs/heads/main", "refs/tags/v0.1.0", "refs/pull/420/head", "refs/merge-requests/1/head"
22512251+ type: string
22522252+ semver:
22532253+ description: SemVer tag expression to check out, takes precedence
22542254+ over Tag.
22552255+ type: string
22562256+ tag:
22572257+ description: Tag to check out, takes precedence over Branch.
22582258+ type: string
22592259+ type: object
22602260+ secretRef:
22612261+ description: |-
22622262+ SecretRef specifies the Secret containing authentication credentials for
22632263+ the GitRepository.
22642264+ For HTTPS repositories the Secret must contain 'username' and 'password'
22652265+ fields for basic auth or 'bearerToken' field for token auth.
22662266+ For SSH repositories the Secret must contain 'identity'
22672267+ and 'known_hosts' fields.
22682268+ properties:
22692269+ name:
22702270+ description: Name of the referent.
22712271+ type: string
22722272+ required:
22732273+ - name
22742274+ type: object
22752275+ suspend:
22762276+ description: |-
22772277+ Suspend tells the controller to suspend the reconciliation of this
22782278+ GitRepository.
22792279+ type: boolean
22802280+ timeout:
22812281+ default: 60s
22822282+ description: Timeout for Git operations like cloning, defaults to
22832283+ 60s.
22842284+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
22852285+ type: string
22862286+ url:
22872287+ description: URL specifies the Git repository URL, it can be an HTTP/S
22882288+ or SSH address.
22892289+ pattern: ^(http|https|ssh)://.*$
22902290+ type: string
22912291+ verify:
22922292+ description: |-
22932293+ Verification specifies the configuration to verify the Git commit
22942294+ signature(s).
22952295+ properties:
22962296+ mode:
22972297+ description: Mode specifies what Git object should be verified,
22982298+ currently ('head').
22992299+ enum:
23002300+ - head
23012301+ type: string
23022302+ secretRef:
23032303+ description: |-
23042304+ SecretRef specifies the Secret containing the public keys of trusted Git
23052305+ authors.
23062306+ properties:
23072307+ name:
23082308+ description: Name of the referent.
23092309+ type: string
23102310+ required:
23112311+ - name
23122312+ type: object
23132313+ required:
23142314+ - mode
23152315+ - secretRef
23162316+ type: object
23172317+ required:
23182318+ - interval
23192319+ - url
23202320+ type: object
23212321+ status:
23222322+ default:
23232323+ observedGeneration: -1
23242324+ description: GitRepositoryStatus records the observed state of a Git repository.
23252325+ properties:
23262326+ artifact:
23272327+ description: Artifact represents the last successful GitRepository
23282328+ reconciliation.
23292329+ properties:
23302330+ digest:
23312331+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
23322332+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
23332333+ type: string
23342334+ lastUpdateTime:
23352335+ description: |-
23362336+ LastUpdateTime is the timestamp corresponding to the last update of the
23372337+ Artifact.
23382338+ format: date-time
23392339+ type: string
23402340+ metadata:
23412341+ additionalProperties:
23422342+ type: string
23432343+ description: Metadata holds upstream information such as OCI annotations.
23442344+ type: object
23452345+ path:
23462346+ description: |-
23472347+ Path is the relative file path of the Artifact. It can be used to locate
23482348+ the file in the root of the Artifact storage on the local file system of
23492349+ the controller managing the Source.
23502350+ type: string
23512351+ revision:
23522352+ description: |-
23532353+ Revision is a human-readable identifier traceable in the origin source
23542354+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
23552355+ type: string
23562356+ size:
23572357+ description: Size is the number of bytes in the file.
23582358+ format: int64
23592359+ type: integer
23602360+ url:
23612361+ description: |-
23622362+ URL is the HTTP address of the Artifact as exposed by the controller
23632363+ managing the Source. It can be used to retrieve the Artifact for
23642364+ consumption, e.g. by another controller applying the Artifact contents.
23652365+ type: string
23662366+ required:
23672367+ - lastUpdateTime
23682368+ - path
23692369+ - revision
23702370+ - url
23712371+ type: object
23722372+ conditions:
23732373+ description: Conditions holds the conditions for the GitRepository.
23742374+ items:
23752375+ description: Condition contains details for one aspect of the current
23762376+ state of this API Resource.
23772377+ properties:
23782378+ lastTransitionTime:
23792379+ description: |-
23802380+ lastTransitionTime is the last time the condition transitioned from one status to another.
23812381+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
23822382+ format: date-time
23832383+ type: string
23842384+ message:
23852385+ description: |-
23862386+ message is a human readable message indicating details about the transition.
23872387+ This may be an empty string.
23882388+ maxLength: 32768
23892389+ type: string
23902390+ observedGeneration:
23912391+ description: |-
23922392+ observedGeneration represents the .metadata.generation that the condition was set based upon.
23932393+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
23942394+ with respect to the current state of the instance.
23952395+ format: int64
23962396+ minimum: 0
23972397+ type: integer
23982398+ reason:
23992399+ description: |-
24002400+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
24012401+ Producers of specific condition types may define expected values and meanings for this field,
24022402+ and whether the values are considered a guaranteed API.
24032403+ The value should be a CamelCase string.
24042404+ This field may not be empty.
24052405+ maxLength: 1024
24062406+ minLength: 1
24072407+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
24082408+ type: string
24092409+ status:
24102410+ description: status of the condition, one of True, False, Unknown.
24112411+ enum:
24122412+ - "True"
24132413+ - "False"
24142414+ - Unknown
24152415+ type: string
24162416+ type:
24172417+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
24182418+ maxLength: 316
24192419+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
24202420+ type: string
24212421+ required:
24222422+ - lastTransitionTime
24232423+ - message
24242424+ - reason
24252425+ - status
24262426+ - type
24272427+ type: object
24282428+ type: array
24292429+ contentConfigChecksum:
24302430+ description: |-
24312431+ ContentConfigChecksum is a checksum of all the configurations related to
24322432+ the content of the source artifact:
24332433+ - .spec.ignore
24342434+ - .spec.recurseSubmodules
24352435+ - .spec.included and the checksum of the included artifacts
24362436+ observed in .status.observedGeneration version of the object. This can
24372437+ be used to determine if the content of the included repository has
24382438+ changed.
24392439+ It has the format of `<algo>:<checksum>`, for example: `sha256:<checksum>`.
24402440+24412441+ Deprecated: Replaced with explicit fields for observed artifact content
24422442+ config in the status.
24432443+ type: string
24442444+ includedArtifacts:
24452445+ description: |-
24462446+ IncludedArtifacts contains a list of the last successfully included
24472447+ Artifacts as instructed by GitRepositorySpec.Include.
24482448+ items:
24492449+ description: Artifact represents the output of a Source reconciliation.
24502450+ properties:
24512451+ digest:
24522452+ description: Digest is the digest of the file in the form of
24532453+ '<algorithm>:<checksum>'.
24542454+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
24552455+ type: string
24562456+ lastUpdateTime:
24572457+ description: |-
24582458+ LastUpdateTime is the timestamp corresponding to the last update of the
24592459+ Artifact.
24602460+ format: date-time
24612461+ type: string
24622462+ metadata:
24632463+ additionalProperties:
24642464+ type: string
24652465+ description: Metadata holds upstream information such as OCI
24662466+ annotations.
24672467+ type: object
24682468+ path:
24692469+ description: |-
24702470+ Path is the relative file path of the Artifact. It can be used to locate
24712471+ the file in the root of the Artifact storage on the local file system of
24722472+ the controller managing the Source.
24732473+ type: string
24742474+ revision:
24752475+ description: |-
24762476+ Revision is a human-readable identifier traceable in the origin source
24772477+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
24782478+ type: string
24792479+ size:
24802480+ description: Size is the number of bytes in the file.
24812481+ format: int64
24822482+ type: integer
24832483+ url:
24842484+ description: |-
24852485+ URL is the HTTP address of the Artifact as exposed by the controller
24862486+ managing the Source. It can be used to retrieve the Artifact for
24872487+ consumption, e.g. by another controller applying the Artifact contents.
24882488+ type: string
24892489+ required:
24902490+ - lastUpdateTime
24912491+ - path
24922492+ - revision
24932493+ - url
24942494+ type: object
24952495+ type: array
24962496+ lastHandledReconcileAt:
24972497+ description: |-
24982498+ LastHandledReconcileAt holds the value of the most recent
24992499+ reconcile request value, so a change of the annotation value
25002500+ can be detected.
25012501+ type: string
25022502+ observedGeneration:
25032503+ description: |-
25042504+ ObservedGeneration is the last observed generation of the GitRepository
25052505+ object.
25062506+ format: int64
25072507+ type: integer
25082508+ observedIgnore:
25092509+ description: |-
25102510+ ObservedIgnore is the observed exclusion patterns used for constructing
25112511+ the source artifact.
25122512+ type: string
25132513+ observedInclude:
25142514+ description: |-
25152515+ ObservedInclude is the observed list of GitRepository resources used to
25162516+ to produce the current Artifact.
25172517+ items:
25182518+ description: |-
25192519+ GitRepositoryInclude specifies a local reference to a GitRepository which
25202520+ Artifact (sub-)contents must be included, and where they should be placed.
25212521+ properties:
25222522+ fromPath:
25232523+ description: |-
25242524+ FromPath specifies the path to copy contents from, defaults to the root
25252525+ of the Artifact.
25262526+ type: string
25272527+ repository:
25282528+ description: |-
25292529+ GitRepositoryRef specifies the GitRepository which Artifact contents
25302530+ must be included.
25312531+ properties:
25322532+ name:
25332533+ description: Name of the referent.
25342534+ type: string
25352535+ required:
25362536+ - name
25372537+ type: object
25382538+ toPath:
25392539+ description: |-
25402540+ ToPath specifies the path to copy contents to, defaults to the name of
25412541+ the GitRepositoryRef.
25422542+ type: string
25432543+ required:
25442544+ - repository
25452545+ type: object
25462546+ type: array
25472547+ observedRecurseSubmodules:
25482548+ description: |-
25492549+ ObservedRecurseSubmodules is the observed resource submodules
25502550+ configuration used to produce the current Artifact.
25512551+ type: boolean
25522552+ url:
25532553+ description: |-
25542554+ URL is the dynamic fetch link for the latest Artifact.
25552555+ It is provided on a "best effort" basis, and using the precise
25562556+ GitRepositoryStatus.Artifact data is recommended.
25572557+ type: string
25582558+ type: object
25592559+ type: object
25602560+ served: true
25612561+ storage: false
25622562+ subresources:
25632563+ status: {}
25642564+---
25652565+apiVersion: apiextensions.k8s.io/v1
25662566+kind: CustomResourceDefinition
25672567+metadata:
25682568+ annotations:
25692569+ controller-gen.kubebuilder.io/version: v0.16.1
25702570+ labels:
25712571+ app.kubernetes.io/component: source-controller
25722572+ app.kubernetes.io/instance: flux-system
25732573+ app.kubernetes.io/part-of: flux
25742574+ app.kubernetes.io/version: v2.6.4
25752575+ name: helmcharts.source.toolkit.fluxcd.io
25762576+spec:
25772577+ group: source.toolkit.fluxcd.io
25782578+ names:
25792579+ kind: HelmChart
25802580+ listKind: HelmChartList
25812581+ plural: helmcharts
25822582+ shortNames:
25832583+ - hc
25842584+ singular: helmchart
25852585+ scope: Namespaced
25862586+ versions:
25872587+ - additionalPrinterColumns:
25882588+ - jsonPath: .spec.chart
25892589+ name: Chart
25902590+ type: string
25912591+ - jsonPath: .spec.version
25922592+ name: Version
25932593+ type: string
25942594+ - jsonPath: .spec.sourceRef.kind
25952595+ name: Source Kind
25962596+ type: string
25972597+ - jsonPath: .spec.sourceRef.name
25982598+ name: Source Name
25992599+ type: string
26002600+ - jsonPath: .metadata.creationTimestamp
26012601+ name: Age
26022602+ type: date
26032603+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
26042604+ name: Ready
26052605+ type: string
26062606+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
26072607+ name: Status
26082608+ type: string
26092609+ name: v1
26102610+ schema:
26112611+ openAPIV3Schema:
26122612+ description: HelmChart is the Schema for the helmcharts API.
26132613+ properties:
26142614+ apiVersion:
26152615+ description: |-
26162616+ APIVersion defines the versioned schema of this representation of an object.
26172617+ Servers should convert recognized schemas to the latest internal value, and
26182618+ may reject unrecognized values.
26192619+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
26202620+ type: string
26212621+ kind:
26222622+ description: |-
26232623+ Kind is a string value representing the REST resource this object represents.
26242624+ Servers may infer this from the endpoint the client submits requests to.
26252625+ Cannot be updated.
26262626+ In CamelCase.
26272627+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
26282628+ type: string
26292629+ metadata:
26302630+ type: object
26312631+ spec:
26322632+ description: HelmChartSpec specifies the desired state of a Helm chart.
26332633+ properties:
26342634+ chart:
26352635+ description: |-
26362636+ Chart is the name or path the Helm chart is available at in the
26372637+ SourceRef.
26382638+ type: string
26392639+ ignoreMissingValuesFiles:
26402640+ description: |-
26412641+ IgnoreMissingValuesFiles controls whether to silently ignore missing values
26422642+ files rather than failing.
26432643+ type: boolean
26442644+ interval:
26452645+ description: |-
26462646+ Interval at which the HelmChart SourceRef is checked for updates.
26472647+ This interval is approximate and may be subject to jitter to ensure
26482648+ efficient use of resources.
26492649+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
26502650+ type: string
26512651+ reconcileStrategy:
26522652+ default: ChartVersion
26532653+ description: |-
26542654+ ReconcileStrategy determines what enables the creation of a new artifact.
26552655+ Valid values are ('ChartVersion', 'Revision').
26562656+ See the documentation of the values for an explanation on their behavior.
26572657+ Defaults to ChartVersion when omitted.
26582658+ enum:
26592659+ - ChartVersion
26602660+ - Revision
26612661+ type: string
26622662+ sourceRef:
26632663+ description: SourceRef is the reference to the Source the chart is
26642664+ available at.
26652665+ properties:
26662666+ apiVersion:
26672667+ description: APIVersion of the referent.
26682668+ type: string
26692669+ kind:
26702670+ description: |-
26712671+ Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
26722672+ 'Bucket').
26732673+ enum:
26742674+ - HelmRepository
26752675+ - GitRepository
26762676+ - Bucket
26772677+ type: string
26782678+ name:
26792679+ description: Name of the referent.
26802680+ type: string
26812681+ required:
26822682+ - kind
26832683+ - name
26842684+ type: object
26852685+ suspend:
26862686+ description: |-
26872687+ Suspend tells the controller to suspend the reconciliation of this
26882688+ source.
26892689+ type: boolean
26902690+ valuesFiles:
26912691+ description: |-
26922692+ ValuesFiles is an alternative list of values files to use as the chart
26932693+ values (values.yaml is not included by default), expected to be a
26942694+ relative path in the SourceRef.
26952695+ Values files are merged in the order of this list with the last file
26962696+ overriding the first. Ignored when omitted.
26972697+ items:
26982698+ type: string
26992699+ type: array
27002700+ verify:
27012701+ description: |-
27022702+ Verify contains the secret name containing the trusted public keys
27032703+ used to verify the signature and specifies which provider to use to check
27042704+ whether OCI image is authentic.
27052705+ This field is only supported when using HelmRepository source with spec.type 'oci'.
27062706+ Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
27072707+ properties:
27082708+ matchOIDCIdentity:
27092709+ description: |-
27102710+ MatchOIDCIdentity specifies the identity matching criteria to use
27112711+ while verifying an OCI artifact which was signed using Cosign keyless
27122712+ signing. The artifact's identity is deemed to be verified if any of the
27132713+ specified matchers match against the identity.
27142714+ items:
27152715+ description: |-
27162716+ OIDCIdentityMatch specifies options for verifying the certificate identity,
27172717+ i.e. the issuer and the subject of the certificate.
27182718+ properties:
27192719+ issuer:
27202720+ description: |-
27212721+ Issuer specifies the regex pattern to match against to verify
27222722+ the OIDC issuer in the Fulcio certificate. The pattern must be a
27232723+ valid Go regular expression.
27242724+ type: string
27252725+ subject:
27262726+ description: |-
27272727+ Subject specifies the regex pattern to match against to verify
27282728+ the identity subject in the Fulcio certificate. The pattern must
27292729+ be a valid Go regular expression.
27302730+ type: string
27312731+ required:
27322732+ - issuer
27332733+ - subject
27342734+ type: object
27352735+ type: array
27362736+ provider:
27372737+ default: cosign
27382738+ description: Provider specifies the technology used to sign the
27392739+ OCI Artifact.
27402740+ enum:
27412741+ - cosign
27422742+ - notation
27432743+ type: string
27442744+ secretRef:
27452745+ description: |-
27462746+ SecretRef specifies the Kubernetes Secret containing the
27472747+ trusted public keys.
27482748+ properties:
27492749+ name:
27502750+ description: Name of the referent.
27512751+ type: string
27522752+ required:
27532753+ - name
27542754+ type: object
27552755+ required:
27562756+ - provider
27572757+ type: object
27582758+ version:
27592759+ default: '*'
27602760+ description: |-
27612761+ Version is the chart version semver expression, ignored for charts from
27622762+ GitRepository and Bucket sources. Defaults to latest when omitted.
27632763+ type: string
27642764+ required:
27652765+ - chart
27662766+ - interval
27672767+ - sourceRef
27682768+ type: object
27692769+ status:
27702770+ default:
27712771+ observedGeneration: -1
27722772+ description: HelmChartStatus records the observed state of the HelmChart.
27732773+ properties:
27742774+ artifact:
27752775+ description: Artifact represents the output of the last successful
27762776+ reconciliation.
27772777+ properties:
27782778+ digest:
27792779+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
27802780+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
27812781+ type: string
27822782+ lastUpdateTime:
27832783+ description: |-
27842784+ LastUpdateTime is the timestamp corresponding to the last update of the
27852785+ Artifact.
27862786+ format: date-time
27872787+ type: string
27882788+ metadata:
27892789+ additionalProperties:
27902790+ type: string
27912791+ description: Metadata holds upstream information such as OCI annotations.
27922792+ type: object
27932793+ path:
27942794+ description: |-
27952795+ Path is the relative file path of the Artifact. It can be used to locate
27962796+ the file in the root of the Artifact storage on the local file system of
27972797+ the controller managing the Source.
27982798+ type: string
27992799+ revision:
28002800+ description: |-
28012801+ Revision is a human-readable identifier traceable in the origin source
28022802+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
28032803+ type: string
28042804+ size:
28052805+ description: Size is the number of bytes in the file.
28062806+ format: int64
28072807+ type: integer
28082808+ url:
28092809+ description: |-
28102810+ URL is the HTTP address of the Artifact as exposed by the controller
28112811+ managing the Source. It can be used to retrieve the Artifact for
28122812+ consumption, e.g. by another controller applying the Artifact contents.
28132813+ type: string
28142814+ required:
28152815+ - lastUpdateTime
28162816+ - path
28172817+ - revision
28182818+ - url
28192819+ type: object
28202820+ conditions:
28212821+ description: Conditions holds the conditions for the HelmChart.
28222822+ items:
28232823+ description: Condition contains details for one aspect of the current
28242824+ state of this API Resource.
28252825+ properties:
28262826+ lastTransitionTime:
28272827+ description: |-
28282828+ lastTransitionTime is the last time the condition transitioned from one status to another.
28292829+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
28302830+ format: date-time
28312831+ type: string
28322832+ message:
28332833+ description: |-
28342834+ message is a human readable message indicating details about the transition.
28352835+ This may be an empty string.
28362836+ maxLength: 32768
28372837+ type: string
28382838+ observedGeneration:
28392839+ description: |-
28402840+ observedGeneration represents the .metadata.generation that the condition was set based upon.
28412841+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
28422842+ with respect to the current state of the instance.
28432843+ format: int64
28442844+ minimum: 0
28452845+ type: integer
28462846+ reason:
28472847+ description: |-
28482848+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
28492849+ Producers of specific condition types may define expected values and meanings for this field,
28502850+ and whether the values are considered a guaranteed API.
28512851+ The value should be a CamelCase string.
28522852+ This field may not be empty.
28532853+ maxLength: 1024
28542854+ minLength: 1
28552855+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
28562856+ type: string
28572857+ status:
28582858+ description: status of the condition, one of True, False, Unknown.
28592859+ enum:
28602860+ - "True"
28612861+ - "False"
28622862+ - Unknown
28632863+ type: string
28642864+ type:
28652865+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
28662866+ maxLength: 316
28672867+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
28682868+ type: string
28692869+ required:
28702870+ - lastTransitionTime
28712871+ - message
28722872+ - reason
28732873+ - status
28742874+ - type
28752875+ type: object
28762876+ type: array
28772877+ lastHandledReconcileAt:
28782878+ description: |-
28792879+ LastHandledReconcileAt holds the value of the most recent
28802880+ reconcile request value, so a change of the annotation value
28812881+ can be detected.
28822882+ type: string
28832883+ observedChartName:
28842884+ description: |-
28852885+ ObservedChartName is the last observed chart name as specified by the
28862886+ resolved chart reference.
28872887+ type: string
28882888+ observedGeneration:
28892889+ description: |-
28902890+ ObservedGeneration is the last observed generation of the HelmChart
28912891+ object.
28922892+ format: int64
28932893+ type: integer
28942894+ observedSourceArtifactRevision:
28952895+ description: |-
28962896+ ObservedSourceArtifactRevision is the last observed Artifact.Revision
28972897+ of the HelmChartSpec.SourceRef.
28982898+ type: string
28992899+ observedValuesFiles:
29002900+ description: |-
29012901+ ObservedValuesFiles are the observed value files of the last successful
29022902+ reconciliation.
29032903+ It matches the chart in the last successfully reconciled artifact.
29042904+ items:
29052905+ type: string
29062906+ type: array
29072907+ url:
29082908+ description: |-
29092909+ URL is the dynamic fetch link for the latest Artifact.
29102910+ It is provided on a "best effort" basis, and using the precise
29112911+ BucketStatus.Artifact data is recommended.
29122912+ type: string
29132913+ type: object
29142914+ type: object
29152915+ served: true
29162916+ storage: true
29172917+ subresources:
29182918+ status: {}
29192919+ - additionalPrinterColumns:
29202920+ - jsonPath: .spec.chart
29212921+ name: Chart
29222922+ type: string
29232923+ - jsonPath: .spec.version
29242924+ name: Version
29252925+ type: string
29262926+ - jsonPath: .spec.sourceRef.kind
29272927+ name: Source Kind
29282928+ type: string
29292929+ - jsonPath: .spec.sourceRef.name
29302930+ name: Source Name
29312931+ type: string
29322932+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
29332933+ name: Ready
29342934+ type: string
29352935+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
29362936+ name: Status
29372937+ type: string
29382938+ - jsonPath: .metadata.creationTimestamp
29392939+ name: Age
29402940+ type: date
29412941+ deprecated: true
29422942+ deprecationWarning: v1beta1 HelmChart is deprecated, upgrade to v1
29432943+ name: v1beta1
29442944+ schema:
29452945+ openAPIV3Schema:
29462946+ description: HelmChart is the Schema for the helmcharts API
29472947+ properties:
29482948+ apiVersion:
29492949+ description: |-
29502950+ APIVersion defines the versioned schema of this representation of an object.
29512951+ Servers should convert recognized schemas to the latest internal value, and
29522952+ may reject unrecognized values.
29532953+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
29542954+ type: string
29552955+ kind:
29562956+ description: |-
29572957+ Kind is a string value representing the REST resource this object represents.
29582958+ Servers may infer this from the endpoint the client submits requests to.
29592959+ Cannot be updated.
29602960+ In CamelCase.
29612961+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
29622962+ type: string
29632963+ metadata:
29642964+ type: object
29652965+ spec:
29662966+ description: HelmChartSpec defines the desired state of a Helm chart.
29672967+ properties:
29682968+ accessFrom:
29692969+ description: AccessFrom defines an Access Control List for allowing
29702970+ cross-namespace references to this object.
29712971+ properties:
29722972+ namespaceSelectors:
29732973+ description: |-
29742974+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
29752975+ Items in this list are evaluated using a logical OR operation.
29762976+ items:
29772977+ description: |-
29782978+ NamespaceSelector selects the namespaces to which this ACL applies.
29792979+ An empty map of MatchLabels matches all namespaces in a cluster.
29802980+ properties:
29812981+ matchLabels:
29822982+ additionalProperties:
29832983+ type: string
29842984+ description: |-
29852985+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
29862986+ map is equivalent to an element of matchExpressions, whose key field is "key", the
29872987+ operator is "In", and the values array contains only "value". The requirements are ANDed.
29882988+ type: object
29892989+ type: object
29902990+ type: array
29912991+ required:
29922992+ - namespaceSelectors
29932993+ type: object
29942994+ chart:
29952995+ description: The name or path the Helm chart is available at in the
29962996+ SourceRef.
29972997+ type: string
29982998+ interval:
29992999+ description: The interval at which to check the Source for updates.
30003000+ type: string
30013001+ reconcileStrategy:
30023002+ default: ChartVersion
30033003+ description: |-
30043004+ Determines what enables the creation of a new artifact. Valid values are
30053005+ ('ChartVersion', 'Revision').
30063006+ See the documentation of the values for an explanation on their behavior.
30073007+ Defaults to ChartVersion when omitted.
30083008+ enum:
30093009+ - ChartVersion
30103010+ - Revision
30113011+ type: string
30123012+ sourceRef:
30133013+ description: The reference to the Source the chart is available at.
30143014+ properties:
30153015+ apiVersion:
30163016+ description: APIVersion of the referent.
30173017+ type: string
30183018+ kind:
30193019+ description: |-
30203020+ Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
30213021+ 'Bucket').
30223022+ enum:
30233023+ - HelmRepository
30243024+ - GitRepository
30253025+ - Bucket
30263026+ type: string
30273027+ name:
30283028+ description: Name of the referent.
30293029+ type: string
30303030+ required:
30313031+ - kind
30323032+ - name
30333033+ type: object
30343034+ suspend:
30353035+ description: This flag tells the controller to suspend the reconciliation
30363036+ of this source.
30373037+ type: boolean
30383038+ valuesFile:
30393039+ description: |-
30403040+ Alternative values file to use as the default chart values, expected to
30413041+ be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
30423042+ for backwards compatibility the file defined here is merged before the
30433043+ ValuesFiles items. Ignored when omitted.
30443044+ type: string
30453045+ valuesFiles:
30463046+ description: |-
30473047+ Alternative list of values files to use as the chart values (values.yaml
30483048+ is not included by default), expected to be a relative path in the SourceRef.
30493049+ Values files are merged in the order of this list with the last file overriding
30503050+ the first. Ignored when omitted.
30513051+ items:
30523052+ type: string
30533053+ type: array
30543054+ version:
30553055+ default: '*'
30563056+ description: |-
30573057+ The chart version semver expression, ignored for charts from GitRepository
30583058+ and Bucket sources. Defaults to latest when omitted.
30593059+ type: string
30603060+ required:
30613061+ - chart
30623062+ - interval
30633063+ - sourceRef
30643064+ type: object
30653065+ status:
30663066+ default:
30673067+ observedGeneration: -1
30683068+ description: HelmChartStatus defines the observed state of the HelmChart.
30693069+ properties:
30703070+ artifact:
30713071+ description: Artifact represents the output of the last successful
30723072+ chart sync.
30733073+ properties:
30743074+ checksum:
30753075+ description: Checksum is the SHA256 checksum of the artifact.
30763076+ type: string
30773077+ lastUpdateTime:
30783078+ description: |-
30793079+ LastUpdateTime is the timestamp corresponding to the last update of this
30803080+ artifact.
30813081+ format: date-time
30823082+ type: string
30833083+ path:
30843084+ description: Path is the relative file path of this artifact.
30853085+ type: string
30863086+ revision:
30873087+ description: |-
30883088+ Revision is a human readable identifier traceable in the origin source
30893089+ system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
30903090+ chart version, etc.
30913091+ type: string
30923092+ url:
30933093+ description: URL is the HTTP address of this artifact.
30943094+ type: string
30953095+ required:
30963096+ - lastUpdateTime
30973097+ - path
30983098+ - url
30993099+ type: object
31003100+ conditions:
31013101+ description: Conditions holds the conditions for the HelmChart.
31023102+ items:
31033103+ description: Condition contains details for one aspect of the current
31043104+ state of this API Resource.
31053105+ properties:
31063106+ lastTransitionTime:
31073107+ description: |-
31083108+ lastTransitionTime is the last time the condition transitioned from one status to another.
31093109+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
31103110+ format: date-time
31113111+ type: string
31123112+ message:
31133113+ description: |-
31143114+ message is a human readable message indicating details about the transition.
31153115+ This may be an empty string.
31163116+ maxLength: 32768
31173117+ type: string
31183118+ observedGeneration:
31193119+ description: |-
31203120+ observedGeneration represents the .metadata.generation that the condition was set based upon.
31213121+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
31223122+ with respect to the current state of the instance.
31233123+ format: int64
31243124+ minimum: 0
31253125+ type: integer
31263126+ reason:
31273127+ description: |-
31283128+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
31293129+ Producers of specific condition types may define expected values and meanings for this field,
31303130+ and whether the values are considered a guaranteed API.
31313131+ The value should be a CamelCase string.
31323132+ This field may not be empty.
31333133+ maxLength: 1024
31343134+ minLength: 1
31353135+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
31363136+ type: string
31373137+ status:
31383138+ description: status of the condition, one of True, False, Unknown.
31393139+ enum:
31403140+ - "True"
31413141+ - "False"
31423142+ - Unknown
31433143+ type: string
31443144+ type:
31453145+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
31463146+ maxLength: 316
31473147+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
31483148+ type: string
31493149+ required:
31503150+ - lastTransitionTime
31513151+ - message
31523152+ - reason
31533153+ - status
31543154+ - type
31553155+ type: object
31563156+ type: array
31573157+ lastHandledReconcileAt:
31583158+ description: |-
31593159+ LastHandledReconcileAt holds the value of the most recent
31603160+ reconcile request value, so a change of the annotation value
31613161+ can be detected.
31623162+ type: string
31633163+ observedGeneration:
31643164+ description: ObservedGeneration is the last observed generation.
31653165+ format: int64
31663166+ type: integer
31673167+ url:
31683168+ description: URL is the download link for the last chart pulled.
31693169+ type: string
31703170+ type: object
31713171+ type: object
31723172+ served: true
31733173+ storage: false
31743174+ subresources:
31753175+ status: {}
31763176+ - additionalPrinterColumns:
31773177+ - jsonPath: .spec.chart
31783178+ name: Chart
31793179+ type: string
31803180+ - jsonPath: .spec.version
31813181+ name: Version
31823182+ type: string
31833183+ - jsonPath: .spec.sourceRef.kind
31843184+ name: Source Kind
31853185+ type: string
31863186+ - jsonPath: .spec.sourceRef.name
31873187+ name: Source Name
31883188+ type: string
31893189+ - jsonPath: .metadata.creationTimestamp
31903190+ name: Age
31913191+ type: date
31923192+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
31933193+ name: Ready
31943194+ type: string
31953195+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
31963196+ name: Status
31973197+ type: string
31983198+ deprecated: true
31993199+ deprecationWarning: v1beta2 HelmChart is deprecated, upgrade to v1
32003200+ name: v1beta2
32013201+ schema:
32023202+ openAPIV3Schema:
32033203+ description: HelmChart is the Schema for the helmcharts API.
32043204+ properties:
32053205+ apiVersion:
32063206+ description: |-
32073207+ APIVersion defines the versioned schema of this representation of an object.
32083208+ Servers should convert recognized schemas to the latest internal value, and
32093209+ may reject unrecognized values.
32103210+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
32113211+ type: string
32123212+ kind:
32133213+ description: |-
32143214+ Kind is a string value representing the REST resource this object represents.
32153215+ Servers may infer this from the endpoint the client submits requests to.
32163216+ Cannot be updated.
32173217+ In CamelCase.
32183218+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
32193219+ type: string
32203220+ metadata:
32213221+ type: object
32223222+ spec:
32233223+ description: HelmChartSpec specifies the desired state of a Helm chart.
32243224+ properties:
32253225+ accessFrom:
32263226+ description: |-
32273227+ AccessFrom specifies an Access Control List for allowing cross-namespace
32283228+ references to this object.
32293229+ NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
32303230+ properties:
32313231+ namespaceSelectors:
32323232+ description: |-
32333233+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
32343234+ Items in this list are evaluated using a logical OR operation.
32353235+ items:
32363236+ description: |-
32373237+ NamespaceSelector selects the namespaces to which this ACL applies.
32383238+ An empty map of MatchLabels matches all namespaces in a cluster.
32393239+ properties:
32403240+ matchLabels:
32413241+ additionalProperties:
32423242+ type: string
32433243+ description: |-
32443244+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
32453245+ map is equivalent to an element of matchExpressions, whose key field is "key", the
32463246+ operator is "In", and the values array contains only "value". The requirements are ANDed.
32473247+ type: object
32483248+ type: object
32493249+ type: array
32503250+ required:
32513251+ - namespaceSelectors
32523252+ type: object
32533253+ chart:
32543254+ description: |-
32553255+ Chart is the name or path the Helm chart is available at in the
32563256+ SourceRef.
32573257+ type: string
32583258+ ignoreMissingValuesFiles:
32593259+ description: |-
32603260+ IgnoreMissingValuesFiles controls whether to silently ignore missing values
32613261+ files rather than failing.
32623262+ type: boolean
32633263+ interval:
32643264+ description: |-
32653265+ Interval at which the HelmChart SourceRef is checked for updates.
32663266+ This interval is approximate and may be subject to jitter to ensure
32673267+ efficient use of resources.
32683268+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
32693269+ type: string
32703270+ reconcileStrategy:
32713271+ default: ChartVersion
32723272+ description: |-
32733273+ ReconcileStrategy determines what enables the creation of a new artifact.
32743274+ Valid values are ('ChartVersion', 'Revision').
32753275+ See the documentation of the values for an explanation on their behavior.
32763276+ Defaults to ChartVersion when omitted.
32773277+ enum:
32783278+ - ChartVersion
32793279+ - Revision
32803280+ type: string
32813281+ sourceRef:
32823282+ description: SourceRef is the reference to the Source the chart is
32833283+ available at.
32843284+ properties:
32853285+ apiVersion:
32863286+ description: APIVersion of the referent.
32873287+ type: string
32883288+ kind:
32893289+ description: |-
32903290+ Kind of the referent, valid values are ('HelmRepository', 'GitRepository',
32913291+ 'Bucket').
32923292+ enum:
32933293+ - HelmRepository
32943294+ - GitRepository
32953295+ - Bucket
32963296+ type: string
32973297+ name:
32983298+ description: Name of the referent.
32993299+ type: string
33003300+ required:
33013301+ - kind
33023302+ - name
33033303+ type: object
33043304+ suspend:
33053305+ description: |-
33063306+ Suspend tells the controller to suspend the reconciliation of this
33073307+ source.
33083308+ type: boolean
33093309+ valuesFile:
33103310+ description: |-
33113311+ ValuesFile is an alternative values file to use as the default chart
33123312+ values, expected to be a relative path in the SourceRef. Deprecated in
33133313+ favor of ValuesFiles, for backwards compatibility the file specified here
33143314+ is merged before the ValuesFiles items. Ignored when omitted.
33153315+ type: string
33163316+ valuesFiles:
33173317+ description: |-
33183318+ ValuesFiles is an alternative list of values files to use as the chart
33193319+ values (values.yaml is not included by default), expected to be a
33203320+ relative path in the SourceRef.
33213321+ Values files are merged in the order of this list with the last file
33223322+ overriding the first. Ignored when omitted.
33233323+ items:
33243324+ type: string
33253325+ type: array
33263326+ verify:
33273327+ description: |-
33283328+ Verify contains the secret name containing the trusted public keys
33293329+ used to verify the signature and specifies which provider to use to check
33303330+ whether OCI image is authentic.
33313331+ This field is only supported when using HelmRepository source with spec.type 'oci'.
33323332+ Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
33333333+ properties:
33343334+ matchOIDCIdentity:
33353335+ description: |-
33363336+ MatchOIDCIdentity specifies the identity matching criteria to use
33373337+ while verifying an OCI artifact which was signed using Cosign keyless
33383338+ signing. The artifact's identity is deemed to be verified if any of the
33393339+ specified matchers match against the identity.
33403340+ items:
33413341+ description: |-
33423342+ OIDCIdentityMatch specifies options for verifying the certificate identity,
33433343+ i.e. the issuer and the subject of the certificate.
33443344+ properties:
33453345+ issuer:
33463346+ description: |-
33473347+ Issuer specifies the regex pattern to match against to verify
33483348+ the OIDC issuer in the Fulcio certificate. The pattern must be a
33493349+ valid Go regular expression.
33503350+ type: string
33513351+ subject:
33523352+ description: |-
33533353+ Subject specifies the regex pattern to match against to verify
33543354+ the identity subject in the Fulcio certificate. The pattern must
33553355+ be a valid Go regular expression.
33563356+ type: string
33573357+ required:
33583358+ - issuer
33593359+ - subject
33603360+ type: object
33613361+ type: array
33623362+ provider:
33633363+ default: cosign
33643364+ description: Provider specifies the technology used to sign the
33653365+ OCI Artifact.
33663366+ enum:
33673367+ - cosign
33683368+ - notation
33693369+ type: string
33703370+ secretRef:
33713371+ description: |-
33723372+ SecretRef specifies the Kubernetes Secret containing the
33733373+ trusted public keys.
33743374+ properties:
33753375+ name:
33763376+ description: Name of the referent.
33773377+ type: string
33783378+ required:
33793379+ - name
33803380+ type: object
33813381+ required:
33823382+ - provider
33833383+ type: object
33843384+ version:
33853385+ default: '*'
33863386+ description: |-
33873387+ Version is the chart version semver expression, ignored for charts from
33883388+ GitRepository and Bucket sources. Defaults to latest when omitted.
33893389+ type: string
33903390+ required:
33913391+ - chart
33923392+ - interval
33933393+ - sourceRef
33943394+ type: object
33953395+ status:
33963396+ default:
33973397+ observedGeneration: -1
33983398+ description: HelmChartStatus records the observed state of the HelmChart.
33993399+ properties:
34003400+ artifact:
34013401+ description: Artifact represents the output of the last successful
34023402+ reconciliation.
34033403+ properties:
34043404+ digest:
34053405+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
34063406+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
34073407+ type: string
34083408+ lastUpdateTime:
34093409+ description: |-
34103410+ LastUpdateTime is the timestamp corresponding to the last update of the
34113411+ Artifact.
34123412+ format: date-time
34133413+ type: string
34143414+ metadata:
34153415+ additionalProperties:
34163416+ type: string
34173417+ description: Metadata holds upstream information such as OCI annotations.
34183418+ type: object
34193419+ path:
34203420+ description: |-
34213421+ Path is the relative file path of the Artifact. It can be used to locate
34223422+ the file in the root of the Artifact storage on the local file system of
34233423+ the controller managing the Source.
34243424+ type: string
34253425+ revision:
34263426+ description: |-
34273427+ Revision is a human-readable identifier traceable in the origin source
34283428+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
34293429+ type: string
34303430+ size:
34313431+ description: Size is the number of bytes in the file.
34323432+ format: int64
34333433+ type: integer
34343434+ url:
34353435+ description: |-
34363436+ URL is the HTTP address of the Artifact as exposed by the controller
34373437+ managing the Source. It can be used to retrieve the Artifact for
34383438+ consumption, e.g. by another controller applying the Artifact contents.
34393439+ type: string
34403440+ required:
34413441+ - lastUpdateTime
34423442+ - path
34433443+ - revision
34443444+ - url
34453445+ type: object
34463446+ conditions:
34473447+ description: Conditions holds the conditions for the HelmChart.
34483448+ items:
34493449+ description: Condition contains details for one aspect of the current
34503450+ state of this API Resource.
34513451+ properties:
34523452+ lastTransitionTime:
34533453+ description: |-
34543454+ lastTransitionTime is the last time the condition transitioned from one status to another.
34553455+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
34563456+ format: date-time
34573457+ type: string
34583458+ message:
34593459+ description: |-
34603460+ message is a human readable message indicating details about the transition.
34613461+ This may be an empty string.
34623462+ maxLength: 32768
34633463+ type: string
34643464+ observedGeneration:
34653465+ description: |-
34663466+ observedGeneration represents the .metadata.generation that the condition was set based upon.
34673467+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
34683468+ with respect to the current state of the instance.
34693469+ format: int64
34703470+ minimum: 0
34713471+ type: integer
34723472+ reason:
34733473+ description: |-
34743474+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
34753475+ Producers of specific condition types may define expected values and meanings for this field,
34763476+ and whether the values are considered a guaranteed API.
34773477+ The value should be a CamelCase string.
34783478+ This field may not be empty.
34793479+ maxLength: 1024
34803480+ minLength: 1
34813481+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
34823482+ type: string
34833483+ status:
34843484+ description: status of the condition, one of True, False, Unknown.
34853485+ enum:
34863486+ - "True"
34873487+ - "False"
34883488+ - Unknown
34893489+ type: string
34903490+ type:
34913491+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
34923492+ maxLength: 316
34933493+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
34943494+ type: string
34953495+ required:
34963496+ - lastTransitionTime
34973497+ - message
34983498+ - reason
34993499+ - status
35003500+ - type
35013501+ type: object
35023502+ type: array
35033503+ lastHandledReconcileAt:
35043504+ description: |-
35053505+ LastHandledReconcileAt holds the value of the most recent
35063506+ reconcile request value, so a change of the annotation value
35073507+ can be detected.
35083508+ type: string
35093509+ observedChartName:
35103510+ description: |-
35113511+ ObservedChartName is the last observed chart name as specified by the
35123512+ resolved chart reference.
35133513+ type: string
35143514+ observedGeneration:
35153515+ description: |-
35163516+ ObservedGeneration is the last observed generation of the HelmChart
35173517+ object.
35183518+ format: int64
35193519+ type: integer
35203520+ observedSourceArtifactRevision:
35213521+ description: |-
35223522+ ObservedSourceArtifactRevision is the last observed Artifact.Revision
35233523+ of the HelmChartSpec.SourceRef.
35243524+ type: string
35253525+ observedValuesFiles:
35263526+ description: |-
35273527+ ObservedValuesFiles are the observed value files of the last successful
35283528+ reconciliation.
35293529+ It matches the chart in the last successfully reconciled artifact.
35303530+ items:
35313531+ type: string
35323532+ type: array
35333533+ url:
35343534+ description: |-
35353535+ URL is the dynamic fetch link for the latest Artifact.
35363536+ It is provided on a "best effort" basis, and using the precise
35373537+ BucketStatus.Artifact data is recommended.
35383538+ type: string
35393539+ type: object
35403540+ type: object
35413541+ served: true
35423542+ storage: false
35433543+ subresources:
35443544+ status: {}
35453545+---
35463546+apiVersion: apiextensions.k8s.io/v1
35473547+kind: CustomResourceDefinition
35483548+metadata:
35493549+ annotations:
35503550+ controller-gen.kubebuilder.io/version: v0.16.1
35513551+ labels:
35523552+ app.kubernetes.io/component: source-controller
35533553+ app.kubernetes.io/instance: flux-system
35543554+ app.kubernetes.io/part-of: flux
35553555+ app.kubernetes.io/version: v2.6.4
35563556+ name: helmrepositories.source.toolkit.fluxcd.io
35573557+spec:
35583558+ group: source.toolkit.fluxcd.io
35593559+ names:
35603560+ kind: HelmRepository
35613561+ listKind: HelmRepositoryList
35623562+ plural: helmrepositories
35633563+ shortNames:
35643564+ - helmrepo
35653565+ singular: helmrepository
35663566+ scope: Namespaced
35673567+ versions:
35683568+ - additionalPrinterColumns:
35693569+ - jsonPath: .spec.url
35703570+ name: URL
35713571+ type: string
35723572+ - jsonPath: .metadata.creationTimestamp
35733573+ name: Age
35743574+ type: date
35753575+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
35763576+ name: Ready
35773577+ type: string
35783578+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
35793579+ name: Status
35803580+ type: string
35813581+ name: v1
35823582+ schema:
35833583+ openAPIV3Schema:
35843584+ description: HelmRepository is the Schema for the helmrepositories API.
35853585+ properties:
35863586+ apiVersion:
35873587+ description: |-
35883588+ APIVersion defines the versioned schema of this representation of an object.
35893589+ Servers should convert recognized schemas to the latest internal value, and
35903590+ may reject unrecognized values.
35913591+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
35923592+ type: string
35933593+ kind:
35943594+ description: |-
35953595+ Kind is a string value representing the REST resource this object represents.
35963596+ Servers may infer this from the endpoint the client submits requests to.
35973597+ Cannot be updated.
35983598+ In CamelCase.
35993599+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36003600+ type: string
36013601+ metadata:
36023602+ type: object
36033603+ spec:
36043604+ description: |-
36053605+ HelmRepositorySpec specifies the required configuration to produce an
36063606+ Artifact for a Helm repository index YAML.
36073607+ properties:
36083608+ accessFrom:
36093609+ description: |-
36103610+ AccessFrom specifies an Access Control List for allowing cross-namespace
36113611+ references to this object.
36123612+ NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
36133613+ properties:
36143614+ namespaceSelectors:
36153615+ description: |-
36163616+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
36173617+ Items in this list are evaluated using a logical OR operation.
36183618+ items:
36193619+ description: |-
36203620+ NamespaceSelector selects the namespaces to which this ACL applies.
36213621+ An empty map of MatchLabels matches all namespaces in a cluster.
36223622+ properties:
36233623+ matchLabels:
36243624+ additionalProperties:
36253625+ type: string
36263626+ description: |-
36273627+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
36283628+ map is equivalent to an element of matchExpressions, whose key field is "key", the
36293629+ operator is "In", and the values array contains only "value". The requirements are ANDed.
36303630+ type: object
36313631+ type: object
36323632+ type: array
36333633+ required:
36343634+ - namespaceSelectors
36353635+ type: object
36363636+ certSecretRef:
36373637+ description: |-
36383638+ CertSecretRef can be given the name of a Secret containing
36393639+ either or both of
36403640+36413641+ - a PEM-encoded client certificate (`tls.crt`) and private
36423642+ key (`tls.key`);
36433643+ - a PEM-encoded CA certificate (`ca.crt`)
36443644+36453645+ and whichever are supplied, will be used for connecting to the
36463646+ registry. The client cert and key are useful if you are
36473647+ authenticating with a certificate; the CA cert is useful if
36483648+ you are using a self-signed server certificate. The Secret must
36493649+ be of type `Opaque` or `kubernetes.io/tls`.
36503650+36513651+ It takes precedence over the values specified in the Secret referred
36523652+ to by `.spec.secretRef`.
36533653+ properties:
36543654+ name:
36553655+ description: Name of the referent.
36563656+ type: string
36573657+ required:
36583658+ - name
36593659+ type: object
36603660+ insecure:
36613661+ description: |-
36623662+ Insecure allows connecting to a non-TLS HTTP container registry.
36633663+ This field is only taken into account if the .spec.type field is set to 'oci'.
36643664+ type: boolean
36653665+ interval:
36663666+ description: |-
36673667+ Interval at which the HelmRepository URL is checked for updates.
36683668+ This interval is approximate and may be subject to jitter to ensure
36693669+ efficient use of resources.
36703670+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
36713671+ type: string
36723672+ passCredentials:
36733673+ description: |-
36743674+ PassCredentials allows the credentials from the SecretRef to be passed
36753675+ on to a host that does not match the host as defined in URL.
36763676+ This may be required if the host of the advertised chart URLs in the
36773677+ index differ from the defined URL.
36783678+ Enabling this should be done with caution, as it can potentially result
36793679+ in credentials getting stolen in a MITM-attack.
36803680+ type: boolean
36813681+ provider:
36823682+ default: generic
36833683+ description: |-
36843684+ Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
36853685+ This field is optional, and only taken into account if the .spec.type field is set to 'oci'.
36863686+ When not specified, defaults to 'generic'.
36873687+ enum:
36883688+ - generic
36893689+ - aws
36903690+ - azure
36913691+ - gcp
36923692+ type: string
36933693+ secretRef:
36943694+ description: |-
36953695+ SecretRef specifies the Secret containing authentication credentials
36963696+ for the HelmRepository.
36973697+ For HTTP/S basic auth the secret must contain 'username' and 'password'
36983698+ fields.
36993699+ Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
37003700+ keys is deprecated. Please use `.spec.certSecretRef` instead.
37013701+ properties:
37023702+ name:
37033703+ description: Name of the referent.
37043704+ type: string
37053705+ required:
37063706+ - name
37073707+ type: object
37083708+ suspend:
37093709+ description: |-
37103710+ Suspend tells the controller to suspend the reconciliation of this
37113711+ HelmRepository.
37123712+ type: boolean
37133713+ timeout:
37143714+ description: |-
37153715+ Timeout is used for the index fetch operation for an HTTPS helm repository,
37163716+ and for remote OCI Repository operations like pulling for an OCI helm
37173717+ chart by the associated HelmChart.
37183718+ Its default value is 60s.
37193719+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
37203720+ type: string
37213721+ type:
37223722+ description: |-
37233723+ Type of the HelmRepository.
37243724+ When this field is set to "oci", the URL field value must be prefixed with "oci://".
37253725+ enum:
37263726+ - default
37273727+ - oci
37283728+ type: string
37293729+ url:
37303730+ description: |-
37313731+ URL of the Helm repository, a valid URL contains at least a protocol and
37323732+ host.
37333733+ pattern: ^(http|https|oci)://.*$
37343734+ type: string
37353735+ required:
37363736+ - url
37373737+ type: object
37383738+ status:
37393739+ default:
37403740+ observedGeneration: -1
37413741+ description: HelmRepositoryStatus records the observed state of the HelmRepository.
37423742+ properties:
37433743+ artifact:
37443744+ description: Artifact represents the last successful HelmRepository
37453745+ reconciliation.
37463746+ properties:
37473747+ digest:
37483748+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
37493749+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
37503750+ type: string
37513751+ lastUpdateTime:
37523752+ description: |-
37533753+ LastUpdateTime is the timestamp corresponding to the last update of the
37543754+ Artifact.
37553755+ format: date-time
37563756+ type: string
37573757+ metadata:
37583758+ additionalProperties:
37593759+ type: string
37603760+ description: Metadata holds upstream information such as OCI annotations.
37613761+ type: object
37623762+ path:
37633763+ description: |-
37643764+ Path is the relative file path of the Artifact. It can be used to locate
37653765+ the file in the root of the Artifact storage on the local file system of
37663766+ the controller managing the Source.
37673767+ type: string
37683768+ revision:
37693769+ description: |-
37703770+ Revision is a human-readable identifier traceable in the origin source
37713771+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
37723772+ type: string
37733773+ size:
37743774+ description: Size is the number of bytes in the file.
37753775+ format: int64
37763776+ type: integer
37773777+ url:
37783778+ description: |-
37793779+ URL is the HTTP address of the Artifact as exposed by the controller
37803780+ managing the Source. It can be used to retrieve the Artifact for
37813781+ consumption, e.g. by another controller applying the Artifact contents.
37823782+ type: string
37833783+ required:
37843784+ - lastUpdateTime
37853785+ - path
37863786+ - revision
37873787+ - url
37883788+ type: object
37893789+ conditions:
37903790+ description: Conditions holds the conditions for the HelmRepository.
37913791+ items:
37923792+ description: Condition contains details for one aspect of the current
37933793+ state of this API Resource.
37943794+ properties:
37953795+ lastTransitionTime:
37963796+ description: |-
37973797+ lastTransitionTime is the last time the condition transitioned from one status to another.
37983798+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
37993799+ format: date-time
38003800+ type: string
38013801+ message:
38023802+ description: |-
38033803+ message is a human readable message indicating details about the transition.
38043804+ This may be an empty string.
38053805+ maxLength: 32768
38063806+ type: string
38073807+ observedGeneration:
38083808+ description: |-
38093809+ observedGeneration represents the .metadata.generation that the condition was set based upon.
38103810+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
38113811+ with respect to the current state of the instance.
38123812+ format: int64
38133813+ minimum: 0
38143814+ type: integer
38153815+ reason:
38163816+ description: |-
38173817+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
38183818+ Producers of specific condition types may define expected values and meanings for this field,
38193819+ and whether the values are considered a guaranteed API.
38203820+ The value should be a CamelCase string.
38213821+ This field may not be empty.
38223822+ maxLength: 1024
38233823+ minLength: 1
38243824+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
38253825+ type: string
38263826+ status:
38273827+ description: status of the condition, one of True, False, Unknown.
38283828+ enum:
38293829+ - "True"
38303830+ - "False"
38313831+ - Unknown
38323832+ type: string
38333833+ type:
38343834+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
38353835+ maxLength: 316
38363836+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
38373837+ type: string
38383838+ required:
38393839+ - lastTransitionTime
38403840+ - message
38413841+ - reason
38423842+ - status
38433843+ - type
38443844+ type: object
38453845+ type: array
38463846+ lastHandledReconcileAt:
38473847+ description: |-
38483848+ LastHandledReconcileAt holds the value of the most recent
38493849+ reconcile request value, so a change of the annotation value
38503850+ can be detected.
38513851+ type: string
38523852+ observedGeneration:
38533853+ description: |-
38543854+ ObservedGeneration is the last observed generation of the HelmRepository
38553855+ object.
38563856+ format: int64
38573857+ type: integer
38583858+ url:
38593859+ description: |-
38603860+ URL is the dynamic fetch link for the latest Artifact.
38613861+ It is provided on a "best effort" basis, and using the precise
38623862+ HelmRepositoryStatus.Artifact data is recommended.
38633863+ type: string
38643864+ type: object
38653865+ type: object
38663866+ served: true
38673867+ storage: true
38683868+ subresources:
38693869+ status: {}
38703870+ - additionalPrinterColumns:
38713871+ - jsonPath: .spec.url
38723872+ name: URL
38733873+ type: string
38743874+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
38753875+ name: Ready
38763876+ type: string
38773877+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
38783878+ name: Status
38793879+ type: string
38803880+ - jsonPath: .metadata.creationTimestamp
38813881+ name: Age
38823882+ type: date
38833883+ deprecated: true
38843884+ deprecationWarning: v1beta1 HelmRepository is deprecated, upgrade to v1
38853885+ name: v1beta1
38863886+ schema:
38873887+ openAPIV3Schema:
38883888+ description: HelmRepository is the Schema for the helmrepositories API
38893889+ properties:
38903890+ apiVersion:
38913891+ description: |-
38923892+ APIVersion defines the versioned schema of this representation of an object.
38933893+ Servers should convert recognized schemas to the latest internal value, and
38943894+ may reject unrecognized values.
38953895+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
38963896+ type: string
38973897+ kind:
38983898+ description: |-
38993899+ Kind is a string value representing the REST resource this object represents.
39003900+ Servers may infer this from the endpoint the client submits requests to.
39013901+ Cannot be updated.
39023902+ In CamelCase.
39033903+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39043904+ type: string
39053905+ metadata:
39063906+ type: object
39073907+ spec:
39083908+ description: HelmRepositorySpec defines the reference to a Helm repository.
39093909+ properties:
39103910+ accessFrom:
39113911+ description: AccessFrom defines an Access Control List for allowing
39123912+ cross-namespace references to this object.
39133913+ properties:
39143914+ namespaceSelectors:
39153915+ description: |-
39163916+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
39173917+ Items in this list are evaluated using a logical OR operation.
39183918+ items:
39193919+ description: |-
39203920+ NamespaceSelector selects the namespaces to which this ACL applies.
39213921+ An empty map of MatchLabels matches all namespaces in a cluster.
39223922+ properties:
39233923+ matchLabels:
39243924+ additionalProperties:
39253925+ type: string
39263926+ description: |-
39273927+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
39283928+ map is equivalent to an element of matchExpressions, whose key field is "key", the
39293929+ operator is "In", and the values array contains only "value". The requirements are ANDed.
39303930+ type: object
39313931+ type: object
39323932+ type: array
39333933+ required:
39343934+ - namespaceSelectors
39353935+ type: object
39363936+ interval:
39373937+ description: The interval at which to check the upstream for updates.
39383938+ type: string
39393939+ passCredentials:
39403940+ description: |-
39413941+ PassCredentials allows the credentials from the SecretRef to be passed on to
39423942+ a host that does not match the host as defined in URL.
39433943+ This may be required if the host of the advertised chart URLs in the index
39443944+ differ from the defined URL.
39453945+ Enabling this should be done with caution, as it can potentially result in
39463946+ credentials getting stolen in a MITM-attack.
39473947+ type: boolean
39483948+ secretRef:
39493949+ description: |-
39503950+ The name of the secret containing authentication credentials for the Helm
39513951+ repository.
39523952+ For HTTP/S basic auth the secret must contain username and
39533953+ password fields.
39543954+ For TLS the secret must contain a certFile and keyFile, and/or
39553955+ caFile fields.
39563956+ properties:
39573957+ name:
39583958+ description: Name of the referent.
39593959+ type: string
39603960+ required:
39613961+ - name
39623962+ type: object
39633963+ suspend:
39643964+ description: This flag tells the controller to suspend the reconciliation
39653965+ of this source.
39663966+ type: boolean
39673967+ timeout:
39683968+ default: 60s
39693969+ description: The timeout of index downloading, defaults to 60s.
39703970+ type: string
39713971+ url:
39723972+ description: The Helm repository URL, a valid URL contains at least
39733973+ a protocol and host.
39743974+ type: string
39753975+ required:
39763976+ - interval
39773977+ - url
39783978+ type: object
39793979+ status:
39803980+ default:
39813981+ observedGeneration: -1
39823982+ description: HelmRepositoryStatus defines the observed state of the HelmRepository.
39833983+ properties:
39843984+ artifact:
39853985+ description: Artifact represents the output of the last successful
39863986+ repository sync.
39873987+ properties:
39883988+ checksum:
39893989+ description: Checksum is the SHA256 checksum of the artifact.
39903990+ type: string
39913991+ lastUpdateTime:
39923992+ description: |-
39933993+ LastUpdateTime is the timestamp corresponding to the last update of this
39943994+ artifact.
39953995+ format: date-time
39963996+ type: string
39973997+ path:
39983998+ description: Path is the relative file path of this artifact.
39993999+ type: string
40004000+ revision:
40014001+ description: |-
40024002+ Revision is a human readable identifier traceable in the origin source
40034003+ system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
40044004+ chart version, etc.
40054005+ type: string
40064006+ url:
40074007+ description: URL is the HTTP address of this artifact.
40084008+ type: string
40094009+ required:
40104010+ - lastUpdateTime
40114011+ - path
40124012+ - url
40134013+ type: object
40144014+ conditions:
40154015+ description: Conditions holds the conditions for the HelmRepository.
40164016+ items:
40174017+ description: Condition contains details for one aspect of the current
40184018+ state of this API Resource.
40194019+ properties:
40204020+ lastTransitionTime:
40214021+ description: |-
40224022+ lastTransitionTime is the last time the condition transitioned from one status to another.
40234023+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
40244024+ format: date-time
40254025+ type: string
40264026+ message:
40274027+ description: |-
40284028+ message is a human readable message indicating details about the transition.
40294029+ This may be an empty string.
40304030+ maxLength: 32768
40314031+ type: string
40324032+ observedGeneration:
40334033+ description: |-
40344034+ observedGeneration represents the .metadata.generation that the condition was set based upon.
40354035+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
40364036+ with respect to the current state of the instance.
40374037+ format: int64
40384038+ minimum: 0
40394039+ type: integer
40404040+ reason:
40414041+ description: |-
40424042+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
40434043+ Producers of specific condition types may define expected values and meanings for this field,
40444044+ and whether the values are considered a guaranteed API.
40454045+ The value should be a CamelCase string.
40464046+ This field may not be empty.
40474047+ maxLength: 1024
40484048+ minLength: 1
40494049+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
40504050+ type: string
40514051+ status:
40524052+ description: status of the condition, one of True, False, Unknown.
40534053+ enum:
40544054+ - "True"
40554055+ - "False"
40564056+ - Unknown
40574057+ type: string
40584058+ type:
40594059+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
40604060+ maxLength: 316
40614061+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
40624062+ type: string
40634063+ required:
40644064+ - lastTransitionTime
40654065+ - message
40664066+ - reason
40674067+ - status
40684068+ - type
40694069+ type: object
40704070+ type: array
40714071+ lastHandledReconcileAt:
40724072+ description: |-
40734073+ LastHandledReconcileAt holds the value of the most recent
40744074+ reconcile request value, so a change of the annotation value
40754075+ can be detected.
40764076+ type: string
40774077+ observedGeneration:
40784078+ description: ObservedGeneration is the last observed generation.
40794079+ format: int64
40804080+ type: integer
40814081+ url:
40824082+ description: URL is the download link for the last index fetched.
40834083+ type: string
40844084+ type: object
40854085+ type: object
40864086+ served: true
40874087+ storage: false
40884088+ subresources:
40894089+ status: {}
40904090+ - additionalPrinterColumns:
40914091+ - jsonPath: .spec.url
40924092+ name: URL
40934093+ type: string
40944094+ - jsonPath: .metadata.creationTimestamp
40954095+ name: Age
40964096+ type: date
40974097+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
40984098+ name: Ready
40994099+ type: string
41004100+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
41014101+ name: Status
41024102+ type: string
41034103+ deprecated: true
41044104+ deprecationWarning: v1beta2 HelmRepository is deprecated, upgrade to v1
41054105+ name: v1beta2
41064106+ schema:
41074107+ openAPIV3Schema:
41084108+ description: HelmRepository is the Schema for the helmrepositories API.
41094109+ properties:
41104110+ apiVersion:
41114111+ description: |-
41124112+ APIVersion defines the versioned schema of this representation of an object.
41134113+ Servers should convert recognized schemas to the latest internal value, and
41144114+ may reject unrecognized values.
41154115+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
41164116+ type: string
41174117+ kind:
41184118+ description: |-
41194119+ Kind is a string value representing the REST resource this object represents.
41204120+ Servers may infer this from the endpoint the client submits requests to.
41214121+ Cannot be updated.
41224122+ In CamelCase.
41234123+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
41244124+ type: string
41254125+ metadata:
41264126+ type: object
41274127+ spec:
41284128+ description: |-
41294129+ HelmRepositorySpec specifies the required configuration to produce an
41304130+ Artifact for a Helm repository index YAML.
41314131+ properties:
41324132+ accessFrom:
41334133+ description: |-
41344134+ AccessFrom specifies an Access Control List for allowing cross-namespace
41354135+ references to this object.
41364136+ NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
41374137+ properties:
41384138+ namespaceSelectors:
41394139+ description: |-
41404140+ NamespaceSelectors is the list of namespace selectors to which this ACL applies.
41414141+ Items in this list are evaluated using a logical OR operation.
41424142+ items:
41434143+ description: |-
41444144+ NamespaceSelector selects the namespaces to which this ACL applies.
41454145+ An empty map of MatchLabels matches all namespaces in a cluster.
41464146+ properties:
41474147+ matchLabels:
41484148+ additionalProperties:
41494149+ type: string
41504150+ description: |-
41514151+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
41524152+ map is equivalent to an element of matchExpressions, whose key field is "key", the
41534153+ operator is "In", and the values array contains only "value". The requirements are ANDed.
41544154+ type: object
41554155+ type: object
41564156+ type: array
41574157+ required:
41584158+ - namespaceSelectors
41594159+ type: object
41604160+ certSecretRef:
41614161+ description: |-
41624162+ CertSecretRef can be given the name of a Secret containing
41634163+ either or both of
41644164+41654165+ - a PEM-encoded client certificate (`tls.crt`) and private
41664166+ key (`tls.key`);
41674167+ - a PEM-encoded CA certificate (`ca.crt`)
41684168+41694169+ and whichever are supplied, will be used for connecting to the
41704170+ registry. The client cert and key are useful if you are
41714171+ authenticating with a certificate; the CA cert is useful if
41724172+ you are using a self-signed server certificate. The Secret must
41734173+ be of type `Opaque` or `kubernetes.io/tls`.
41744174+41754175+ It takes precedence over the values specified in the Secret referred
41764176+ to by `.spec.secretRef`.
41774177+ properties:
41784178+ name:
41794179+ description: Name of the referent.
41804180+ type: string
41814181+ required:
41824182+ - name
41834183+ type: object
41844184+ insecure:
41854185+ description: |-
41864186+ Insecure allows connecting to a non-TLS HTTP container registry.
41874187+ This field is only taken into account if the .spec.type field is set to 'oci'.
41884188+ type: boolean
41894189+ interval:
41904190+ description: |-
41914191+ Interval at which the HelmRepository URL is checked for updates.
41924192+ This interval is approximate and may be subject to jitter to ensure
41934193+ efficient use of resources.
41944194+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
41954195+ type: string
41964196+ passCredentials:
41974197+ description: |-
41984198+ PassCredentials allows the credentials from the SecretRef to be passed
41994199+ on to a host that does not match the host as defined in URL.
42004200+ This may be required if the host of the advertised chart URLs in the
42014201+ index differ from the defined URL.
42024202+ Enabling this should be done with caution, as it can potentially result
42034203+ in credentials getting stolen in a MITM-attack.
42044204+ type: boolean
42054205+ provider:
42064206+ default: generic
42074207+ description: |-
42084208+ Provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
42094209+ This field is optional, and only taken into account if the .spec.type field is set to 'oci'.
42104210+ When not specified, defaults to 'generic'.
42114211+ enum:
42124212+ - generic
42134213+ - aws
42144214+ - azure
42154215+ - gcp
42164216+ type: string
42174217+ secretRef:
42184218+ description: |-
42194219+ SecretRef specifies the Secret containing authentication credentials
42204220+ for the HelmRepository.
42214221+ For HTTP/S basic auth the secret must contain 'username' and 'password'
42224222+ fields.
42234223+ Support for TLS auth using the 'certFile' and 'keyFile', and/or 'caFile'
42244224+ keys is deprecated. Please use `.spec.certSecretRef` instead.
42254225+ properties:
42264226+ name:
42274227+ description: Name of the referent.
42284228+ type: string
42294229+ required:
42304230+ - name
42314231+ type: object
42324232+ suspend:
42334233+ description: |-
42344234+ Suspend tells the controller to suspend the reconciliation of this
42354235+ HelmRepository.
42364236+ type: boolean
42374237+ timeout:
42384238+ description: |-
42394239+ Timeout is used for the index fetch operation for an HTTPS helm repository,
42404240+ and for remote OCI Repository operations like pulling for an OCI helm
42414241+ chart by the associated HelmChart.
42424242+ Its default value is 60s.
42434243+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
42444244+ type: string
42454245+ type:
42464246+ description: |-
42474247+ Type of the HelmRepository.
42484248+ When this field is set to "oci", the URL field value must be prefixed with "oci://".
42494249+ enum:
42504250+ - default
42514251+ - oci
42524252+ type: string
42534253+ url:
42544254+ description: |-
42554255+ URL of the Helm repository, a valid URL contains at least a protocol and
42564256+ host.
42574257+ pattern: ^(http|https|oci)://.*$
42584258+ type: string
42594259+ required:
42604260+ - url
42614261+ type: object
42624262+ status:
42634263+ default:
42644264+ observedGeneration: -1
42654265+ description: HelmRepositoryStatus records the observed state of the HelmRepository.
42664266+ properties:
42674267+ artifact:
42684268+ description: Artifact represents the last successful HelmRepository
42694269+ reconciliation.
42704270+ properties:
42714271+ digest:
42724272+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
42734273+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
42744274+ type: string
42754275+ lastUpdateTime:
42764276+ description: |-
42774277+ LastUpdateTime is the timestamp corresponding to the last update of the
42784278+ Artifact.
42794279+ format: date-time
42804280+ type: string
42814281+ metadata:
42824282+ additionalProperties:
42834283+ type: string
42844284+ description: Metadata holds upstream information such as OCI annotations.
42854285+ type: object
42864286+ path:
42874287+ description: |-
42884288+ Path is the relative file path of the Artifact. It can be used to locate
42894289+ the file in the root of the Artifact storage on the local file system of
42904290+ the controller managing the Source.
42914291+ type: string
42924292+ revision:
42934293+ description: |-
42944294+ Revision is a human-readable identifier traceable in the origin source
42954295+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
42964296+ type: string
42974297+ size:
42984298+ description: Size is the number of bytes in the file.
42994299+ format: int64
43004300+ type: integer
43014301+ url:
43024302+ description: |-
43034303+ URL is the HTTP address of the Artifact as exposed by the controller
43044304+ managing the Source. It can be used to retrieve the Artifact for
43054305+ consumption, e.g. by another controller applying the Artifact contents.
43064306+ type: string
43074307+ required:
43084308+ - lastUpdateTime
43094309+ - path
43104310+ - revision
43114311+ - url
43124312+ type: object
43134313+ conditions:
43144314+ description: Conditions holds the conditions for the HelmRepository.
43154315+ items:
43164316+ description: Condition contains details for one aspect of the current
43174317+ state of this API Resource.
43184318+ properties:
43194319+ lastTransitionTime:
43204320+ description: |-
43214321+ lastTransitionTime is the last time the condition transitioned from one status to another.
43224322+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
43234323+ format: date-time
43244324+ type: string
43254325+ message:
43264326+ description: |-
43274327+ message is a human readable message indicating details about the transition.
43284328+ This may be an empty string.
43294329+ maxLength: 32768
43304330+ type: string
43314331+ observedGeneration:
43324332+ description: |-
43334333+ observedGeneration represents the .metadata.generation that the condition was set based upon.
43344334+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
43354335+ with respect to the current state of the instance.
43364336+ format: int64
43374337+ minimum: 0
43384338+ type: integer
43394339+ reason:
43404340+ description: |-
43414341+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
43424342+ Producers of specific condition types may define expected values and meanings for this field,
43434343+ and whether the values are considered a guaranteed API.
43444344+ The value should be a CamelCase string.
43454345+ This field may not be empty.
43464346+ maxLength: 1024
43474347+ minLength: 1
43484348+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
43494349+ type: string
43504350+ status:
43514351+ description: status of the condition, one of True, False, Unknown.
43524352+ enum:
43534353+ - "True"
43544354+ - "False"
43554355+ - Unknown
43564356+ type: string
43574357+ type:
43584358+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
43594359+ maxLength: 316
43604360+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
43614361+ type: string
43624362+ required:
43634363+ - lastTransitionTime
43644364+ - message
43654365+ - reason
43664366+ - status
43674367+ - type
43684368+ type: object
43694369+ type: array
43704370+ lastHandledReconcileAt:
43714371+ description: |-
43724372+ LastHandledReconcileAt holds the value of the most recent
43734373+ reconcile request value, so a change of the annotation value
43744374+ can be detected.
43754375+ type: string
43764376+ observedGeneration:
43774377+ description: |-
43784378+ ObservedGeneration is the last observed generation of the HelmRepository
43794379+ object.
43804380+ format: int64
43814381+ type: integer
43824382+ url:
43834383+ description: |-
43844384+ URL is the dynamic fetch link for the latest Artifact.
43854385+ It is provided on a "best effort" basis, and using the precise
43864386+ HelmRepositoryStatus.Artifact data is recommended.
43874387+ type: string
43884388+ type: object
43894389+ type: object
43904390+ served: true
43914391+ storage: false
43924392+ subresources:
43934393+ status: {}
43944394+---
43954395+apiVersion: apiextensions.k8s.io/v1
43964396+kind: CustomResourceDefinition
43974397+metadata:
43984398+ annotations:
43994399+ controller-gen.kubebuilder.io/version: v0.16.1
44004400+ labels:
44014401+ app.kubernetes.io/component: source-controller
44024402+ app.kubernetes.io/instance: flux-system
44034403+ app.kubernetes.io/part-of: flux
44044404+ app.kubernetes.io/version: v2.6.4
44054405+ name: ocirepositories.source.toolkit.fluxcd.io
44064406+spec:
44074407+ group: source.toolkit.fluxcd.io
44084408+ names:
44094409+ kind: OCIRepository
44104410+ listKind: OCIRepositoryList
44114411+ plural: ocirepositories
44124412+ shortNames:
44134413+ - ocirepo
44144414+ singular: ocirepository
44154415+ scope: Namespaced
44164416+ versions:
44174417+ - additionalPrinterColumns:
44184418+ - jsonPath: .spec.url
44194419+ name: URL
44204420+ type: string
44214421+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
44224422+ name: Ready
44234423+ type: string
44244424+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
44254425+ name: Status
44264426+ type: string
44274427+ - jsonPath: .metadata.creationTimestamp
44284428+ name: Age
44294429+ type: date
44304430+ name: v1
44314431+ schema:
44324432+ openAPIV3Schema:
44334433+ description: OCIRepository is the Schema for the ocirepositories API
44344434+ properties:
44354435+ apiVersion:
44364436+ description: |-
44374437+ APIVersion defines the versioned schema of this representation of an object.
44384438+ Servers should convert recognized schemas to the latest internal value, and
44394439+ may reject unrecognized values.
44404440+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
44414441+ type: string
44424442+ kind:
44434443+ description: |-
44444444+ Kind is a string value representing the REST resource this object represents.
44454445+ Servers may infer this from the endpoint the client submits requests to.
44464446+ Cannot be updated.
44474447+ In CamelCase.
44484448+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44494449+ type: string
44504450+ metadata:
44514451+ type: object
44524452+ spec:
44534453+ description: OCIRepositorySpec defines the desired state of OCIRepository
44544454+ properties:
44554455+ certSecretRef:
44564456+ description: |-
44574457+ CertSecretRef can be given the name of a Secret containing
44584458+ either or both of
44594459+44604460+ - a PEM-encoded client certificate (`tls.crt`) and private
44614461+ key (`tls.key`);
44624462+ - a PEM-encoded CA certificate (`ca.crt`)
44634463+44644464+ and whichever are supplied, will be used for connecting to the
44654465+ registry. The client cert and key are useful if you are
44664466+ authenticating with a certificate; the CA cert is useful if
44674467+ you are using a self-signed server certificate. The Secret must
44684468+ be of type `Opaque` or `kubernetes.io/tls`.
44694469+ properties:
44704470+ name:
44714471+ description: Name of the referent.
44724472+ type: string
44734473+ required:
44744474+ - name
44754475+ type: object
44764476+ ignore:
44774477+ description: |-
44784478+ Ignore overrides the set of excluded patterns in the .sourceignore format
44794479+ (which is the same as .gitignore). If not provided, a default will be used,
44804480+ consult the documentation for your version to find out what those are.
44814481+ type: string
44824482+ insecure:
44834483+ description: Insecure allows connecting to a non-TLS HTTP container
44844484+ registry.
44854485+ type: boolean
44864486+ interval:
44874487+ description: |-
44884488+ Interval at which the OCIRepository URL is checked for updates.
44894489+ This interval is approximate and may be subject to jitter to ensure
44904490+ efficient use of resources.
44914491+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
44924492+ type: string
44934493+ layerSelector:
44944494+ description: |-
44954495+ LayerSelector specifies which layer should be extracted from the OCI artifact.
44964496+ When not specified, the first layer found in the artifact is selected.
44974497+ properties:
44984498+ mediaType:
44994499+ description: |-
45004500+ MediaType specifies the OCI media type of the layer
45014501+ which should be extracted from the OCI Artifact. The
45024502+ first layer matching this type is selected.
45034503+ type: string
45044504+ operation:
45054505+ description: |-
45064506+ Operation specifies how the selected layer should be processed.
45074507+ By default, the layer compressed content is extracted to storage.
45084508+ When the operation is set to 'copy', the layer compressed content
45094509+ is persisted to storage as it is.
45104510+ enum:
45114511+ - extract
45124512+ - copy
45134513+ type: string
45144514+ type: object
45154515+ provider:
45164516+ default: generic
45174517+ description: |-
45184518+ The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
45194519+ When not specified, defaults to 'generic'.
45204520+ enum:
45214521+ - generic
45224522+ - aws
45234523+ - azure
45244524+ - gcp
45254525+ type: string
45264526+ proxySecretRef:
45274527+ description: |-
45284528+ ProxySecretRef specifies the Secret containing the proxy configuration
45294529+ to use while communicating with the container registry.
45304530+ properties:
45314531+ name:
45324532+ description: Name of the referent.
45334533+ type: string
45344534+ required:
45354535+ - name
45364536+ type: object
45374537+ ref:
45384538+ description: |-
45394539+ The OCI reference to pull and monitor for changes,
45404540+ defaults to the latest tag.
45414541+ properties:
45424542+ digest:
45434543+ description: |-
45444544+ Digest is the image digest to pull, takes precedence over SemVer.
45454545+ The value should be in the format 'sha256:<HASH>'.
45464546+ type: string
45474547+ semver:
45484548+ description: |-
45494549+ SemVer is the range of tags to pull selecting the latest within
45504550+ the range, takes precedence over Tag.
45514551+ type: string
45524552+ semverFilter:
45534553+ description: SemverFilter is a regex pattern to filter the tags
45544554+ within the SemVer range.
45554555+ type: string
45564556+ tag:
45574557+ description: Tag is the image tag to pull, defaults to latest.
45584558+ type: string
45594559+ type: object
45604560+ secretRef:
45614561+ description: |-
45624562+ SecretRef contains the secret name containing the registry login
45634563+ credentials to resolve image metadata.
45644564+ The secret must be of type kubernetes.io/dockerconfigjson.
45654565+ properties:
45664566+ name:
45674567+ description: Name of the referent.
45684568+ type: string
45694569+ required:
45704570+ - name
45714571+ type: object
45724572+ serviceAccountName:
45734573+ description: |-
45744574+ ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate
45754575+ the image pull if the service account has attached pull secrets. For more information:
45764576+ https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account
45774577+ type: string
45784578+ suspend:
45794579+ description: This flag tells the controller to suspend the reconciliation
45804580+ of this source.
45814581+ type: boolean
45824582+ timeout:
45834583+ default: 60s
45844584+ description: The timeout for remote OCI Repository operations like
45854585+ pulling, defaults to 60s.
45864586+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
45874587+ type: string
45884588+ url:
45894589+ description: |-
45904590+ URL is a reference to an OCI artifact repository hosted
45914591+ on a remote container registry.
45924592+ pattern: ^oci://.*$
45934593+ type: string
45944594+ verify:
45954595+ description: |-
45964596+ Verify contains the secret name containing the trusted public keys
45974597+ used to verify the signature and specifies which provider to use to check
45984598+ whether OCI image is authentic.
45994599+ properties:
46004600+ matchOIDCIdentity:
46014601+ description: |-
46024602+ MatchOIDCIdentity specifies the identity matching criteria to use
46034603+ while verifying an OCI artifact which was signed using Cosign keyless
46044604+ signing. The artifact's identity is deemed to be verified if any of the
46054605+ specified matchers match against the identity.
46064606+ items:
46074607+ description: |-
46084608+ OIDCIdentityMatch specifies options for verifying the certificate identity,
46094609+ i.e. the issuer and the subject of the certificate.
46104610+ properties:
46114611+ issuer:
46124612+ description: |-
46134613+ Issuer specifies the regex pattern to match against to verify
46144614+ the OIDC issuer in the Fulcio certificate. The pattern must be a
46154615+ valid Go regular expression.
46164616+ type: string
46174617+ subject:
46184618+ description: |-
46194619+ Subject specifies the regex pattern to match against to verify
46204620+ the identity subject in the Fulcio certificate. The pattern must
46214621+ be a valid Go regular expression.
46224622+ type: string
46234623+ required:
46244624+ - issuer
46254625+ - subject
46264626+ type: object
46274627+ type: array
46284628+ provider:
46294629+ default: cosign
46304630+ description: Provider specifies the technology used to sign the
46314631+ OCI Artifact.
46324632+ enum:
46334633+ - cosign
46344634+ - notation
46354635+ type: string
46364636+ secretRef:
46374637+ description: |-
46384638+ SecretRef specifies the Kubernetes Secret containing the
46394639+ trusted public keys.
46404640+ properties:
46414641+ name:
46424642+ description: Name of the referent.
46434643+ type: string
46444644+ required:
46454645+ - name
46464646+ type: object
46474647+ required:
46484648+ - provider
46494649+ type: object
46504650+ required:
46514651+ - interval
46524652+ - url
46534653+ type: object
46544654+ status:
46554655+ default:
46564656+ observedGeneration: -1
46574657+ description: OCIRepositoryStatus defines the observed state of OCIRepository
46584658+ properties:
46594659+ artifact:
46604660+ description: Artifact represents the output of the last successful
46614661+ OCI Repository sync.
46624662+ properties:
46634663+ digest:
46644664+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
46654665+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
46664666+ type: string
46674667+ lastUpdateTime:
46684668+ description: |-
46694669+ LastUpdateTime is the timestamp corresponding to the last update of the
46704670+ Artifact.
46714671+ format: date-time
46724672+ type: string
46734673+ metadata:
46744674+ additionalProperties:
46754675+ type: string
46764676+ description: Metadata holds upstream information such as OCI annotations.
46774677+ type: object
46784678+ path:
46794679+ description: |-
46804680+ Path is the relative file path of the Artifact. It can be used to locate
46814681+ the file in the root of the Artifact storage on the local file system of
46824682+ the controller managing the Source.
46834683+ type: string
46844684+ revision:
46854685+ description: |-
46864686+ Revision is a human-readable identifier traceable in the origin source
46874687+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
46884688+ type: string
46894689+ size:
46904690+ description: Size is the number of bytes in the file.
46914691+ format: int64
46924692+ type: integer
46934693+ url:
46944694+ description: |-
46954695+ URL is the HTTP address of the Artifact as exposed by the controller
46964696+ managing the Source. It can be used to retrieve the Artifact for
46974697+ consumption, e.g. by another controller applying the Artifact contents.
46984698+ type: string
46994699+ required:
47004700+ - lastUpdateTime
47014701+ - path
47024702+ - revision
47034703+ - url
47044704+ type: object
47054705+ conditions:
47064706+ description: Conditions holds the conditions for the OCIRepository.
47074707+ items:
47084708+ description: Condition contains details for one aspect of the current
47094709+ state of this API Resource.
47104710+ properties:
47114711+ lastTransitionTime:
47124712+ description: |-
47134713+ lastTransitionTime is the last time the condition transitioned from one status to another.
47144714+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
47154715+ format: date-time
47164716+ type: string
47174717+ message:
47184718+ description: |-
47194719+ message is a human readable message indicating details about the transition.
47204720+ This may be an empty string.
47214721+ maxLength: 32768
47224722+ type: string
47234723+ observedGeneration:
47244724+ description: |-
47254725+ observedGeneration represents the .metadata.generation that the condition was set based upon.
47264726+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
47274727+ with respect to the current state of the instance.
47284728+ format: int64
47294729+ minimum: 0
47304730+ type: integer
47314731+ reason:
47324732+ description: |-
47334733+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
47344734+ Producers of specific condition types may define expected values and meanings for this field,
47354735+ and whether the values are considered a guaranteed API.
47364736+ The value should be a CamelCase string.
47374737+ This field may not be empty.
47384738+ maxLength: 1024
47394739+ minLength: 1
47404740+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
47414741+ type: string
47424742+ status:
47434743+ description: status of the condition, one of True, False, Unknown.
47444744+ enum:
47454745+ - "True"
47464746+ - "False"
47474747+ - Unknown
47484748+ type: string
47494749+ type:
47504750+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
47514751+ maxLength: 316
47524752+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
47534753+ type: string
47544754+ required:
47554755+ - lastTransitionTime
47564756+ - message
47574757+ - reason
47584758+ - status
47594759+ - type
47604760+ type: object
47614761+ type: array
47624762+ lastHandledReconcileAt:
47634763+ description: |-
47644764+ LastHandledReconcileAt holds the value of the most recent
47654765+ reconcile request value, so a change of the annotation value
47664766+ can be detected.
47674767+ type: string
47684768+ observedGeneration:
47694769+ description: ObservedGeneration is the last observed generation.
47704770+ format: int64
47714771+ type: integer
47724772+ observedIgnore:
47734773+ description: |-
47744774+ ObservedIgnore is the observed exclusion patterns used for constructing
47754775+ the source artifact.
47764776+ type: string
47774777+ observedLayerSelector:
47784778+ description: |-
47794779+ ObservedLayerSelector is the observed layer selector used for constructing
47804780+ the source artifact.
47814781+ properties:
47824782+ mediaType:
47834783+ description: |-
47844784+ MediaType specifies the OCI media type of the layer
47854785+ which should be extracted from the OCI Artifact. The
47864786+ first layer matching this type is selected.
47874787+ type: string
47884788+ operation:
47894789+ description: |-
47904790+ Operation specifies how the selected layer should be processed.
47914791+ By default, the layer compressed content is extracted to storage.
47924792+ When the operation is set to 'copy', the layer compressed content
47934793+ is persisted to storage as it is.
47944794+ enum:
47954795+ - extract
47964796+ - copy
47974797+ type: string
47984798+ type: object
47994799+ url:
48004800+ description: URL is the download link for the artifact output of the
48014801+ last OCI Repository sync.
48024802+ type: string
48034803+ type: object
48044804+ type: object
48054805+ served: true
48064806+ storage: true
48074807+ subresources:
48084808+ status: {}
48094809+ - additionalPrinterColumns:
48104810+ - jsonPath: .spec.url
48114811+ name: URL
48124812+ type: string
48134813+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
48144814+ name: Ready
48154815+ type: string
48164816+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
48174817+ name: Status
48184818+ type: string
48194819+ - jsonPath: .metadata.creationTimestamp
48204820+ name: Age
48214821+ type: date
48224822+ deprecated: true
48234823+ deprecationWarning: v1beta2 OCIRepository is deprecated, upgrade to v1
48244824+ name: v1beta2
48254825+ schema:
48264826+ openAPIV3Schema:
48274827+ description: OCIRepository is the Schema for the ocirepositories API
48284828+ properties:
48294829+ apiVersion:
48304830+ description: |-
48314831+ APIVersion defines the versioned schema of this representation of an object.
48324832+ Servers should convert recognized schemas to the latest internal value, and
48334833+ may reject unrecognized values.
48344834+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
48354835+ type: string
48364836+ kind:
48374837+ description: |-
48384838+ Kind is a string value representing the REST resource this object represents.
48394839+ Servers may infer this from the endpoint the client submits requests to.
48404840+ Cannot be updated.
48414841+ In CamelCase.
48424842+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
48434843+ type: string
48444844+ metadata:
48454845+ type: object
48464846+ spec:
48474847+ description: OCIRepositorySpec defines the desired state of OCIRepository
48484848+ properties:
48494849+ certSecretRef:
48504850+ description: |-
48514851+ CertSecretRef can be given the name of a Secret containing
48524852+ either or both of
48534853+48544854+ - a PEM-encoded client certificate (`tls.crt`) and private
48554855+ key (`tls.key`);
48564856+ - a PEM-encoded CA certificate (`ca.crt`)
48574857+48584858+ and whichever are supplied, will be used for connecting to the
48594859+ registry. The client cert and key are useful if you are
48604860+ authenticating with a certificate; the CA cert is useful if
48614861+ you are using a self-signed server certificate. The Secret must
48624862+ be of type `Opaque` or `kubernetes.io/tls`.
48634863+48644864+ Note: Support for the `caFile`, `certFile` and `keyFile` keys have
48654865+ been deprecated.
48664866+ properties:
48674867+ name:
48684868+ description: Name of the referent.
48694869+ type: string
48704870+ required:
48714871+ - name
48724872+ type: object
48734873+ ignore:
48744874+ description: |-
48754875+ Ignore overrides the set of excluded patterns in the .sourceignore format
48764876+ (which is the same as .gitignore). If not provided, a default will be used,
48774877+ consult the documentation for your version to find out what those are.
48784878+ type: string
48794879+ insecure:
48804880+ description: Insecure allows connecting to a non-TLS HTTP container
48814881+ registry.
48824882+ type: boolean
48834883+ interval:
48844884+ description: |-
48854885+ Interval at which the OCIRepository URL is checked for updates.
48864886+ This interval is approximate and may be subject to jitter to ensure
48874887+ efficient use of resources.
48884888+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
48894889+ type: string
48904890+ layerSelector:
48914891+ description: |-
48924892+ LayerSelector specifies which layer should be extracted from the OCI artifact.
48934893+ When not specified, the first layer found in the artifact is selected.
48944894+ properties:
48954895+ mediaType:
48964896+ description: |-
48974897+ MediaType specifies the OCI media type of the layer
48984898+ which should be extracted from the OCI Artifact. The
48994899+ first layer matching this type is selected.
49004900+ type: string
49014901+ operation:
49024902+ description: |-
49034903+ Operation specifies how the selected layer should be processed.
49044904+ By default, the layer compressed content is extracted to storage.
49054905+ When the operation is set to 'copy', the layer compressed content
49064906+ is persisted to storage as it is.
49074907+ enum:
49084908+ - extract
49094909+ - copy
49104910+ type: string
49114911+ type: object
49124912+ provider:
49134913+ default: generic
49144914+ description: |-
49154915+ The provider used for authentication, can be 'aws', 'azure', 'gcp' or 'generic'.
49164916+ When not specified, defaults to 'generic'.
49174917+ enum:
49184918+ - generic
49194919+ - aws
49204920+ - azure
49214921+ - gcp
49224922+ type: string
49234923+ proxySecretRef:
49244924+ description: |-
49254925+ ProxySecretRef specifies the Secret containing the proxy configuration
49264926+ to use while communicating with the container registry.
49274927+ properties:
49284928+ name:
49294929+ description: Name of the referent.
49304930+ type: string
49314931+ required:
49324932+ - name
49334933+ type: object
49344934+ ref:
49354935+ description: |-
49364936+ The OCI reference to pull and monitor for changes,
49374937+ defaults to the latest tag.
49384938+ properties:
49394939+ digest:
49404940+ description: |-
49414941+ Digest is the image digest to pull, takes precedence over SemVer.
49424942+ The value should be in the format 'sha256:<HASH>'.
49434943+ type: string
49444944+ semver:
49454945+ description: |-
49464946+ SemVer is the range of tags to pull selecting the latest within
49474947+ the range, takes precedence over Tag.
49484948+ type: string
49494949+ semverFilter:
49504950+ description: SemverFilter is a regex pattern to filter the tags
49514951+ within the SemVer range.
49524952+ type: string
49534953+ tag:
49544954+ description: Tag is the image tag to pull, defaults to latest.
49554955+ type: string
49564956+ type: object
49574957+ secretRef:
49584958+ description: |-
49594959+ SecretRef contains the secret name containing the registry login
49604960+ credentials to resolve image metadata.
49614961+ The secret must be of type kubernetes.io/dockerconfigjson.
49624962+ properties:
49634963+ name:
49644964+ description: Name of the referent.
49654965+ type: string
49664966+ required:
49674967+ - name
49684968+ type: object
49694969+ serviceAccountName:
49704970+ description: |-
49714971+ ServiceAccountName is the name of the Kubernetes ServiceAccount used to authenticate
49724972+ the image pull if the service account has attached pull secrets. For more information:
49734973+ https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#add-imagepullsecrets-to-a-service-account
49744974+ type: string
49754975+ suspend:
49764976+ description: This flag tells the controller to suspend the reconciliation
49774977+ of this source.
49784978+ type: boolean
49794979+ timeout:
49804980+ default: 60s
49814981+ description: The timeout for remote OCI Repository operations like
49824982+ pulling, defaults to 60s.
49834983+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
49844984+ type: string
49854985+ url:
49864986+ description: |-
49874987+ URL is a reference to an OCI artifact repository hosted
49884988+ on a remote container registry.
49894989+ pattern: ^oci://.*$
49904990+ type: string
49914991+ verify:
49924992+ description: |-
49934993+ Verify contains the secret name containing the trusted public keys
49944994+ used to verify the signature and specifies which provider to use to check
49954995+ whether OCI image is authentic.
49964996+ properties:
49974997+ matchOIDCIdentity:
49984998+ description: |-
49994999+ MatchOIDCIdentity specifies the identity matching criteria to use
50005000+ while verifying an OCI artifact which was signed using Cosign keyless
50015001+ signing. The artifact's identity is deemed to be verified if any of the
50025002+ specified matchers match against the identity.
50035003+ items:
50045004+ description: |-
50055005+ OIDCIdentityMatch specifies options for verifying the certificate identity,
50065006+ i.e. the issuer and the subject of the certificate.
50075007+ properties:
50085008+ issuer:
50095009+ description: |-
50105010+ Issuer specifies the regex pattern to match against to verify
50115011+ the OIDC issuer in the Fulcio certificate. The pattern must be a
50125012+ valid Go regular expression.
50135013+ type: string
50145014+ subject:
50155015+ description: |-
50165016+ Subject specifies the regex pattern to match against to verify
50175017+ the identity subject in the Fulcio certificate. The pattern must
50185018+ be a valid Go regular expression.
50195019+ type: string
50205020+ required:
50215021+ - issuer
50225022+ - subject
50235023+ type: object
50245024+ type: array
50255025+ provider:
50265026+ default: cosign
50275027+ description: Provider specifies the technology used to sign the
50285028+ OCI Artifact.
50295029+ enum:
50305030+ - cosign
50315031+ - notation
50325032+ type: string
50335033+ secretRef:
50345034+ description: |-
50355035+ SecretRef specifies the Kubernetes Secret containing the
50365036+ trusted public keys.
50375037+ properties:
50385038+ name:
50395039+ description: Name of the referent.
50405040+ type: string
50415041+ required:
50425042+ - name
50435043+ type: object
50445044+ required:
50455045+ - provider
50465046+ type: object
50475047+ required:
50485048+ - interval
50495049+ - url
50505050+ type: object
50515051+ status:
50525052+ default:
50535053+ observedGeneration: -1
50545054+ description: OCIRepositoryStatus defines the observed state of OCIRepository
50555055+ properties:
50565056+ artifact:
50575057+ description: Artifact represents the output of the last successful
50585058+ OCI Repository sync.
50595059+ properties:
50605060+ digest:
50615061+ description: Digest is the digest of the file in the form of '<algorithm>:<checksum>'.
50625062+ pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$
50635063+ type: string
50645064+ lastUpdateTime:
50655065+ description: |-
50665066+ LastUpdateTime is the timestamp corresponding to the last update of the
50675067+ Artifact.
50685068+ format: date-time
50695069+ type: string
50705070+ metadata:
50715071+ additionalProperties:
50725072+ type: string
50735073+ description: Metadata holds upstream information such as OCI annotations.
50745074+ type: object
50755075+ path:
50765076+ description: |-
50775077+ Path is the relative file path of the Artifact. It can be used to locate
50785078+ the file in the root of the Artifact storage on the local file system of
50795079+ the controller managing the Source.
50805080+ type: string
50815081+ revision:
50825082+ description: |-
50835083+ Revision is a human-readable identifier traceable in the origin source
50845084+ system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
50855085+ type: string
50865086+ size:
50875087+ description: Size is the number of bytes in the file.
50885088+ format: int64
50895089+ type: integer
50905090+ url:
50915091+ description: |-
50925092+ URL is the HTTP address of the Artifact as exposed by the controller
50935093+ managing the Source. It can be used to retrieve the Artifact for
50945094+ consumption, e.g. by another controller applying the Artifact contents.
50955095+ type: string
50965096+ required:
50975097+ - lastUpdateTime
50985098+ - path
50995099+ - revision
51005100+ - url
51015101+ type: object
51025102+ conditions:
51035103+ description: Conditions holds the conditions for the OCIRepository.
51045104+ items:
51055105+ description: Condition contains details for one aspect of the current
51065106+ state of this API Resource.
51075107+ properties:
51085108+ lastTransitionTime:
51095109+ description: |-
51105110+ lastTransitionTime is the last time the condition transitioned from one status to another.
51115111+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
51125112+ format: date-time
51135113+ type: string
51145114+ message:
51155115+ description: |-
51165116+ message is a human readable message indicating details about the transition.
51175117+ This may be an empty string.
51185118+ maxLength: 32768
51195119+ type: string
51205120+ observedGeneration:
51215121+ description: |-
51225122+ observedGeneration represents the .metadata.generation that the condition was set based upon.
51235123+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
51245124+ with respect to the current state of the instance.
51255125+ format: int64
51265126+ minimum: 0
51275127+ type: integer
51285128+ reason:
51295129+ description: |-
51305130+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
51315131+ Producers of specific condition types may define expected values and meanings for this field,
51325132+ and whether the values are considered a guaranteed API.
51335133+ The value should be a CamelCase string.
51345134+ This field may not be empty.
51355135+ maxLength: 1024
51365136+ minLength: 1
51375137+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
51385138+ type: string
51395139+ status:
51405140+ description: status of the condition, one of True, False, Unknown.
51415141+ enum:
51425142+ - "True"
51435143+ - "False"
51445144+ - Unknown
51455145+ type: string
51465146+ type:
51475147+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
51485148+ maxLength: 316
51495149+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
51505150+ type: string
51515151+ required:
51525152+ - lastTransitionTime
51535153+ - message
51545154+ - reason
51555155+ - status
51565156+ - type
51575157+ type: object
51585158+ type: array
51595159+ contentConfigChecksum:
51605160+ description: |-
51615161+ ContentConfigChecksum is a checksum of all the configurations related to
51625162+ the content of the source artifact:
51635163+ - .spec.ignore
51645164+ - .spec.layerSelector
51655165+ observed in .status.observedGeneration version of the object. This can
51665166+ be used to determine if the content configuration has changed and the
51675167+ artifact needs to be rebuilt.
51685168+ It has the format of `<algo>:<checksum>`, for example: `sha256:<checksum>`.
51695169+51705170+ Deprecated: Replaced with explicit fields for observed artifact content
51715171+ config in the status.
51725172+ type: string
51735173+ lastHandledReconcileAt:
51745174+ description: |-
51755175+ LastHandledReconcileAt holds the value of the most recent
51765176+ reconcile request value, so a change of the annotation value
51775177+ can be detected.
51785178+ type: string
51795179+ observedGeneration:
51805180+ description: ObservedGeneration is the last observed generation.
51815181+ format: int64
51825182+ type: integer
51835183+ observedIgnore:
51845184+ description: |-
51855185+ ObservedIgnore is the observed exclusion patterns used for constructing
51865186+ the source artifact.
51875187+ type: string
51885188+ observedLayerSelector:
51895189+ description: |-
51905190+ ObservedLayerSelector is the observed layer selector used for constructing
51915191+ the source artifact.
51925192+ properties:
51935193+ mediaType:
51945194+ description: |-
51955195+ MediaType specifies the OCI media type of the layer
51965196+ which should be extracted from the OCI Artifact. The
51975197+ first layer matching this type is selected.
51985198+ type: string
51995199+ operation:
52005200+ description: |-
52015201+ Operation specifies how the selected layer should be processed.
52025202+ By default, the layer compressed content is extracted to storage.
52035203+ When the operation is set to 'copy', the layer compressed content
52045204+ is persisted to storage as it is.
52055205+ enum:
52065206+ - extract
52075207+ - copy
52085208+ type: string
52095209+ type: object
52105210+ url:
52115211+ description: URL is the download link for the artifact output of the
52125212+ last OCI Repository sync.
52135213+ type: string
52145214+ type: object
52155215+ type: object
52165216+ served: true
52175217+ storage: false
52185218+ subresources:
52195219+ status: {}
52205220+---
52215221+apiVersion: v1
52225222+kind: ServiceAccount
52235223+metadata:
52245224+ labels:
52255225+ app.kubernetes.io/component: source-controller
52265226+ app.kubernetes.io/instance: flux-system
52275227+ app.kubernetes.io/part-of: flux
52285228+ app.kubernetes.io/version: v2.6.4
52295229+ name: source-controller
52305230+ namespace: flux-system
52315231+---
52325232+apiVersion: v1
52335233+kind: Service
52345234+metadata:
52355235+ labels:
52365236+ app.kubernetes.io/component: source-controller
52375237+ app.kubernetes.io/instance: flux-system
52385238+ app.kubernetes.io/part-of: flux
52395239+ app.kubernetes.io/version: v2.6.4
52405240+ control-plane: controller
52415241+ name: source-controller
52425242+ namespace: flux-system
52435243+spec:
52445244+ ports:
52455245+ - name: http
52465246+ port: 80
52475247+ protocol: TCP
52485248+ targetPort: http
52495249+ selector:
52505250+ app: source-controller
52515251+ type: ClusterIP
52525252+---
52535253+apiVersion: apps/v1
52545254+kind: Deployment
52555255+metadata:
52565256+ labels:
52575257+ app.kubernetes.io/component: source-controller
52585258+ app.kubernetes.io/instance: flux-system
52595259+ app.kubernetes.io/part-of: flux
52605260+ app.kubernetes.io/version: v2.6.4
52615261+ control-plane: controller
52625262+ name: source-controller
52635263+ namespace: flux-system
52645264+spec:
52655265+ replicas: 1
52665266+ selector:
52675267+ matchLabels:
52685268+ app: source-controller
52695269+ strategy:
52705270+ type: Recreate
52715271+ template:
52725272+ metadata:
52735273+ annotations:
52745274+ prometheus.io/port: "8080"
52755275+ prometheus.io/scrape: "true"
52765276+ labels:
52775277+ app: source-controller
52785278+ spec:
52795279+ containers:
52805280+ - args:
52815281+ - --events-addr=http://notification-controller.flux-system.svc.cluster.local./
52825282+ - --watch-all-namespaces=true
52835283+ - --log-level=info
52845284+ - --log-encoding=json
52855285+ - --enable-leader-election
52865286+ - --storage-path=/data
52875287+ - --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
52885288+ env:
52895289+ - name: RUNTIME_NAMESPACE
52905290+ valueFrom:
52915291+ fieldRef:
52925292+ fieldPath: metadata.namespace
52935293+ - name: TUF_ROOT
52945294+ value: /tmp/.sigstore
52955295+ - name: GOMAXPROCS
52965296+ valueFrom:
52975297+ resourceFieldRef:
52985298+ containerName: manager
52995299+ resource: limits.cpu
53005300+ - name: GOMEMLIMIT
53015301+ valueFrom:
53025302+ resourceFieldRef:
53035303+ containerName: manager
53045304+ resource: limits.memory
53055305+ image: ghcr.io/fluxcd/source-controller:v1.6.2
53065306+ imagePullPolicy: IfNotPresent
53075307+ livenessProbe:
53085308+ httpGet:
53095309+ path: /healthz
53105310+ port: healthz
53115311+ name: manager
53125312+ ports:
53135313+ - containerPort: 9090
53145314+ name: http
53155315+ protocol: TCP
53165316+ - containerPort: 8080
53175317+ name: http-prom
53185318+ protocol: TCP
53195319+ - containerPort: 9440
53205320+ name: healthz
53215321+ protocol: TCP
53225322+ readinessProbe:
53235323+ httpGet:
53245324+ path: /
53255325+ port: http
53265326+ resources:
53275327+ limits:
53285328+ cpu: 1000m
53295329+ memory: 1Gi
53305330+ requests:
53315331+ cpu: 50m
53325332+ memory: 64Mi
53335333+ securityContext:
53345334+ allowPrivilegeEscalation: false
53355335+ capabilities:
53365336+ drop:
53375337+ - ALL
53385338+ readOnlyRootFilesystem: true
53395339+ runAsNonRoot: true
53405340+ seccompProfile:
53415341+ type: RuntimeDefault
53425342+ volumeMounts:
53435343+ - mountPath: /data
53445344+ name: data
53455345+ - mountPath: /tmp
53465346+ name: tmp
53475347+ nodeSelector:
53485348+ kubernetes.io/os: linux
53495349+ priorityClassName: system-cluster-critical
53505350+ securityContext:
53515351+ fsGroup: 1337
53525352+ serviceAccountName: source-controller
53535353+ terminationGracePeriodSeconds: 10
53545354+ volumes:
53555355+ - emptyDir: {}
53565356+ name: data
53575357+ - emptyDir: {}
53585358+ name: tmp
53595359+---
53605360+apiVersion: apiextensions.k8s.io/v1
53615361+kind: CustomResourceDefinition
53625362+metadata:
53635363+ annotations:
53645364+ controller-gen.kubebuilder.io/version: v0.16.1
53655365+ labels:
53665366+ app.kubernetes.io/component: kustomize-controller
53675367+ app.kubernetes.io/instance: flux-system
53685368+ app.kubernetes.io/part-of: flux
53695369+ app.kubernetes.io/version: v2.6.4
53705370+ name: kustomizations.kustomize.toolkit.fluxcd.io
53715371+spec:
53725372+ group: kustomize.toolkit.fluxcd.io
53735373+ names:
53745374+ kind: Kustomization
53755375+ listKind: KustomizationList
53765376+ plural: kustomizations
53775377+ shortNames:
53785378+ - ks
53795379+ singular: kustomization
53805380+ scope: Namespaced
53815381+ versions:
53825382+ - additionalPrinterColumns:
53835383+ - jsonPath: .metadata.creationTimestamp
53845384+ name: Age
53855385+ type: date
53865386+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
53875387+ name: Ready
53885388+ type: string
53895389+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
53905390+ name: Status
53915391+ type: string
53925392+ name: v1
53935393+ schema:
53945394+ openAPIV3Schema:
53955395+ description: Kustomization is the Schema for the kustomizations API.
53965396+ properties:
53975397+ apiVersion:
53985398+ description: |-
53995399+ APIVersion defines the versioned schema of this representation of an object.
54005400+ Servers should convert recognized schemas to the latest internal value, and
54015401+ may reject unrecognized values.
54025402+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
54035403+ type: string
54045404+ kind:
54055405+ description: |-
54065406+ Kind is a string value representing the REST resource this object represents.
54075407+ Servers may infer this from the endpoint the client submits requests to.
54085408+ Cannot be updated.
54095409+ In CamelCase.
54105410+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
54115411+ type: string
54125412+ metadata:
54135413+ type: object
54145414+ spec:
54155415+ description: |-
54165416+ KustomizationSpec defines the configuration to calculate the desired state
54175417+ from a Source using Kustomize.
54185418+ properties:
54195419+ commonMetadata:
54205420+ description: |-
54215421+ CommonMetadata specifies the common labels and annotations that are
54225422+ applied to all resources. Any existing label or annotation will be
54235423+ overridden if its key matches a common one.
54245424+ properties:
54255425+ annotations:
54265426+ additionalProperties:
54275427+ type: string
54285428+ description: Annotations to be added to the object's metadata.
54295429+ type: object
54305430+ labels:
54315431+ additionalProperties:
54325432+ type: string
54335433+ description: Labels to be added to the object's metadata.
54345434+ type: object
54355435+ type: object
54365436+ components:
54375437+ description: Components specifies relative paths to specifications
54385438+ of other Components.
54395439+ items:
54405440+ type: string
54415441+ type: array
54425442+ decryption:
54435443+ description: Decrypt Kubernetes secrets before applying them on the
54445444+ cluster.
54455445+ properties:
54465446+ provider:
54475447+ description: Provider is the name of the decryption engine.
54485448+ enum:
54495449+ - sops
54505450+ type: string
54515451+ secretRef:
54525452+ description: |-
54535453+ The secret name containing the private OpenPGP keys used for decryption.
54545454+ A static credential for a cloud provider defined inside the Secret
54555455+ takes priority to secret-less authentication with the ServiceAccountName
54565456+ field.
54575457+ properties:
54585458+ name:
54595459+ description: Name of the referent.
54605460+ type: string
54615461+ required:
54625462+ - name
54635463+ type: object
54645464+ serviceAccountName:
54655465+ description: |-
54665466+ ServiceAccountName is the name of the service account used to
54675467+ authenticate with KMS services from cloud providers. If a
54685468+ static credential for a given cloud provider is defined
54695469+ inside the Secret referenced by SecretRef, that static
54705470+ credential takes priority.
54715471+ type: string
54725472+ required:
54735473+ - provider
54745474+ type: object
54755475+ deletionPolicy:
54765476+ description: |-
54775477+ DeletionPolicy can be used to control garbage collection when this
54785478+ Kustomization is deleted. Valid values are ('MirrorPrune', 'Delete',
54795479+ 'WaitForTermination', 'Orphan'). 'MirrorPrune' mirrors the Prune field
54805480+ (orphan if false, delete if true). Defaults to 'MirrorPrune'.
54815481+ enum:
54825482+ - MirrorPrune
54835483+ - Delete
54845484+ - WaitForTermination
54855485+ - Orphan
54865486+ type: string
54875487+ dependsOn:
54885488+ description: |-
54895489+ DependsOn may contain a meta.NamespacedObjectReference slice
54905490+ with references to Kustomization resources that must be ready before this
54915491+ Kustomization can be reconciled.
54925492+ items:
54935493+ description: |-
54945494+ NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
54955495+ namespace.
54965496+ properties:
54975497+ name:
54985498+ description: Name of the referent.
54995499+ type: string
55005500+ namespace:
55015501+ description: Namespace of the referent, when not specified it
55025502+ acts as LocalObjectReference.
55035503+ type: string
55045504+ required:
55055505+ - name
55065506+ type: object
55075507+ type: array
55085508+ force:
55095509+ default: false
55105510+ description: |-
55115511+ Force instructs the controller to recreate resources
55125512+ when patching fails due to an immutable field change.
55135513+ type: boolean
55145514+ healthCheckExprs:
55155515+ description: |-
55165516+ HealthCheckExprs is a list of healthcheck expressions for evaluating the
55175517+ health of custom resources using Common Expression Language (CEL).
55185518+ The expressions are evaluated only when Wait or HealthChecks are specified.
55195519+ items:
55205520+ description: CustomHealthCheck defines the health check for custom
55215521+ resources.
55225522+ properties:
55235523+ apiVersion:
55245524+ description: APIVersion of the custom resource under evaluation.
55255525+ type: string
55265526+ current:
55275527+ description: |-
55285528+ Current is the CEL expression that determines if the status
55295529+ of the custom resource has reached the desired state.
55305530+ type: string
55315531+ failed:
55325532+ description: |-
55335533+ Failed is the CEL expression that determines if the status
55345534+ of the custom resource has failed to reach the desired state.
55355535+ type: string
55365536+ inProgress:
55375537+ description: |-
55385538+ InProgress is the CEL expression that determines if the status
55395539+ of the custom resource has not yet reached the desired state.
55405540+ type: string
55415541+ kind:
55425542+ description: Kind of the custom resource under evaluation.
55435543+ type: string
55445544+ required:
55455545+ - apiVersion
55465546+ - current
55475547+ - kind
55485548+ type: object
55495549+ type: array
55505550+ healthChecks:
55515551+ description: A list of resources to be included in the health assessment.
55525552+ items:
55535553+ description: |-
55545554+ NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
55555555+ in any namespace.
55565556+ properties:
55575557+ apiVersion:
55585558+ description: API version of the referent, if not specified the
55595559+ Kubernetes preferred version will be used.
55605560+ type: string
55615561+ kind:
55625562+ description: Kind of the referent.
55635563+ type: string
55645564+ name:
55655565+ description: Name of the referent.
55665566+ type: string
55675567+ namespace:
55685568+ description: Namespace of the referent, when not specified it
55695569+ acts as LocalObjectReference.
55705570+ type: string
55715571+ required:
55725572+ - kind
55735573+ - name
55745574+ type: object
55755575+ type: array
55765576+ images:
55775577+ description: |-
55785578+ Images is a list of (image name, new name, new tag or digest)
55795579+ for changing image names, tags or digests. This can also be achieved with a
55805580+ patch, but this operator is simpler to specify.
55815581+ items:
55825582+ description: Image contains an image name, a new name, a new tag
55835583+ or digest, which will replace the original name and tag.
55845584+ properties:
55855585+ digest:
55865586+ description: |-
55875587+ Digest is the value used to replace the original image tag.
55885588+ If digest is present NewTag value is ignored.
55895589+ type: string
55905590+ name:
55915591+ description: Name is a tag-less image name.
55925592+ type: string
55935593+ newName:
55945594+ description: NewName is the value used to replace the original
55955595+ name.
55965596+ type: string
55975597+ newTag:
55985598+ description: NewTag is the value used to replace the original
55995599+ tag.
56005600+ type: string
56015601+ required:
56025602+ - name
56035603+ type: object
56045604+ type: array
56055605+ interval:
56065606+ description: |-
56075607+ The interval at which to reconcile the Kustomization.
56085608+ This interval is approximate and may be subject to jitter to ensure
56095609+ efficient use of resources.
56105610+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
56115611+ type: string
56125612+ kubeConfig:
56135613+ description: |-
56145614+ The KubeConfig for reconciling the Kustomization on a remote cluster.
56155615+ When used in combination with KustomizationSpec.ServiceAccountName,
56165616+ forces the controller to act on behalf of that Service Account at the
56175617+ target cluster.
56185618+ If the --default-service-account flag is set, its value will be used as
56195619+ a controller level fallback for when KustomizationSpec.ServiceAccountName
56205620+ is empty.
56215621+ properties:
56225622+ secretRef:
56235623+ description: |-
56245624+ SecretRef holds the name of a secret that contains a key with
56255625+ the kubeconfig file as the value. If no key is set, the key will default
56265626+ to 'value'.
56275627+ It is recommended that the kubeconfig is self-contained, and the secret
56285628+ is regularly updated if credentials such as a cloud-access-token expire.
56295629+ Cloud specific `cmd-path` auth helpers will not function without adding
56305630+ binaries and credentials to the Pod that is responsible for reconciling
56315631+ Kubernetes resources.
56325632+ properties:
56335633+ key:
56345634+ description: Key in the Secret, when not specified an implementation-specific
56355635+ default key is used.
56365636+ type: string
56375637+ name:
56385638+ description: Name of the Secret.
56395639+ type: string
56405640+ required:
56415641+ - name
56425642+ type: object
56435643+ required:
56445644+ - secretRef
56455645+ type: object
56465646+ namePrefix:
56475647+ description: NamePrefix will prefix the names of all managed resources.
56485648+ maxLength: 200
56495649+ minLength: 1
56505650+ type: string
56515651+ nameSuffix:
56525652+ description: NameSuffix will suffix the names of all managed resources.
56535653+ maxLength: 200
56545654+ minLength: 1
56555655+ type: string
56565656+ patches:
56575657+ description: |-
56585658+ Strategic merge and JSON patches, defined as inline YAML objects,
56595659+ capable of targeting objects based on kind, label and annotation selectors.
56605660+ items:
56615661+ description: |-
56625662+ Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
56635663+ be applied to.
56645664+ properties:
56655665+ patch:
56665666+ description: |-
56675667+ Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
56685668+ an array of operation objects.
56695669+ type: string
56705670+ target:
56715671+ description: Target points to the resources that the patch document
56725672+ should be applied to.
56735673+ properties:
56745674+ annotationSelector:
56755675+ description: |-
56765676+ AnnotationSelector is a string that follows the label selection expression
56775677+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
56785678+ It matches with the resource annotations.
56795679+ type: string
56805680+ group:
56815681+ description: |-
56825682+ Group is the API group to select resources from.
56835683+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
56845684+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
56855685+ type: string
56865686+ kind:
56875687+ description: |-
56885688+ Kind of the API Group to select resources from.
56895689+ Together with Group and Version it is capable of unambiguously
56905690+ identifying and/or selecting resources.
56915691+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
56925692+ type: string
56935693+ labelSelector:
56945694+ description: |-
56955695+ LabelSelector is a string that follows the label selection expression
56965696+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
56975697+ It matches with the resource labels.
56985698+ type: string
56995699+ name:
57005700+ description: Name to match resources with.
57015701+ type: string
57025702+ namespace:
57035703+ description: Namespace to select resources from.
57045704+ type: string
57055705+ version:
57065706+ description: |-
57075707+ Version of the API Group to select resources from.
57085708+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
57095709+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
57105710+ type: string
57115711+ type: object
57125712+ required:
57135713+ - patch
57145714+ type: object
57155715+ type: array
57165716+ path:
57175717+ description: |-
57185718+ Path to the directory containing the kustomization.yaml file, or the
57195719+ set of plain YAMLs a kustomization.yaml should be generated for.
57205720+ Defaults to 'None', which translates to the root path of the SourceRef.
57215721+ type: string
57225722+ postBuild:
57235723+ description: |-
57245724+ PostBuild describes which actions to perform on the YAML manifest
57255725+ generated by building the kustomize overlay.
57265726+ properties:
57275727+ substitute:
57285728+ additionalProperties:
57295729+ type: string
57305730+ description: |-
57315731+ Substitute holds a map of key/value pairs.
57325732+ The variables defined in your YAML manifests that match any of the keys
57335733+ defined in the map will be substituted with the set value.
57345734+ Includes support for bash string replacement functions
57355735+ e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.
57365736+ type: object
57375737+ substituteFrom:
57385738+ description: |-
57395739+ SubstituteFrom holds references to ConfigMaps and Secrets containing
57405740+ the variables and their values to be substituted in the YAML manifests.
57415741+ The ConfigMap and the Secret data keys represent the var names, and they
57425742+ must match the vars declared in the manifests for the substitution to
57435743+ happen.
57445744+ items:
57455745+ description: |-
57465746+ SubstituteReference contains a reference to a resource containing
57475747+ the variables name and value.
57485748+ properties:
57495749+ kind:
57505750+ description: Kind of the values referent, valid values are
57515751+ ('Secret', 'ConfigMap').
57525752+ enum:
57535753+ - Secret
57545754+ - ConfigMap
57555755+ type: string
57565756+ name:
57575757+ description: |-
57585758+ Name of the values referent. Should reside in the same namespace as the
57595759+ referring resource.
57605760+ maxLength: 253
57615761+ minLength: 1
57625762+ type: string
57635763+ optional:
57645764+ default: false
57655765+ description: |-
57665766+ Optional indicates whether the referenced resource must exist, or whether to
57675767+ tolerate its absence. If true and the referenced resource is absent, proceed
57685768+ as if the resource was present but empty, without any variables defined.
57695769+ type: boolean
57705770+ required:
57715771+ - kind
57725772+ - name
57735773+ type: object
57745774+ type: array
57755775+ type: object
57765776+ prune:
57775777+ description: Prune enables garbage collection.
57785778+ type: boolean
57795779+ retryInterval:
57805780+ description: |-
57815781+ The interval at which to retry a previously failed reconciliation.
57825782+ When not specified, the controller uses the KustomizationSpec.Interval
57835783+ value to retry failures.
57845784+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
57855785+ type: string
57865786+ serviceAccountName:
57875787+ description: |-
57885788+ The name of the Kubernetes service account to impersonate
57895789+ when reconciling this Kustomization.
57905790+ type: string
57915791+ sourceRef:
57925792+ description: Reference of the source where the kustomization file
57935793+ is.
57945794+ properties:
57955795+ apiVersion:
57965796+ description: API version of the referent.
57975797+ type: string
57985798+ kind:
57995799+ description: Kind of the referent.
58005800+ enum:
58015801+ - OCIRepository
58025802+ - GitRepository
58035803+ - Bucket
58045804+ type: string
58055805+ name:
58065806+ description: Name of the referent.
58075807+ type: string
58085808+ namespace:
58095809+ description: |-
58105810+ Namespace of the referent, defaults to the namespace of the Kubernetes
58115811+ resource object that contains the reference.
58125812+ type: string
58135813+ required:
58145814+ - kind
58155815+ - name
58165816+ type: object
58175817+ suspend:
58185818+ description: |-
58195819+ This flag tells the controller to suspend subsequent kustomize executions,
58205820+ it does not apply to already started executions. Defaults to false.
58215821+ type: boolean
58225822+ targetNamespace:
58235823+ description: |-
58245824+ TargetNamespace sets or overrides the namespace in the
58255825+ kustomization.yaml file.
58265826+ maxLength: 63
58275827+ minLength: 1
58285828+ type: string
58295829+ timeout:
58305830+ description: |-
58315831+ Timeout for validation, apply and health checking operations.
58325832+ Defaults to 'Interval' duration.
58335833+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
58345834+ type: string
58355835+ wait:
58365836+ description: |-
58375837+ Wait instructs the controller to check the health of all the reconciled
58385838+ resources. When enabled, the HealthChecks are ignored. Defaults to false.
58395839+ type: boolean
58405840+ required:
58415841+ - interval
58425842+ - prune
58435843+ - sourceRef
58445844+ type: object
58455845+ status:
58465846+ default:
58475847+ observedGeneration: -1
58485848+ description: KustomizationStatus defines the observed state of a kustomization.
58495849+ properties:
58505850+ conditions:
58515851+ items:
58525852+ description: Condition contains details for one aspect of the current
58535853+ state of this API Resource.
58545854+ properties:
58555855+ lastTransitionTime:
58565856+ description: |-
58575857+ lastTransitionTime is the last time the condition transitioned from one status to another.
58585858+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
58595859+ format: date-time
58605860+ type: string
58615861+ message:
58625862+ description: |-
58635863+ message is a human readable message indicating details about the transition.
58645864+ This may be an empty string.
58655865+ maxLength: 32768
58665866+ type: string
58675867+ observedGeneration:
58685868+ description: |-
58695869+ observedGeneration represents the .metadata.generation that the condition was set based upon.
58705870+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
58715871+ with respect to the current state of the instance.
58725872+ format: int64
58735873+ minimum: 0
58745874+ type: integer
58755875+ reason:
58765876+ description: |-
58775877+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
58785878+ Producers of specific condition types may define expected values and meanings for this field,
58795879+ and whether the values are considered a guaranteed API.
58805880+ The value should be a CamelCase string.
58815881+ This field may not be empty.
58825882+ maxLength: 1024
58835883+ minLength: 1
58845884+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
58855885+ type: string
58865886+ status:
58875887+ description: status of the condition, one of True, False, Unknown.
58885888+ enum:
58895889+ - "True"
58905890+ - "False"
58915891+ - Unknown
58925892+ type: string
58935893+ type:
58945894+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
58955895+ maxLength: 316
58965896+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
58975897+ type: string
58985898+ required:
58995899+ - lastTransitionTime
59005900+ - message
59015901+ - reason
59025902+ - status
59035903+ - type
59045904+ type: object
59055905+ type: array
59065906+ inventory:
59075907+ description: |-
59085908+ Inventory contains the list of Kubernetes resource object references that
59095909+ have been successfully applied.
59105910+ properties:
59115911+ entries:
59125912+ description: Entries of Kubernetes resource object references.
59135913+ items:
59145914+ description: ResourceRef contains the information necessary
59155915+ to locate a resource within a cluster.
59165916+ properties:
59175917+ id:
59185918+ description: |-
59195919+ ID is the string representation of the Kubernetes resource object's metadata,
59205920+ in the format '<namespace>_<name>_<group>_<kind>'.
59215921+ type: string
59225922+ v:
59235923+ description: Version is the API version of the Kubernetes
59245924+ resource object's kind.
59255925+ type: string
59265926+ required:
59275927+ - id
59285928+ - v
59295929+ type: object
59305930+ type: array
59315931+ required:
59325932+ - entries
59335933+ type: object
59345934+ lastAppliedOriginRevision:
59355935+ description: |-
59365936+ The last successfully applied origin revision.
59375937+ Equals the origin revision of the applied Artifact from the referenced Source.
59385938+ Usually present on the Metadata of the applied Artifact and depends on the
59395939+ Source type, e.g. for OCI it's the value associated with the key
59405940+ "org.opencontainers.image.revision".
59415941+ type: string
59425942+ lastAppliedRevision:
59435943+ description: |-
59445944+ The last successfully applied revision.
59455945+ Equals the Revision of the applied Artifact from the referenced Source.
59465946+ type: string
59475947+ lastAttemptedRevision:
59485948+ description: LastAttemptedRevision is the revision of the last reconciliation
59495949+ attempt.
59505950+ type: string
59515951+ lastHandledReconcileAt:
59525952+ description: |-
59535953+ LastHandledReconcileAt holds the value of the most recent
59545954+ reconcile request value, so a change of the annotation value
59555955+ can be detected.
59565956+ type: string
59575957+ observedGeneration:
59585958+ description: ObservedGeneration is the last reconciled generation.
59595959+ format: int64
59605960+ type: integer
59615961+ type: object
59625962+ type: object
59635963+ served: true
59645964+ storage: true
59655965+ subresources:
59665966+ status: {}
59675967+ - additionalPrinterColumns:
59685968+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
59695969+ name: Ready
59705970+ type: string
59715971+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
59725972+ name: Status
59735973+ type: string
59745974+ - jsonPath: .metadata.creationTimestamp
59755975+ name: Age
59765976+ type: date
59775977+ deprecated: true
59785978+ deprecationWarning: v1beta1 Kustomization is deprecated, upgrade to v1
59795979+ name: v1beta1
59805980+ schema:
59815981+ openAPIV3Schema:
59825982+ description: Kustomization is the Schema for the kustomizations API.
59835983+ properties:
59845984+ apiVersion:
59855985+ description: |-
59865986+ APIVersion defines the versioned schema of this representation of an object.
59875987+ Servers should convert recognized schemas to the latest internal value, and
59885988+ may reject unrecognized values.
59895989+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
59905990+ type: string
59915991+ kind:
59925992+ description: |-
59935993+ Kind is a string value representing the REST resource this object represents.
59945994+ Servers may infer this from the endpoint the client submits requests to.
59955995+ Cannot be updated.
59965996+ In CamelCase.
59975997+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
59985998+ type: string
59995999+ metadata:
60006000+ type: object
60016001+ spec:
60026002+ description: KustomizationSpec defines the desired state of a kustomization.
60036003+ properties:
60046004+ decryption:
60056005+ description: Decrypt Kubernetes secrets before applying them on the
60066006+ cluster.
60076007+ properties:
60086008+ provider:
60096009+ description: Provider is the name of the decryption engine.
60106010+ enum:
60116011+ - sops
60126012+ type: string
60136013+ secretRef:
60146014+ description: The secret name containing the private OpenPGP keys
60156015+ used for decryption.
60166016+ properties:
60176017+ name:
60186018+ description: Name of the referent.
60196019+ type: string
60206020+ required:
60216021+ - name
60226022+ type: object
60236023+ required:
60246024+ - provider
60256025+ type: object
60266026+ dependsOn:
60276027+ description: |-
60286028+ DependsOn may contain a meta.NamespacedObjectReference slice
60296029+ with references to Kustomization resources that must be ready before this
60306030+ Kustomization can be reconciled.
60316031+ items:
60326032+ description: |-
60336033+ NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
60346034+ namespace.
60356035+ properties:
60366036+ name:
60376037+ description: Name of the referent.
60386038+ type: string
60396039+ namespace:
60406040+ description: Namespace of the referent, when not specified it
60416041+ acts as LocalObjectReference.
60426042+ type: string
60436043+ required:
60446044+ - name
60456045+ type: object
60466046+ type: array
60476047+ force:
60486048+ default: false
60496049+ description: |-
60506050+ Force instructs the controller to recreate resources
60516051+ when patching fails due to an immutable field change.
60526052+ type: boolean
60536053+ healthChecks:
60546054+ description: A list of resources to be included in the health assessment.
60556055+ items:
60566056+ description: |-
60576057+ NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
60586058+ in any namespace.
60596059+ properties:
60606060+ apiVersion:
60616061+ description: API version of the referent, if not specified the
60626062+ Kubernetes preferred version will be used.
60636063+ type: string
60646064+ kind:
60656065+ description: Kind of the referent.
60666066+ type: string
60676067+ name:
60686068+ description: Name of the referent.
60696069+ type: string
60706070+ namespace:
60716071+ description: Namespace of the referent, when not specified it
60726072+ acts as LocalObjectReference.
60736073+ type: string
60746074+ required:
60756075+ - kind
60766076+ - name
60776077+ type: object
60786078+ type: array
60796079+ images:
60806080+ description: |-
60816081+ Images is a list of (image name, new name, new tag or digest)
60826082+ for changing image names, tags or digests. This can also be achieved with a
60836083+ patch, but this operator is simpler to specify.
60846084+ items:
60856085+ description: Image contains an image name, a new name, a new tag
60866086+ or digest, which will replace the original name and tag.
60876087+ properties:
60886088+ digest:
60896089+ description: |-
60906090+ Digest is the value used to replace the original image tag.
60916091+ If digest is present NewTag value is ignored.
60926092+ type: string
60936093+ name:
60946094+ description: Name is a tag-less image name.
60956095+ type: string
60966096+ newName:
60976097+ description: NewName is the value used to replace the original
60986098+ name.
60996099+ type: string
61006100+ newTag:
61016101+ description: NewTag is the value used to replace the original
61026102+ tag.
61036103+ type: string
61046104+ required:
61056105+ - name
61066106+ type: object
61076107+ type: array
61086108+ interval:
61096109+ description: The interval at which to reconcile the Kustomization.
61106110+ type: string
61116111+ kubeConfig:
61126112+ description: |-
61136113+ The KubeConfig for reconciling the Kustomization on a remote cluster.
61146114+ When specified, KubeConfig takes precedence over ServiceAccountName.
61156115+ properties:
61166116+ secretRef:
61176117+ description: |-
61186118+ SecretRef holds the name to a secret that contains a 'value' key with
61196119+ the kubeconfig file as the value. It must be in the same namespace as
61206120+ the Kustomization.
61216121+ It is recommended that the kubeconfig is self-contained, and the secret
61226122+ is regularly updated if credentials such as a cloud-access-token expire.
61236123+ Cloud specific `cmd-path` auth helpers will not function without adding
61246124+ binaries and credentials to the Pod that is responsible for reconciling
61256125+ the Kustomization.
61266126+ properties:
61276127+ name:
61286128+ description: Name of the referent.
61296129+ type: string
61306130+ required:
61316131+ - name
61326132+ type: object
61336133+ required:
61346134+ - secretRef
61356135+ type: object
61366136+ patches:
61376137+ description: |-
61386138+ Strategic merge and JSON patches, defined as inline YAML objects,
61396139+ capable of targeting objects based on kind, label and annotation selectors.
61406140+ items:
61416141+ description: |-
61426142+ Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
61436143+ be applied to.
61446144+ properties:
61456145+ patch:
61466146+ description: |-
61476147+ Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
61486148+ an array of operation objects.
61496149+ type: string
61506150+ target:
61516151+ description: Target points to the resources that the patch document
61526152+ should be applied to.
61536153+ properties:
61546154+ annotationSelector:
61556155+ description: |-
61566156+ AnnotationSelector is a string that follows the label selection expression
61576157+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
61586158+ It matches with the resource annotations.
61596159+ type: string
61606160+ group:
61616161+ description: |-
61626162+ Group is the API group to select resources from.
61636163+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
61646164+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
61656165+ type: string
61666166+ kind:
61676167+ description: |-
61686168+ Kind of the API Group to select resources from.
61696169+ Together with Group and Version it is capable of unambiguously
61706170+ identifying and/or selecting resources.
61716171+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
61726172+ type: string
61736173+ labelSelector:
61746174+ description: |-
61756175+ LabelSelector is a string that follows the label selection expression
61766176+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
61776177+ It matches with the resource labels.
61786178+ type: string
61796179+ name:
61806180+ description: Name to match resources with.
61816181+ type: string
61826182+ namespace:
61836183+ description: Namespace to select resources from.
61846184+ type: string
61856185+ version:
61866186+ description: |-
61876187+ Version of the API Group to select resources from.
61886188+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
61896189+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
61906190+ type: string
61916191+ type: object
61926192+ required:
61936193+ - patch
61946194+ type: object
61956195+ type: array
61966196+ patchesJson6902:
61976197+ description: JSON 6902 patches, defined as inline YAML objects.
61986198+ items:
61996199+ description: JSON6902Patch contains a JSON6902 patch and the target
62006200+ the patch should be applied to.
62016201+ properties:
62026202+ patch:
62036203+ description: Patch contains the JSON6902 patch document with
62046204+ an array of operation objects.
62056205+ items:
62066206+ description: |-
62076207+ JSON6902 is a JSON6902 operation object.
62086208+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
62096209+ properties:
62106210+ from:
62116211+ description: |-
62126212+ From contains a JSON-pointer value that references a location within the target document where the operation is
62136213+ performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
62146214+ type: string
62156215+ op:
62166216+ description: |-
62176217+ Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
62186218+ "test".
62196219+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
62206220+ enum:
62216221+ - test
62226222+ - remove
62236223+ - add
62246224+ - replace
62256225+ - move
62266226+ - copy
62276227+ type: string
62286228+ path:
62296229+ description: |-
62306230+ Path contains the JSON-pointer value that references a location within the target document where the operation
62316231+ is performed. The meaning of the value depends on the value of Op.
62326232+ type: string
62336233+ value:
62346234+ description: |-
62356235+ Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
62366236+ account by all operations.
62376237+ x-kubernetes-preserve-unknown-fields: true
62386238+ required:
62396239+ - op
62406240+ - path
62416241+ type: object
62426242+ type: array
62436243+ target:
62446244+ description: Target points to the resources that the patch document
62456245+ should be applied to.
62466246+ properties:
62476247+ annotationSelector:
62486248+ description: |-
62496249+ AnnotationSelector is a string that follows the label selection expression
62506250+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
62516251+ It matches with the resource annotations.
62526252+ type: string
62536253+ group:
62546254+ description: |-
62556255+ Group is the API group to select resources from.
62566256+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
62576257+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
62586258+ type: string
62596259+ kind:
62606260+ description: |-
62616261+ Kind of the API Group to select resources from.
62626262+ Together with Group and Version it is capable of unambiguously
62636263+ identifying and/or selecting resources.
62646264+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
62656265+ type: string
62666266+ labelSelector:
62676267+ description: |-
62686268+ LabelSelector is a string that follows the label selection expression
62696269+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
62706270+ It matches with the resource labels.
62716271+ type: string
62726272+ name:
62736273+ description: Name to match resources with.
62746274+ type: string
62756275+ namespace:
62766276+ description: Namespace to select resources from.
62776277+ type: string
62786278+ version:
62796279+ description: |-
62806280+ Version of the API Group to select resources from.
62816281+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
62826282+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
62836283+ type: string
62846284+ type: object
62856285+ required:
62866286+ - patch
62876287+ - target
62886288+ type: object
62896289+ type: array
62906290+ patchesStrategicMerge:
62916291+ description: Strategic merge patches, defined as inline YAML objects.
62926292+ items:
62936293+ x-kubernetes-preserve-unknown-fields: true
62946294+ type: array
62956295+ path:
62966296+ description: |-
62976297+ Path to the directory containing the kustomization.yaml file, or the
62986298+ set of plain YAMLs a kustomization.yaml should be generated for.
62996299+ Defaults to 'None', which translates to the root path of the SourceRef.
63006300+ type: string
63016301+ postBuild:
63026302+ description: |-
63036303+ PostBuild describes which actions to perform on the YAML manifest
63046304+ generated by building the kustomize overlay.
63056305+ properties:
63066306+ substitute:
63076307+ additionalProperties:
63086308+ type: string
63096309+ description: |-
63106310+ Substitute holds a map of key/value pairs.
63116311+ The variables defined in your YAML manifests
63126312+ that match any of the keys defined in the map
63136313+ will be substituted with the set value.
63146314+ Includes support for bash string replacement functions
63156315+ e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.
63166316+ type: object
63176317+ substituteFrom:
63186318+ description: |-
63196319+ SubstituteFrom holds references to ConfigMaps and Secrets containing
63206320+ the variables and their values to be substituted in the YAML manifests.
63216321+ The ConfigMap and the Secret data keys represent the var names and they
63226322+ must match the vars declared in the manifests for the substitution to happen.
63236323+ items:
63246324+ description: |-
63256325+ SubstituteReference contains a reference to a resource containing
63266326+ the variables name and value.
63276327+ properties:
63286328+ kind:
63296329+ description: Kind of the values referent, valid values are
63306330+ ('Secret', 'ConfigMap').
63316331+ enum:
63326332+ - Secret
63336333+ - ConfigMap
63346334+ type: string
63356335+ name:
63366336+ description: |-
63376337+ Name of the values referent. Should reside in the same namespace as the
63386338+ referring resource.
63396339+ maxLength: 253
63406340+ minLength: 1
63416341+ type: string
63426342+ required:
63436343+ - kind
63446344+ - name
63456345+ type: object
63466346+ type: array
63476347+ type: object
63486348+ prune:
63496349+ description: Prune enables garbage collection.
63506350+ type: boolean
63516351+ retryInterval:
63526352+ description: |-
63536353+ The interval at which to retry a previously failed reconciliation.
63546354+ When not specified, the controller uses the KustomizationSpec.Interval
63556355+ value to retry failures.
63566356+ type: string
63576357+ serviceAccountName:
63586358+ description: |-
63596359+ The name of the Kubernetes service account to impersonate
63606360+ when reconciling this Kustomization.
63616361+ type: string
63626362+ sourceRef:
63636363+ description: Reference of the source where the kustomization file
63646364+ is.
63656365+ properties:
63666366+ apiVersion:
63676367+ description: API version of the referent
63686368+ type: string
63696369+ kind:
63706370+ description: Kind of the referent
63716371+ enum:
63726372+ - GitRepository
63736373+ - Bucket
63746374+ type: string
63756375+ name:
63766376+ description: Name of the referent
63776377+ type: string
63786378+ namespace:
63796379+ description: Namespace of the referent, defaults to the Kustomization
63806380+ namespace
63816381+ type: string
63826382+ required:
63836383+ - kind
63846384+ - name
63856385+ type: object
63866386+ suspend:
63876387+ description: |-
63886388+ This flag tells the controller to suspend subsequent kustomize executions,
63896389+ it does not apply to already started executions. Defaults to false.
63906390+ type: boolean
63916391+ targetNamespace:
63926392+ description: |-
63936393+ TargetNamespace sets or overrides the namespace in the
63946394+ kustomization.yaml file.
63956395+ maxLength: 63
63966396+ minLength: 1
63976397+ type: string
63986398+ timeout:
63996399+ description: |-
64006400+ Timeout for validation, apply and health checking operations.
64016401+ Defaults to 'Interval' duration.
64026402+ type: string
64036403+ validation:
64046404+ description: |-
64056405+ Validate the Kubernetes objects before applying them on the cluster.
64066406+ The validation strategy can be 'client' (local dry-run), 'server'
64076407+ (APIServer dry-run) or 'none'.
64086408+ When 'Force' is 'true', validation will fallback to 'client' if set to
64096409+ 'server' because server-side validation is not supported in this scenario.
64106410+ enum:
64116411+ - none
64126412+ - client
64136413+ - server
64146414+ type: string
64156415+ required:
64166416+ - interval
64176417+ - prune
64186418+ - sourceRef
64196419+ type: object
64206420+ status:
64216421+ default:
64226422+ observedGeneration: -1
64236423+ description: KustomizationStatus defines the observed state of a kustomization.
64246424+ properties:
64256425+ conditions:
64266426+ items:
64276427+ description: Condition contains details for one aspect of the current
64286428+ state of this API Resource.
64296429+ properties:
64306430+ lastTransitionTime:
64316431+ description: |-
64326432+ lastTransitionTime is the last time the condition transitioned from one status to another.
64336433+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
64346434+ format: date-time
64356435+ type: string
64366436+ message:
64376437+ description: |-
64386438+ message is a human readable message indicating details about the transition.
64396439+ This may be an empty string.
64406440+ maxLength: 32768
64416441+ type: string
64426442+ observedGeneration:
64436443+ description: |-
64446444+ observedGeneration represents the .metadata.generation that the condition was set based upon.
64456445+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
64466446+ with respect to the current state of the instance.
64476447+ format: int64
64486448+ minimum: 0
64496449+ type: integer
64506450+ reason:
64516451+ description: |-
64526452+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
64536453+ Producers of specific condition types may define expected values and meanings for this field,
64546454+ and whether the values are considered a guaranteed API.
64556455+ The value should be a CamelCase string.
64566456+ This field may not be empty.
64576457+ maxLength: 1024
64586458+ minLength: 1
64596459+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
64606460+ type: string
64616461+ status:
64626462+ description: status of the condition, one of True, False, Unknown.
64636463+ enum:
64646464+ - "True"
64656465+ - "False"
64666466+ - Unknown
64676467+ type: string
64686468+ type:
64696469+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
64706470+ maxLength: 316
64716471+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
64726472+ type: string
64736473+ required:
64746474+ - lastTransitionTime
64756475+ - message
64766476+ - reason
64776477+ - status
64786478+ - type
64796479+ type: object
64806480+ type: array
64816481+ lastAppliedRevision:
64826482+ description: |-
64836483+ The last successfully applied revision.
64846484+ The revision format for Git sources is <branch|tag>/<commit-sha>.
64856485+ type: string
64866486+ lastAttemptedRevision:
64876487+ description: LastAttemptedRevision is the revision of the last reconciliation
64886488+ attempt.
64896489+ type: string
64906490+ lastHandledReconcileAt:
64916491+ description: |-
64926492+ LastHandledReconcileAt holds the value of the most recent
64936493+ reconcile request value, so a change of the annotation value
64946494+ can be detected.
64956495+ type: string
64966496+ observedGeneration:
64976497+ description: ObservedGeneration is the last reconciled generation.
64986498+ format: int64
64996499+ type: integer
65006500+ snapshot:
65016501+ description: The last successfully applied revision metadata.
65026502+ properties:
65036503+ checksum:
65046504+ description: The manifests sha1 checksum.
65056505+ type: string
65066506+ entries:
65076507+ description: A list of Kubernetes kinds grouped by namespace.
65086508+ items:
65096509+ description: |-
65106510+ Snapshot holds the metadata of namespaced
65116511+ Kubernetes objects
65126512+ properties:
65136513+ kinds:
65146514+ additionalProperties:
65156515+ type: string
65166516+ description: The list of Kubernetes kinds.
65176517+ type: object
65186518+ namespace:
65196519+ description: The namespace of this entry.
65206520+ type: string
65216521+ required:
65226522+ - kinds
65236523+ type: object
65246524+ type: array
65256525+ required:
65266526+ - checksum
65276527+ - entries
65286528+ type: object
65296529+ type: object
65306530+ type: object
65316531+ served: true
65326532+ storage: false
65336533+ subresources:
65346534+ status: {}
65356535+ - additionalPrinterColumns:
65366536+ - jsonPath: .metadata.creationTimestamp
65376537+ name: Age
65386538+ type: date
65396539+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
65406540+ name: Ready
65416541+ type: string
65426542+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
65436543+ name: Status
65446544+ type: string
65456545+ deprecated: true
65466546+ deprecationWarning: v1beta2 Kustomization is deprecated, upgrade to v1
65476547+ name: v1beta2
65486548+ schema:
65496549+ openAPIV3Schema:
65506550+ description: Kustomization is the Schema for the kustomizations API.
65516551+ properties:
65526552+ apiVersion:
65536553+ description: |-
65546554+ APIVersion defines the versioned schema of this representation of an object.
65556555+ Servers should convert recognized schemas to the latest internal value, and
65566556+ may reject unrecognized values.
65576557+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
65586558+ type: string
65596559+ kind:
65606560+ description: |-
65616561+ Kind is a string value representing the REST resource this object represents.
65626562+ Servers may infer this from the endpoint the client submits requests to.
65636563+ Cannot be updated.
65646564+ In CamelCase.
65656565+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
65666566+ type: string
65676567+ metadata:
65686568+ type: object
65696569+ spec:
65706570+ description: KustomizationSpec defines the configuration to calculate
65716571+ the desired state from a Source using Kustomize.
65726572+ properties:
65736573+ commonMetadata:
65746574+ description: |-
65756575+ CommonMetadata specifies the common labels and annotations that are applied to all resources.
65766576+ Any existing label or annotation will be overridden if its key matches a common one.
65776577+ properties:
65786578+ annotations:
65796579+ additionalProperties:
65806580+ type: string
65816581+ description: Annotations to be added to the object's metadata.
65826582+ type: object
65836583+ labels:
65846584+ additionalProperties:
65856585+ type: string
65866586+ description: Labels to be added to the object's metadata.
65876587+ type: object
65886588+ type: object
65896589+ components:
65906590+ description: Components specifies relative paths to specifications
65916591+ of other Components.
65926592+ items:
65936593+ type: string
65946594+ type: array
65956595+ decryption:
65966596+ description: Decrypt Kubernetes secrets before applying them on the
65976597+ cluster.
65986598+ properties:
65996599+ provider:
66006600+ description: Provider is the name of the decryption engine.
66016601+ enum:
66026602+ - sops
66036603+ type: string
66046604+ secretRef:
66056605+ description: The secret name containing the private OpenPGP keys
66066606+ used for decryption.
66076607+ properties:
66086608+ name:
66096609+ description: Name of the referent.
66106610+ type: string
66116611+ required:
66126612+ - name
66136613+ type: object
66146614+ required:
66156615+ - provider
66166616+ type: object
66176617+ dependsOn:
66186618+ description: |-
66196619+ DependsOn may contain a meta.NamespacedObjectReference slice
66206620+ with references to Kustomization resources that must be ready before this
66216621+ Kustomization can be reconciled.
66226622+ items:
66236623+ description: |-
66246624+ NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
66256625+ namespace.
66266626+ properties:
66276627+ name:
66286628+ description: Name of the referent.
66296629+ type: string
66306630+ namespace:
66316631+ description: Namespace of the referent, when not specified it
66326632+ acts as LocalObjectReference.
66336633+ type: string
66346634+ required:
66356635+ - name
66366636+ type: object
66376637+ type: array
66386638+ force:
66396639+ default: false
66406640+ description: |-
66416641+ Force instructs the controller to recreate resources
66426642+ when patching fails due to an immutable field change.
66436643+ type: boolean
66446644+ healthChecks:
66456645+ description: A list of resources to be included in the health assessment.
66466646+ items:
66476647+ description: |-
66486648+ NamespacedObjectKindReference contains enough information to locate the typed referenced Kubernetes resource object
66496649+ in any namespace.
66506650+ properties:
66516651+ apiVersion:
66526652+ description: API version of the referent, if not specified the
66536653+ Kubernetes preferred version will be used.
66546654+ type: string
66556655+ kind:
66566656+ description: Kind of the referent.
66576657+ type: string
66586658+ name:
66596659+ description: Name of the referent.
66606660+ type: string
66616661+ namespace:
66626662+ description: Namespace of the referent, when not specified it
66636663+ acts as LocalObjectReference.
66646664+ type: string
66656665+ required:
66666666+ - kind
66676667+ - name
66686668+ type: object
66696669+ type: array
66706670+ images:
66716671+ description: |-
66726672+ Images is a list of (image name, new name, new tag or digest)
66736673+ for changing image names, tags or digests. This can also be achieved with a
66746674+ patch, but this operator is simpler to specify.
66756675+ items:
66766676+ description: Image contains an image name, a new name, a new tag
66776677+ or digest, which will replace the original name and tag.
66786678+ properties:
66796679+ digest:
66806680+ description: |-
66816681+ Digest is the value used to replace the original image tag.
66826682+ If digest is present NewTag value is ignored.
66836683+ type: string
66846684+ name:
66856685+ description: Name is a tag-less image name.
66866686+ type: string
66876687+ newName:
66886688+ description: NewName is the value used to replace the original
66896689+ name.
66906690+ type: string
66916691+ newTag:
66926692+ description: NewTag is the value used to replace the original
66936693+ tag.
66946694+ type: string
66956695+ required:
66966696+ - name
66976697+ type: object
66986698+ type: array
66996699+ interval:
67006700+ description: The interval at which to reconcile the Kustomization.
67016701+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
67026702+ type: string
67036703+ kubeConfig:
67046704+ description: |-
67056705+ The KubeConfig for reconciling the Kustomization on a remote cluster.
67066706+ When used in combination with KustomizationSpec.ServiceAccountName,
67076707+ forces the controller to act on behalf of that Service Account at the
67086708+ target cluster.
67096709+ If the --default-service-account flag is set, its value will be used as
67106710+ a controller level fallback for when KustomizationSpec.ServiceAccountName
67116711+ is empty.
67126712+ properties:
67136713+ secretRef:
67146714+ description: |-
67156715+ SecretRef holds the name of a secret that contains a key with
67166716+ the kubeconfig file as the value. If no key is set, the key will default
67176717+ to 'value'.
67186718+ It is recommended that the kubeconfig is self-contained, and the secret
67196719+ is regularly updated if credentials such as a cloud-access-token expire.
67206720+ Cloud specific `cmd-path` auth helpers will not function without adding
67216721+ binaries and credentials to the Pod that is responsible for reconciling
67226722+ Kubernetes resources.
67236723+ properties:
67246724+ key:
67256725+ description: Key in the Secret, when not specified an implementation-specific
67266726+ default key is used.
67276727+ type: string
67286728+ name:
67296729+ description: Name of the Secret.
67306730+ type: string
67316731+ required:
67326732+ - name
67336733+ type: object
67346734+ required:
67356735+ - secretRef
67366736+ type: object
67376737+ patches:
67386738+ description: |-
67396739+ Strategic merge and JSON patches, defined as inline YAML objects,
67406740+ capable of targeting objects based on kind, label and annotation selectors.
67416741+ items:
67426742+ description: |-
67436743+ Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
67446744+ be applied to.
67456745+ properties:
67466746+ patch:
67476747+ description: |-
67486748+ Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
67496749+ an array of operation objects.
67506750+ type: string
67516751+ target:
67526752+ description: Target points to the resources that the patch document
67536753+ should be applied to.
67546754+ properties:
67556755+ annotationSelector:
67566756+ description: |-
67576757+ AnnotationSelector is a string that follows the label selection expression
67586758+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
67596759+ It matches with the resource annotations.
67606760+ type: string
67616761+ group:
67626762+ description: |-
67636763+ Group is the API group to select resources from.
67646764+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
67656765+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
67666766+ type: string
67676767+ kind:
67686768+ description: |-
67696769+ Kind of the API Group to select resources from.
67706770+ Together with Group and Version it is capable of unambiguously
67716771+ identifying and/or selecting resources.
67726772+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
67736773+ type: string
67746774+ labelSelector:
67756775+ description: |-
67766776+ LabelSelector is a string that follows the label selection expression
67776777+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
67786778+ It matches with the resource labels.
67796779+ type: string
67806780+ name:
67816781+ description: Name to match resources with.
67826782+ type: string
67836783+ namespace:
67846784+ description: Namespace to select resources from.
67856785+ type: string
67866786+ version:
67876787+ description: |-
67886788+ Version of the API Group to select resources from.
67896789+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
67906790+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
67916791+ type: string
67926792+ type: object
67936793+ required:
67946794+ - patch
67956795+ type: object
67966796+ type: array
67976797+ patchesJson6902:
67986798+ description: |-
67996799+ JSON 6902 patches, defined as inline YAML objects.
68006800+ Deprecated: Use Patches instead.
68016801+ items:
68026802+ description: JSON6902Patch contains a JSON6902 patch and the target
68036803+ the patch should be applied to.
68046804+ properties:
68056805+ patch:
68066806+ description: Patch contains the JSON6902 patch document with
68076807+ an array of operation objects.
68086808+ items:
68096809+ description: |-
68106810+ JSON6902 is a JSON6902 operation object.
68116811+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
68126812+ properties:
68136813+ from:
68146814+ description: |-
68156815+ From contains a JSON-pointer value that references a location within the target document where the operation is
68166816+ performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
68176817+ type: string
68186818+ op:
68196819+ description: |-
68206820+ Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
68216821+ "test".
68226822+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
68236823+ enum:
68246824+ - test
68256825+ - remove
68266826+ - add
68276827+ - replace
68286828+ - move
68296829+ - copy
68306830+ type: string
68316831+ path:
68326832+ description: |-
68336833+ Path contains the JSON-pointer value that references a location within the target document where the operation
68346834+ is performed. The meaning of the value depends on the value of Op.
68356835+ type: string
68366836+ value:
68376837+ description: |-
68386838+ Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
68396839+ account by all operations.
68406840+ x-kubernetes-preserve-unknown-fields: true
68416841+ required:
68426842+ - op
68436843+ - path
68446844+ type: object
68456845+ type: array
68466846+ target:
68476847+ description: Target points to the resources that the patch document
68486848+ should be applied to.
68496849+ properties:
68506850+ annotationSelector:
68516851+ description: |-
68526852+ AnnotationSelector is a string that follows the label selection expression
68536853+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
68546854+ It matches with the resource annotations.
68556855+ type: string
68566856+ group:
68576857+ description: |-
68586858+ Group is the API group to select resources from.
68596859+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
68606860+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
68616861+ type: string
68626862+ kind:
68636863+ description: |-
68646864+ Kind of the API Group to select resources from.
68656865+ Together with Group and Version it is capable of unambiguously
68666866+ identifying and/or selecting resources.
68676867+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
68686868+ type: string
68696869+ labelSelector:
68706870+ description: |-
68716871+ LabelSelector is a string that follows the label selection expression
68726872+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
68736873+ It matches with the resource labels.
68746874+ type: string
68756875+ name:
68766876+ description: Name to match resources with.
68776877+ type: string
68786878+ namespace:
68796879+ description: Namespace to select resources from.
68806880+ type: string
68816881+ version:
68826882+ description: |-
68836883+ Version of the API Group to select resources from.
68846884+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
68856885+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
68866886+ type: string
68876887+ type: object
68886888+ required:
68896889+ - patch
68906890+ - target
68916891+ type: object
68926892+ type: array
68936893+ patchesStrategicMerge:
68946894+ description: |-
68956895+ Strategic merge patches, defined as inline YAML objects.
68966896+ Deprecated: Use Patches instead.
68976897+ items:
68986898+ x-kubernetes-preserve-unknown-fields: true
68996899+ type: array
69006900+ path:
69016901+ description: |-
69026902+ Path to the directory containing the kustomization.yaml file, or the
69036903+ set of plain YAMLs a kustomization.yaml should be generated for.
69046904+ Defaults to 'None', which translates to the root path of the SourceRef.
69056905+ type: string
69066906+ postBuild:
69076907+ description: |-
69086908+ PostBuild describes which actions to perform on the YAML manifest
69096909+ generated by building the kustomize overlay.
69106910+ properties:
69116911+ substitute:
69126912+ additionalProperties:
69136913+ type: string
69146914+ description: |-
69156915+ Substitute holds a map of key/value pairs.
69166916+ The variables defined in your YAML manifests
69176917+ that match any of the keys defined in the map
69186918+ will be substituted with the set value.
69196919+ Includes support for bash string replacement functions
69206920+ e.g. ${var:=default}, ${var:position} and ${var/substring/replacement}.
69216921+ type: object
69226922+ substituteFrom:
69236923+ description: |-
69246924+ SubstituteFrom holds references to ConfigMaps and Secrets containing
69256925+ the variables and their values to be substituted in the YAML manifests.
69266926+ The ConfigMap and the Secret data keys represent the var names and they
69276927+ must match the vars declared in the manifests for the substitution to happen.
69286928+ items:
69296929+ description: |-
69306930+ SubstituteReference contains a reference to a resource containing
69316931+ the variables name and value.
69326932+ properties:
69336933+ kind:
69346934+ description: Kind of the values referent, valid values are
69356935+ ('Secret', 'ConfigMap').
69366936+ enum:
69376937+ - Secret
69386938+ - ConfigMap
69396939+ type: string
69406940+ name:
69416941+ description: |-
69426942+ Name of the values referent. Should reside in the same namespace as the
69436943+ referring resource.
69446944+ maxLength: 253
69456945+ minLength: 1
69466946+ type: string
69476947+ optional:
69486948+ default: false
69496949+ description: |-
69506950+ Optional indicates whether the referenced resource must exist, or whether to
69516951+ tolerate its absence. If true and the referenced resource is absent, proceed
69526952+ as if the resource was present but empty, without any variables defined.
69536953+ type: boolean
69546954+ required:
69556955+ - kind
69566956+ - name
69576957+ type: object
69586958+ type: array
69596959+ type: object
69606960+ prune:
69616961+ description: Prune enables garbage collection.
69626962+ type: boolean
69636963+ retryInterval:
69646964+ description: |-
69656965+ The interval at which to retry a previously failed reconciliation.
69666966+ When not specified, the controller uses the KustomizationSpec.Interval
69676967+ value to retry failures.
69686968+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
69696969+ type: string
69706970+ serviceAccountName:
69716971+ description: |-
69726972+ The name of the Kubernetes service account to impersonate
69736973+ when reconciling this Kustomization.
69746974+ type: string
69756975+ sourceRef:
69766976+ description: Reference of the source where the kustomization file
69776977+ is.
69786978+ properties:
69796979+ apiVersion:
69806980+ description: API version of the referent.
69816981+ type: string
69826982+ kind:
69836983+ description: Kind of the referent.
69846984+ enum:
69856985+ - OCIRepository
69866986+ - GitRepository
69876987+ - Bucket
69886988+ type: string
69896989+ name:
69906990+ description: Name of the referent.
69916991+ type: string
69926992+ namespace:
69936993+ description: Namespace of the referent, defaults to the namespace
69946994+ of the Kubernetes resource object that contains the reference.
69956995+ type: string
69966996+ required:
69976997+ - kind
69986998+ - name
69996999+ type: object
70007000+ suspend:
70017001+ description: |-
70027002+ This flag tells the controller to suspend subsequent kustomize executions,
70037003+ it does not apply to already started executions. Defaults to false.
70047004+ type: boolean
70057005+ targetNamespace:
70067006+ description: |-
70077007+ TargetNamespace sets or overrides the namespace in the
70087008+ kustomization.yaml file.
70097009+ maxLength: 63
70107010+ minLength: 1
70117011+ type: string
70127012+ timeout:
70137013+ description: |-
70147014+ Timeout for validation, apply and health checking operations.
70157015+ Defaults to 'Interval' duration.
70167016+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
70177017+ type: string
70187018+ validation:
70197019+ description: 'Deprecated: Not used in v1beta2.'
70207020+ enum:
70217021+ - none
70227022+ - client
70237023+ - server
70247024+ type: string
70257025+ wait:
70267026+ description: |-
70277027+ Wait instructs the controller to check the health of all the reconciled resources.
70287028+ When enabled, the HealthChecks are ignored. Defaults to false.
70297029+ type: boolean
70307030+ required:
70317031+ - interval
70327032+ - prune
70337033+ - sourceRef
70347034+ type: object
70357035+ status:
70367036+ default:
70377037+ observedGeneration: -1
70387038+ description: KustomizationStatus defines the observed state of a kustomization.
70397039+ properties:
70407040+ conditions:
70417041+ items:
70427042+ description: Condition contains details for one aspect of the current
70437043+ state of this API Resource.
70447044+ properties:
70457045+ lastTransitionTime:
70467046+ description: |-
70477047+ lastTransitionTime is the last time the condition transitioned from one status to another.
70487048+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
70497049+ format: date-time
70507050+ type: string
70517051+ message:
70527052+ description: |-
70537053+ message is a human readable message indicating details about the transition.
70547054+ This may be an empty string.
70557055+ maxLength: 32768
70567056+ type: string
70577057+ observedGeneration:
70587058+ description: |-
70597059+ observedGeneration represents the .metadata.generation that the condition was set based upon.
70607060+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
70617061+ with respect to the current state of the instance.
70627062+ format: int64
70637063+ minimum: 0
70647064+ type: integer
70657065+ reason:
70667066+ description: |-
70677067+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
70687068+ Producers of specific condition types may define expected values and meanings for this field,
70697069+ and whether the values are considered a guaranteed API.
70707070+ The value should be a CamelCase string.
70717071+ This field may not be empty.
70727072+ maxLength: 1024
70737073+ minLength: 1
70747074+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
70757075+ type: string
70767076+ status:
70777077+ description: status of the condition, one of True, False, Unknown.
70787078+ enum:
70797079+ - "True"
70807080+ - "False"
70817081+ - Unknown
70827082+ type: string
70837083+ type:
70847084+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
70857085+ maxLength: 316
70867086+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
70877087+ type: string
70887088+ required:
70897089+ - lastTransitionTime
70907090+ - message
70917091+ - reason
70927092+ - status
70937093+ - type
70947094+ type: object
70957095+ type: array
70967096+ inventory:
70977097+ description: Inventory contains the list of Kubernetes resource object
70987098+ references that have been successfully applied.
70997099+ properties:
71007100+ entries:
71017101+ description: Entries of Kubernetes resource object references.
71027102+ items:
71037103+ description: ResourceRef contains the information necessary
71047104+ to locate a resource within a cluster.
71057105+ properties:
71067106+ id:
71077107+ description: |-
71087108+ ID is the string representation of the Kubernetes resource object's metadata,
71097109+ in the format '<namespace>_<name>_<group>_<kind>'.
71107110+ type: string
71117111+ v:
71127112+ description: Version is the API version of the Kubernetes
71137113+ resource object's kind.
71147114+ type: string
71157115+ required:
71167116+ - id
71177117+ - v
71187118+ type: object
71197119+ type: array
71207120+ required:
71217121+ - entries
71227122+ type: object
71237123+ lastAppliedRevision:
71247124+ description: |-
71257125+ The last successfully applied revision.
71267126+ Equals the Revision of the applied Artifact from the referenced Source.
71277127+ type: string
71287128+ lastAttemptedRevision:
71297129+ description: LastAttemptedRevision is the revision of the last reconciliation
71307130+ attempt.
71317131+ type: string
71327132+ lastHandledReconcileAt:
71337133+ description: |-
71347134+ LastHandledReconcileAt holds the value of the most recent
71357135+ reconcile request value, so a change of the annotation value
71367136+ can be detected.
71377137+ type: string
71387138+ observedGeneration:
71397139+ description: ObservedGeneration is the last reconciled generation.
71407140+ format: int64
71417141+ type: integer
71427142+ type: object
71437143+ type: object
71447144+ served: true
71457145+ storage: false
71467146+ subresources:
71477147+ status: {}
71487148+---
71497149+apiVersion: v1
71507150+kind: ServiceAccount
71517151+metadata:
71527152+ labels:
71537153+ app.kubernetes.io/component: kustomize-controller
71547154+ app.kubernetes.io/instance: flux-system
71557155+ app.kubernetes.io/part-of: flux
71567156+ app.kubernetes.io/version: v2.6.4
71577157+ name: kustomize-controller
71587158+ namespace: flux-system
71597159+---
71607160+apiVersion: apps/v1
71617161+kind: Deployment
71627162+metadata:
71637163+ labels:
71647164+ app.kubernetes.io/component: kustomize-controller
71657165+ app.kubernetes.io/instance: flux-system
71667166+ app.kubernetes.io/part-of: flux
71677167+ app.kubernetes.io/version: v2.6.4
71687168+ control-plane: controller
71697169+ name: kustomize-controller
71707170+ namespace: flux-system
71717171+spec:
71727172+ replicas: 1
71737173+ selector:
71747174+ matchLabels:
71757175+ app: kustomize-controller
71767176+ template:
71777177+ metadata:
71787178+ annotations:
71797179+ prometheus.io/port: "8080"
71807180+ prometheus.io/scrape: "true"
71817181+ labels:
71827182+ app: kustomize-controller
71837183+ spec:
71847184+ containers:
71857185+ - args:
71867186+ - --events-addr=http://notification-controller.flux-system.svc.cluster.local./
71877187+ - --watch-all-namespaces=true
71887188+ - --log-level=info
71897189+ - --log-encoding=json
71907190+ - --enable-leader-election
71917191+ env:
71927192+ - name: RUNTIME_NAMESPACE
71937193+ valueFrom:
71947194+ fieldRef:
71957195+ fieldPath: metadata.namespace
71967196+ - name: GOMAXPROCS
71977197+ valueFrom:
71987198+ resourceFieldRef:
71997199+ containerName: manager
72007200+ resource: limits.cpu
72017201+ - name: GOMEMLIMIT
72027202+ valueFrom:
72037203+ resourceFieldRef:
72047204+ containerName: manager
72057205+ resource: limits.memory
72067206+ image: ghcr.io/fluxcd/kustomize-controller:v1.6.1
72077207+ imagePullPolicy: IfNotPresent
72087208+ livenessProbe:
72097209+ httpGet:
72107210+ path: /healthz
72117211+ port: healthz
72127212+ name: manager
72137213+ ports:
72147214+ - containerPort: 8080
72157215+ name: http-prom
72167216+ protocol: TCP
72177217+ - containerPort: 9440
72187218+ name: healthz
72197219+ protocol: TCP
72207220+ readinessProbe:
72217221+ httpGet:
72227222+ path: /readyz
72237223+ port: healthz
72247224+ resources:
72257225+ limits:
72267226+ cpu: 1000m
72277227+ memory: 1Gi
72287228+ requests:
72297229+ cpu: 100m
72307230+ memory: 64Mi
72317231+ securityContext:
72327232+ allowPrivilegeEscalation: false
72337233+ capabilities:
72347234+ drop:
72357235+ - ALL
72367236+ readOnlyRootFilesystem: true
72377237+ runAsNonRoot: true
72387238+ seccompProfile:
72397239+ type: RuntimeDefault
72407240+ volumeMounts:
72417241+ - mountPath: /tmp
72427242+ name: temp
72437243+ nodeSelector:
72447244+ kubernetes.io/os: linux
72457245+ priorityClassName: system-cluster-critical
72467246+ securityContext:
72477247+ fsGroup: 1337
72487248+ serviceAccountName: kustomize-controller
72497249+ terminationGracePeriodSeconds: 60
72507250+ volumes:
72517251+ - emptyDir: {}
72527252+ name: temp
72537253+---
72547254+apiVersion: apiextensions.k8s.io/v1
72557255+kind: CustomResourceDefinition
72567256+metadata:
72577257+ annotations:
72587258+ controller-gen.kubebuilder.io/version: v0.16.1
72597259+ labels:
72607260+ app.kubernetes.io/component: helm-controller
72617261+ app.kubernetes.io/instance: flux-system
72627262+ app.kubernetes.io/part-of: flux
72637263+ app.kubernetes.io/version: v2.6.4
72647264+ name: helmreleases.helm.toolkit.fluxcd.io
72657265+spec:
72667266+ group: helm.toolkit.fluxcd.io
72677267+ names:
72687268+ kind: HelmRelease
72697269+ listKind: HelmReleaseList
72707270+ plural: helmreleases
72717271+ shortNames:
72727272+ - hr
72737273+ singular: helmrelease
72747274+ scope: Namespaced
72757275+ versions:
72767276+ - additionalPrinterColumns:
72777277+ - jsonPath: .metadata.creationTimestamp
72787278+ name: Age
72797279+ type: date
72807280+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
72817281+ name: Ready
72827282+ type: string
72837283+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
72847284+ name: Status
72857285+ type: string
72867286+ name: v2
72877287+ schema:
72887288+ openAPIV3Schema:
72897289+ description: HelmRelease is the Schema for the helmreleases API
72907290+ properties:
72917291+ apiVersion:
72927292+ description: |-
72937293+ APIVersion defines the versioned schema of this representation of an object.
72947294+ Servers should convert recognized schemas to the latest internal value, and
72957295+ may reject unrecognized values.
72967296+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
72977297+ type: string
72987298+ kind:
72997299+ description: |-
73007300+ Kind is a string value representing the REST resource this object represents.
73017301+ Servers may infer this from the endpoint the client submits requests to.
73027302+ Cannot be updated.
73037303+ In CamelCase.
73047304+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
73057305+ type: string
73067306+ metadata:
73077307+ type: object
73087308+ spec:
73097309+ description: HelmReleaseSpec defines the desired state of a Helm release.
73107310+ properties:
73117311+ chart:
73127312+ description: |-
73137313+ Chart defines the template of the v1.HelmChart that should be created
73147314+ for this HelmRelease.
73157315+ properties:
73167316+ metadata:
73177317+ description: ObjectMeta holds the template for metadata like labels
73187318+ and annotations.
73197319+ properties:
73207320+ annotations:
73217321+ additionalProperties:
73227322+ type: string
73237323+ description: |-
73247324+ Annotations is an unstructured key value map stored with a resource that may be
73257325+ set by external tools to store and retrieve arbitrary metadata. They are not
73267326+ queryable and should be preserved when modifying objects.
73277327+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
73287328+ type: object
73297329+ labels:
73307330+ additionalProperties:
73317331+ type: string
73327332+ description: |-
73337333+ Map of string keys and values that can be used to organize and categorize
73347334+ (scope and select) objects.
73357335+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
73367336+ type: object
73377337+ type: object
73387338+ spec:
73397339+ description: Spec holds the template for the v1.HelmChartSpec
73407340+ for this HelmRelease.
73417341+ properties:
73427342+ chart:
73437343+ description: The name or path the Helm chart is available
73447344+ at in the SourceRef.
73457345+ maxLength: 2048
73467346+ minLength: 1
73477347+ type: string
73487348+ ignoreMissingValuesFiles:
73497349+ description: IgnoreMissingValuesFiles controls whether to
73507350+ silently ignore missing values files rather than failing.
73517351+ type: boolean
73527352+ interval:
73537353+ description: |-
73547354+ Interval at which to check the v1.Source for updates. Defaults to
73557355+ 'HelmReleaseSpec.Interval'.
73567356+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
73577357+ type: string
73587358+ reconcileStrategy:
73597359+ default: ChartVersion
73607360+ description: |-
73617361+ Determines what enables the creation of a new artifact. Valid values are
73627362+ ('ChartVersion', 'Revision').
73637363+ See the documentation of the values for an explanation on their behavior.
73647364+ Defaults to ChartVersion when omitted.
73657365+ enum:
73667366+ - ChartVersion
73677367+ - Revision
73687368+ type: string
73697369+ sourceRef:
73707370+ description: The name and namespace of the v1.Source the chart
73717371+ is available at.
73727372+ properties:
73737373+ apiVersion:
73747374+ description: APIVersion of the referent.
73757375+ type: string
73767376+ kind:
73777377+ description: Kind of the referent.
73787378+ enum:
73797379+ - HelmRepository
73807380+ - GitRepository
73817381+ - Bucket
73827382+ type: string
73837383+ name:
73847384+ description: Name of the referent.
73857385+ maxLength: 253
73867386+ minLength: 1
73877387+ type: string
73887388+ namespace:
73897389+ description: Namespace of the referent.
73907390+ maxLength: 63
73917391+ minLength: 1
73927392+ type: string
73937393+ required:
73947394+ - kind
73957395+ - name
73967396+ type: object
73977397+ valuesFiles:
73987398+ description: |-
73997399+ Alternative list of values files to use as the chart values (values.yaml
74007400+ is not included by default), expected to be a relative path in the SourceRef.
74017401+ Values files are merged in the order of this list with the last file overriding
74027402+ the first. Ignored when omitted.
74037403+ items:
74047404+ type: string
74057405+ type: array
74067406+ verify:
74077407+ description: |-
74087408+ Verify contains the secret name containing the trusted public keys
74097409+ used to verify the signature and specifies which provider to use to check
74107410+ whether OCI image is authentic.
74117411+ This field is only supported for OCI sources.
74127412+ Chart dependencies, which are not bundled in the umbrella chart artifact,
74137413+ are not verified.
74147414+ properties:
74157415+ provider:
74167416+ default: cosign
74177417+ description: Provider specifies the technology used to
74187418+ sign the OCI Helm chart.
74197419+ enum:
74207420+ - cosign
74217421+ - notation
74227422+ type: string
74237423+ secretRef:
74247424+ description: |-
74257425+ SecretRef specifies the Kubernetes Secret containing the
74267426+ trusted public keys.
74277427+ properties:
74287428+ name:
74297429+ description: Name of the referent.
74307430+ type: string
74317431+ required:
74327432+ - name
74337433+ type: object
74347434+ required:
74357435+ - provider
74367436+ type: object
74377437+ version:
74387438+ default: '*'
74397439+ description: |-
74407440+ Version semver expression, ignored for charts from v1.GitRepository and
74417441+ v1beta2.Bucket sources. Defaults to latest when omitted.
74427442+ type: string
74437443+ required:
74447444+ - chart
74457445+ - sourceRef
74467446+ type: object
74477447+ required:
74487448+ - spec
74497449+ type: object
74507450+ chartRef:
74517451+ description: |-
74527452+ ChartRef holds a reference to a source controller resource containing the
74537453+ Helm chart artifact.
74547454+ properties:
74557455+ apiVersion:
74567456+ description: APIVersion of the referent.
74577457+ type: string
74587458+ kind:
74597459+ description: Kind of the referent.
74607460+ enum:
74617461+ - OCIRepository
74627462+ - HelmChart
74637463+ type: string
74647464+ name:
74657465+ description: Name of the referent.
74667466+ maxLength: 253
74677467+ minLength: 1
74687468+ type: string
74697469+ namespace:
74707470+ description: |-
74717471+ Namespace of the referent, defaults to the namespace of the Kubernetes
74727472+ resource object that contains the reference.
74737473+ maxLength: 63
74747474+ minLength: 1
74757475+ type: string
74767476+ required:
74777477+ - kind
74787478+ - name
74797479+ type: object
74807480+ dependsOn:
74817481+ description: |-
74827482+ DependsOn may contain a meta.NamespacedObjectReference slice with
74837483+ references to HelmRelease resources that must be ready before this HelmRelease
74847484+ can be reconciled.
74857485+ items:
74867486+ description: |-
74877487+ NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
74887488+ namespace.
74897489+ properties:
74907490+ name:
74917491+ description: Name of the referent.
74927492+ type: string
74937493+ namespace:
74947494+ description: Namespace of the referent, when not specified it
74957495+ acts as LocalObjectReference.
74967496+ type: string
74977497+ required:
74987498+ - name
74997499+ type: object
75007500+ type: array
75017501+ driftDetection:
75027502+ description: |-
75037503+ DriftDetection holds the configuration for detecting and handling
75047504+ differences between the manifest in the Helm storage and the resources
75057505+ currently existing in the cluster.
75067506+ properties:
75077507+ ignore:
75087508+ description: |-
75097509+ Ignore contains a list of rules for specifying which changes to ignore
75107510+ during diffing.
75117511+ items:
75127512+ description: |-
75137513+ IgnoreRule defines a rule to selectively disregard specific changes during
75147514+ the drift detection process.
75157515+ properties:
75167516+ paths:
75177517+ description: |-
75187518+ Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
75197519+ consideration in a Kubernetes object.
75207520+ items:
75217521+ type: string
75227522+ type: array
75237523+ target:
75247524+ description: |-
75257525+ Target is a selector for specifying Kubernetes objects to which this
75267526+ rule applies.
75277527+ If Target is not set, the Paths will be ignored for all Kubernetes
75287528+ objects within the manifest of the Helm release.
75297529+ properties:
75307530+ annotationSelector:
75317531+ description: |-
75327532+ AnnotationSelector is a string that follows the label selection expression
75337533+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
75347534+ It matches with the resource annotations.
75357535+ type: string
75367536+ group:
75377537+ description: |-
75387538+ Group is the API group to select resources from.
75397539+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
75407540+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
75417541+ type: string
75427542+ kind:
75437543+ description: |-
75447544+ Kind of the API Group to select resources from.
75457545+ Together with Group and Version it is capable of unambiguously
75467546+ identifying and/or selecting resources.
75477547+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
75487548+ type: string
75497549+ labelSelector:
75507550+ description: |-
75517551+ LabelSelector is a string that follows the label selection expression
75527552+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
75537553+ It matches with the resource labels.
75547554+ type: string
75557555+ name:
75567556+ description: Name to match resources with.
75577557+ type: string
75587558+ namespace:
75597559+ description: Namespace to select resources from.
75607560+ type: string
75617561+ version:
75627562+ description: |-
75637563+ Version of the API Group to select resources from.
75647564+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
75657565+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
75667566+ type: string
75677567+ type: object
75687568+ required:
75697569+ - paths
75707570+ type: object
75717571+ type: array
75727572+ mode:
75737573+ description: |-
75747574+ Mode defines how differences should be handled between the Helm manifest
75757575+ and the manifest currently applied to the cluster.
75767576+ If not explicitly set, it defaults to DiffModeDisabled.
75777577+ enum:
75787578+ - enabled
75797579+ - warn
75807580+ - disabled
75817581+ type: string
75827582+ type: object
75837583+ install:
75847584+ description: Install holds the configuration for Helm install actions
75857585+ for this HelmRelease.
75867586+ properties:
75877587+ crds:
75887588+ description: |-
75897589+ CRDs upgrade CRDs from the Helm Chart's crds directory according
75907590+ to the CRD upgrade policy provided here. Valid values are `Skip`,
75917591+ `Create` or `CreateReplace`. Default is `Create` and if omitted
75927592+ CRDs are installed but not updated.
75937593+75947594+ Skip: do neither install nor replace (update) any CRDs.
75957595+75967596+ Create: new CRDs are created, existing CRDs are neither updated nor deleted.
75977597+75987598+ CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
75997599+ but not deleted.
76007600+76017601+ By default, CRDs are applied (installed) during Helm install action.
76027602+ With this option users can opt in to CRD replace existing CRDs on Helm
76037603+ install actions, which is not (yet) natively supported by Helm.
76047604+ https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
76057605+ enum:
76067606+ - Skip
76077607+ - Create
76087608+ - CreateReplace
76097609+ type: string
76107610+ createNamespace:
76117611+ description: |-
76127612+ CreateNamespace tells the Helm install action to create the
76137613+ HelmReleaseSpec.TargetNamespace if it does not exist yet.
76147614+ On uninstall, the namespace will not be garbage collected.
76157615+ type: boolean
76167616+ disableHooks:
76177617+ description: DisableHooks prevents hooks from running during the
76187618+ Helm install action.
76197619+ type: boolean
76207620+ disableOpenAPIValidation:
76217621+ description: |-
76227622+ DisableOpenAPIValidation prevents the Helm install action from validating
76237623+ rendered templates against the Kubernetes OpenAPI Schema.
76247624+ type: boolean
76257625+ disableSchemaValidation:
76267626+ description: |-
76277627+ DisableSchemaValidation prevents the Helm install action from validating
76287628+ the values against the JSON Schema.
76297629+ type: boolean
76307630+ disableTakeOwnership:
76317631+ description: |-
76327632+ DisableTakeOwnership disables taking ownership of existing resources
76337633+ during the Helm install action. Defaults to false.
76347634+ type: boolean
76357635+ disableWait:
76367636+ description: |-
76377637+ DisableWait disables the waiting for resources to be ready after a Helm
76387638+ install has been performed.
76397639+ type: boolean
76407640+ disableWaitForJobs:
76417641+ description: |-
76427642+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
76437643+ install has been performed.
76447644+ type: boolean
76457645+ remediation:
76467646+ description: |-
76477647+ Remediation holds the remediation configuration for when the Helm install
76487648+ action for the HelmRelease fails. The default is to not perform any action.
76497649+ properties:
76507650+ ignoreTestFailures:
76517651+ description: |-
76527652+ IgnoreTestFailures tells the controller to skip remediation when the Helm
76537653+ tests are run after an install action but fail. Defaults to
76547654+ 'Test.IgnoreFailures'.
76557655+ type: boolean
76567656+ remediateLastFailure:
76577657+ description: |-
76587658+ RemediateLastFailure tells the controller to remediate the last failure, when
76597659+ no retries remain. Defaults to 'false'.
76607660+ type: boolean
76617661+ retries:
76627662+ description: |-
76637663+ Retries is the number of retries that should be attempted on failures before
76647664+ bailing. Remediation, using an uninstall, is performed between each attempt.
76657665+ Defaults to '0', a negative integer equals to unlimited retries.
76667666+ type: integer
76677667+ type: object
76687668+ replace:
76697669+ description: |-
76707670+ Replace tells the Helm install action to re-use the 'ReleaseName', but only
76717671+ if that name is a deleted release which remains in the history.
76727672+ type: boolean
76737673+ skipCRDs:
76747674+ description: |-
76757675+ SkipCRDs tells the Helm install action to not install any CRDs. By default,
76767676+ CRDs are installed if not already present.
76777677+76787678+ Deprecated use CRD policy (`crds`) attribute with value `Skip` instead.
76797679+ type: boolean
76807680+ timeout:
76817681+ description: |-
76827682+ Timeout is the time to wait for any individual Kubernetes operation (like
76837683+ Jobs for hooks) during the performance of a Helm install action. Defaults to
76847684+ 'HelmReleaseSpec.Timeout'.
76857685+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
76867686+ type: string
76877687+ type: object
76887688+ interval:
76897689+ description: Interval at which to reconcile the Helm release.
76907690+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
76917691+ type: string
76927692+ kubeConfig:
76937693+ description: |-
76947694+ KubeConfig for reconciling the HelmRelease on a remote cluster.
76957695+ When used in combination with HelmReleaseSpec.ServiceAccountName,
76967696+ forces the controller to act on behalf of that Service Account at the
76977697+ target cluster.
76987698+ If the --default-service-account flag is set, its value will be used as
76997699+ a controller level fallback for when HelmReleaseSpec.ServiceAccountName
77007700+ is empty.
77017701+ properties:
77027702+ secretRef:
77037703+ description: |-
77047704+ SecretRef holds the name of a secret that contains a key with
77057705+ the kubeconfig file as the value. If no key is set, the key will default
77067706+ to 'value'.
77077707+ It is recommended that the kubeconfig is self-contained, and the secret
77087708+ is regularly updated if credentials such as a cloud-access-token expire.
77097709+ Cloud specific `cmd-path` auth helpers will not function without adding
77107710+ binaries and credentials to the Pod that is responsible for reconciling
77117711+ Kubernetes resources.
77127712+ properties:
77137713+ key:
77147714+ description: Key in the Secret, when not specified an implementation-specific
77157715+ default key is used.
77167716+ type: string
77177717+ name:
77187718+ description: Name of the Secret.
77197719+ type: string
77207720+ required:
77217721+ - name
77227722+ type: object
77237723+ required:
77247724+ - secretRef
77257725+ type: object
77267726+ maxHistory:
77277727+ description: |-
77287728+ MaxHistory is the number of revisions saved by Helm for this HelmRelease.
77297729+ Use '0' for an unlimited number of revisions; defaults to '5'.
77307730+ type: integer
77317731+ persistentClient:
77327732+ description: |-
77337733+ PersistentClient tells the controller to use a persistent Kubernetes
77347734+ client for this release. When enabled, the client will be reused for the
77357735+ duration of the reconciliation, instead of being created and destroyed
77367736+ for each (step of a) Helm action.
77377737+77387738+ This can improve performance, but may cause issues with some Helm charts
77397739+ that for example do create Custom Resource Definitions during installation
77407740+ outside Helm's CRD lifecycle hooks, which are then not observed to be
77417741+ available by e.g. post-install hooks.
77427742+77437743+ If not set, it defaults to true.
77447744+ type: boolean
77457745+ postRenderers:
77467746+ description: |-
77477747+ PostRenderers holds an array of Helm PostRenderers, which will be applied in order
77487748+ of their definition.
77497749+ items:
77507750+ description: PostRenderer contains a Helm PostRenderer specification.
77517751+ properties:
77527752+ kustomize:
77537753+ description: Kustomization to apply as PostRenderer.
77547754+ properties:
77557755+ images:
77567756+ description: |-
77577757+ Images is a list of (image name, new name, new tag or digest)
77587758+ for changing image names, tags or digests. This can also be achieved with a
77597759+ patch, but this operator is simpler to specify.
77607760+ items:
77617761+ description: Image contains an image name, a new name,
77627762+ a new tag or digest, which will replace the original
77637763+ name and tag.
77647764+ properties:
77657765+ digest:
77667766+ description: |-
77677767+ Digest is the value used to replace the original image tag.
77687768+ If digest is present NewTag value is ignored.
77697769+ type: string
77707770+ name:
77717771+ description: Name is a tag-less image name.
77727772+ type: string
77737773+ newName:
77747774+ description: NewName is the value used to replace
77757775+ the original name.
77767776+ type: string
77777777+ newTag:
77787778+ description: NewTag is the value used to replace the
77797779+ original tag.
77807780+ type: string
77817781+ required:
77827782+ - name
77837783+ type: object
77847784+ type: array
77857785+ patches:
77867786+ description: |-
77877787+ Strategic merge and JSON patches, defined as inline YAML objects,
77887788+ capable of targeting objects based on kind, label and annotation selectors.
77897789+ items:
77907790+ description: |-
77917791+ Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
77927792+ be applied to.
77937793+ properties:
77947794+ patch:
77957795+ description: |-
77967796+ Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
77977797+ an array of operation objects.
77987798+ type: string
77997799+ target:
78007800+ description: Target points to the resources that the
78017801+ patch document should be applied to.
78027802+ properties:
78037803+ annotationSelector:
78047804+ description: |-
78057805+ AnnotationSelector is a string that follows the label selection expression
78067806+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
78077807+ It matches with the resource annotations.
78087808+ type: string
78097809+ group:
78107810+ description: |-
78117811+ Group is the API group to select resources from.
78127812+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
78137813+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
78147814+ type: string
78157815+ kind:
78167816+ description: |-
78177817+ Kind of the API Group to select resources from.
78187818+ Together with Group and Version it is capable of unambiguously
78197819+ identifying and/or selecting resources.
78207820+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
78217821+ type: string
78227822+ labelSelector:
78237823+ description: |-
78247824+ LabelSelector is a string that follows the label selection expression
78257825+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
78267826+ It matches with the resource labels.
78277827+ type: string
78287828+ name:
78297829+ description: Name to match resources with.
78307830+ type: string
78317831+ namespace:
78327832+ description: Namespace to select resources from.
78337833+ type: string
78347834+ version:
78357835+ description: |-
78367836+ Version of the API Group to select resources from.
78377837+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
78387838+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
78397839+ type: string
78407840+ type: object
78417841+ required:
78427842+ - patch
78437843+ type: object
78447844+ type: array
78457845+ type: object
78467846+ type: object
78477847+ type: array
78487848+ releaseName:
78497849+ description: |-
78507850+ ReleaseName used for the Helm release. Defaults to a composition of
78517851+ '[TargetNamespace-]Name'.
78527852+ maxLength: 53
78537853+ minLength: 1
78547854+ type: string
78557855+ rollback:
78567856+ description: Rollback holds the configuration for Helm rollback actions
78577857+ for this HelmRelease.
78587858+ properties:
78597859+ cleanupOnFail:
78607860+ description: |-
78617861+ CleanupOnFail allows deletion of new resources created during the Helm
78627862+ rollback action when it fails.
78637863+ type: boolean
78647864+ disableHooks:
78657865+ description: DisableHooks prevents hooks from running during the
78667866+ Helm rollback action.
78677867+ type: boolean
78687868+ disableWait:
78697869+ description: |-
78707870+ DisableWait disables the waiting for resources to be ready after a Helm
78717871+ rollback has been performed.
78727872+ type: boolean
78737873+ disableWaitForJobs:
78747874+ description: |-
78757875+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
78767876+ rollback has been performed.
78777877+ type: boolean
78787878+ force:
78797879+ description: Force forces resource updates through a replacement
78807880+ strategy.
78817881+ type: boolean
78827882+ recreate:
78837883+ description: Recreate performs pod restarts for the resource if
78847884+ applicable.
78857885+ type: boolean
78867886+ timeout:
78877887+ description: |-
78887888+ Timeout is the time to wait for any individual Kubernetes operation (like
78897889+ Jobs for hooks) during the performance of a Helm rollback action. Defaults to
78907890+ 'HelmReleaseSpec.Timeout'.
78917891+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
78927892+ type: string
78937893+ type: object
78947894+ serviceAccountName:
78957895+ description: |-
78967896+ The name of the Kubernetes service account to impersonate
78977897+ when reconciling this HelmRelease.
78987898+ maxLength: 253
78997899+ minLength: 1
79007900+ type: string
79017901+ storageNamespace:
79027902+ description: |-
79037903+ StorageNamespace used for the Helm storage.
79047904+ Defaults to the namespace of the HelmRelease.
79057905+ maxLength: 63
79067906+ minLength: 1
79077907+ type: string
79087908+ suspend:
79097909+ description: |-
79107910+ Suspend tells the controller to suspend reconciliation for this HelmRelease,
79117911+ it does not apply to already started reconciliations. Defaults to false.
79127912+ type: boolean
79137913+ targetNamespace:
79147914+ description: |-
79157915+ TargetNamespace to target when performing operations for the HelmRelease.
79167916+ Defaults to the namespace of the HelmRelease.
79177917+ maxLength: 63
79187918+ minLength: 1
79197919+ type: string
79207920+ test:
79217921+ description: Test holds the configuration for Helm test actions for
79227922+ this HelmRelease.
79237923+ properties:
79247924+ enable:
79257925+ description: |-
79267926+ Enable enables Helm test actions for this HelmRelease after an Helm install
79277927+ or upgrade action has been performed.
79287928+ type: boolean
79297929+ filters:
79307930+ description: Filters is a list of tests to run or exclude from
79317931+ running.
79327932+ items:
79337933+ description: Filter holds the configuration for individual Helm
79347934+ test filters.
79357935+ properties:
79367936+ exclude:
79377937+ description: Exclude specifies whether the named test should
79387938+ be excluded.
79397939+ type: boolean
79407940+ name:
79417941+ description: Name is the name of the test.
79427942+ maxLength: 253
79437943+ minLength: 1
79447944+ type: string
79457945+ required:
79467946+ - name
79477947+ type: object
79487948+ type: array
79497949+ ignoreFailures:
79507950+ description: |-
79517951+ IgnoreFailures tells the controller to skip remediation when the Helm tests
79527952+ are run but fail. Can be overwritten for tests run after install or upgrade
79537953+ actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'.
79547954+ type: boolean
79557955+ timeout:
79567956+ description: |-
79577957+ Timeout is the time to wait for any individual Kubernetes operation during
79587958+ the performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'.
79597959+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
79607960+ type: string
79617961+ type: object
79627962+ timeout:
79637963+ description: |-
79647964+ Timeout is the time to wait for any individual Kubernetes operation (like Jobs
79657965+ for hooks) during the performance of a Helm action. Defaults to '5m0s'.
79667966+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
79677967+ type: string
79687968+ uninstall:
79697969+ description: Uninstall holds the configuration for Helm uninstall
79707970+ actions for this HelmRelease.
79717971+ properties:
79727972+ deletionPropagation:
79737973+ default: background
79747974+ description: |-
79757975+ DeletionPropagation specifies the deletion propagation policy when
79767976+ a Helm uninstall is performed.
79777977+ enum:
79787978+ - background
79797979+ - foreground
79807980+ - orphan
79817981+ type: string
79827982+ disableHooks:
79837983+ description: DisableHooks prevents hooks from running during the
79847984+ Helm rollback action.
79857985+ type: boolean
79867986+ disableWait:
79877987+ description: |-
79887988+ DisableWait disables waiting for all the resources to be deleted after
79897989+ a Helm uninstall is performed.
79907990+ type: boolean
79917991+ keepHistory:
79927992+ description: |-
79937993+ KeepHistory tells Helm to remove all associated resources and mark the
79947994+ release as deleted, but retain the release history.
79957995+ type: boolean
79967996+ timeout:
79977997+ description: |-
79987998+ Timeout is the time to wait for any individual Kubernetes operation (like
79997999+ Jobs for hooks) during the performance of a Helm uninstall action. Defaults
80008000+ to 'HelmReleaseSpec.Timeout'.
80018001+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
80028002+ type: string
80038003+ type: object
80048004+ upgrade:
80058005+ description: Upgrade holds the configuration for Helm upgrade actions
80068006+ for this HelmRelease.
80078007+ properties:
80088008+ cleanupOnFail:
80098009+ description: |-
80108010+ CleanupOnFail allows deletion of new resources created during the Helm
80118011+ upgrade action when it fails.
80128012+ type: boolean
80138013+ crds:
80148014+ description: |-
80158015+ CRDs upgrade CRDs from the Helm Chart's crds directory according
80168016+ to the CRD upgrade policy provided here. Valid values are `Skip`,
80178017+ `Create` or `CreateReplace`. Default is `Skip` and if omitted
80188018+ CRDs are neither installed nor upgraded.
80198019+80208020+ Skip: do neither install nor replace (update) any CRDs.
80218021+80228022+ Create: new CRDs are created, existing CRDs are neither updated nor deleted.
80238023+80248024+ CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
80258025+ but not deleted.
80268026+80278027+ By default, CRDs are not applied during Helm upgrade action. With this
80288028+ option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
80298029+ https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
80308030+ enum:
80318031+ - Skip
80328032+ - Create
80338033+ - CreateReplace
80348034+ type: string
80358035+ disableHooks:
80368036+ description: DisableHooks prevents hooks from running during the
80378037+ Helm upgrade action.
80388038+ type: boolean
80398039+ disableOpenAPIValidation:
80408040+ description: |-
80418041+ DisableOpenAPIValidation prevents the Helm upgrade action from validating
80428042+ rendered templates against the Kubernetes OpenAPI Schema.
80438043+ type: boolean
80448044+ disableSchemaValidation:
80458045+ description: |-
80468046+ DisableSchemaValidation prevents the Helm upgrade action from validating
80478047+ the values against the JSON Schema.
80488048+ type: boolean
80498049+ disableTakeOwnership:
80508050+ description: |-
80518051+ DisableTakeOwnership disables taking ownership of existing resources
80528052+ during the Helm upgrade action. Defaults to false.
80538053+ type: boolean
80548054+ disableWait:
80558055+ description: |-
80568056+ DisableWait disables the waiting for resources to be ready after a Helm
80578057+ upgrade has been performed.
80588058+ type: boolean
80598059+ disableWaitForJobs:
80608060+ description: |-
80618061+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
80628062+ upgrade has been performed.
80638063+ type: boolean
80648064+ force:
80658065+ description: Force forces resource updates through a replacement
80668066+ strategy.
80678067+ type: boolean
80688068+ preserveValues:
80698069+ description: |-
80708070+ PreserveValues will make Helm reuse the last release's values and merge in
80718071+ overrides from 'Values'. Setting this flag makes the HelmRelease
80728072+ non-declarative.
80738073+ type: boolean
80748074+ remediation:
80758075+ description: |-
80768076+ Remediation holds the remediation configuration for when the Helm upgrade
80778077+ action for the HelmRelease fails. The default is to not perform any action.
80788078+ properties:
80798079+ ignoreTestFailures:
80808080+ description: |-
80818081+ IgnoreTestFailures tells the controller to skip remediation when the Helm
80828082+ tests are run after an upgrade action but fail.
80838083+ Defaults to 'Test.IgnoreFailures'.
80848084+ type: boolean
80858085+ remediateLastFailure:
80868086+ description: |-
80878087+ RemediateLastFailure tells the controller to remediate the last failure, when
80888088+ no retries remain. Defaults to 'false' unless 'Retries' is greater than 0.
80898089+ type: boolean
80908090+ retries:
80918091+ description: |-
80928092+ Retries is the number of retries that should be attempted on failures before
80938093+ bailing. Remediation, using 'Strategy', is performed between each attempt.
80948094+ Defaults to '0', a negative integer equals to unlimited retries.
80958095+ type: integer
80968096+ strategy:
80978097+ description: Strategy to use for failure remediation. Defaults
80988098+ to 'rollback'.
80998099+ enum:
81008100+ - rollback
81018101+ - uninstall
81028102+ type: string
81038103+ type: object
81048104+ timeout:
81058105+ description: |-
81068106+ Timeout is the time to wait for any individual Kubernetes operation (like
81078107+ Jobs for hooks) during the performance of a Helm upgrade action. Defaults to
81088108+ 'HelmReleaseSpec.Timeout'.
81098109+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
81108110+ type: string
81118111+ type: object
81128112+ values:
81138113+ description: Values holds the values for this Helm release.
81148114+ x-kubernetes-preserve-unknown-fields: true
81158115+ valuesFrom:
81168116+ description: |-
81178117+ ValuesFrom holds references to resources containing Helm values for this HelmRelease,
81188118+ and information about how they should be merged.
81198119+ items:
81208120+ description: |-
81218121+ ValuesReference contains a reference to a resource containing Helm values,
81228122+ and optionally the key they can be found at.
81238123+ properties:
81248124+ kind:
81258125+ description: Kind of the values referent, valid values are ('Secret',
81268126+ 'ConfigMap').
81278127+ enum:
81288128+ - Secret
81298129+ - ConfigMap
81308130+ type: string
81318131+ name:
81328132+ description: |-
81338133+ Name of the values referent. Should reside in the same namespace as the
81348134+ referring resource.
81358135+ maxLength: 253
81368136+ minLength: 1
81378137+ type: string
81388138+ optional:
81398139+ description: |-
81408140+ Optional marks this ValuesReference as optional. When set, a not found error
81418141+ for the values reference is ignored, but any ValuesKey, TargetPath or
81428142+ transient error will still result in a reconciliation failure.
81438143+ type: boolean
81448144+ targetPath:
81458145+ description: |-
81468146+ TargetPath is the YAML dot notation path the value should be merged at. When
81478147+ set, the ValuesKey is expected to be a single flat value. Defaults to 'None',
81488148+ which results in the values getting merged at the root.
81498149+ maxLength: 250
81508150+ pattern: ^([a-zA-Z0-9_\-.\\\/]|\[[0-9]{1,5}\])+$
81518151+ type: string
81528152+ valuesKey:
81538153+ description: |-
81548154+ ValuesKey is the data key where the values.yaml or a specific value can be
81558155+ found at. Defaults to 'values.yaml'.
81568156+ maxLength: 253
81578157+ pattern: ^[\-._a-zA-Z0-9]+$
81588158+ type: string
81598159+ required:
81608160+ - kind
81618161+ - name
81628162+ type: object
81638163+ type: array
81648164+ required:
81658165+ - interval
81668166+ type: object
81678167+ x-kubernetes-validations:
81688168+ - message: either chart or chartRef must be set
81698169+ rule: (has(self.chart) && !has(self.chartRef)) || (!has(self.chart)
81708170+ && has(self.chartRef))
81718171+ status:
81728172+ default:
81738173+ observedGeneration: -1
81748174+ description: HelmReleaseStatus defines the observed state of a HelmRelease.
81758175+ properties:
81768176+ conditions:
81778177+ description: Conditions holds the conditions for the HelmRelease.
81788178+ items:
81798179+ description: Condition contains details for one aspect of the current
81808180+ state of this API Resource.
81818181+ properties:
81828182+ lastTransitionTime:
81838183+ description: |-
81848184+ lastTransitionTime is the last time the condition transitioned from one status to another.
81858185+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
81868186+ format: date-time
81878187+ type: string
81888188+ message:
81898189+ description: |-
81908190+ message is a human readable message indicating details about the transition.
81918191+ This may be an empty string.
81928192+ maxLength: 32768
81938193+ type: string
81948194+ observedGeneration:
81958195+ description: |-
81968196+ observedGeneration represents the .metadata.generation that the condition was set based upon.
81978197+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
81988198+ with respect to the current state of the instance.
81998199+ format: int64
82008200+ minimum: 0
82018201+ type: integer
82028202+ reason:
82038203+ description: |-
82048204+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
82058205+ Producers of specific condition types may define expected values and meanings for this field,
82068206+ and whether the values are considered a guaranteed API.
82078207+ The value should be a CamelCase string.
82088208+ This field may not be empty.
82098209+ maxLength: 1024
82108210+ minLength: 1
82118211+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
82128212+ type: string
82138213+ status:
82148214+ description: status of the condition, one of True, False, Unknown.
82158215+ enum:
82168216+ - "True"
82178217+ - "False"
82188218+ - Unknown
82198219+ type: string
82208220+ type:
82218221+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
82228222+ maxLength: 316
82238223+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
82248224+ type: string
82258225+ required:
82268226+ - lastTransitionTime
82278227+ - message
82288228+ - reason
82298229+ - status
82308230+ - type
82318231+ type: object
82328232+ type: array
82338233+ failures:
82348234+ description: |-
82358235+ Failures is the reconciliation failure count against the latest desired
82368236+ state. It is reset after a successful reconciliation.
82378237+ format: int64
82388238+ type: integer
82398239+ helmChart:
82408240+ description: |-
82418241+ HelmChart is the namespaced name of the HelmChart resource created by
82428242+ the controller for the HelmRelease.
82438243+ type: string
82448244+ history:
82458245+ description: |-
82468246+ History holds the history of Helm releases performed for this HelmRelease
82478247+ up to the last successfully completed release.
82488248+ items:
82498249+ description: |-
82508250+ Snapshot captures a point-in-time copy of the status information for a Helm release,
82518251+ as managed by the controller.
82528252+ properties:
82538253+ apiVersion:
82548254+ description: |-
82558255+ APIVersion is the API version of the Snapshot.
82568256+ Provisional: when the calculation method of the Digest field is changed,
82578257+ this field will be used to distinguish between the old and new methods.
82588258+ type: string
82598259+ appVersion:
82608260+ description: AppVersion is the chart app version of the release
82618261+ object in storage.
82628262+ type: string
82638263+ chartName:
82648264+ description: ChartName is the chart name of the release object
82658265+ in storage.
82668266+ type: string
82678267+ chartVersion:
82688268+ description: |-
82698269+ ChartVersion is the chart version of the release object in
82708270+ storage.
82718271+ type: string
82728272+ configDigest:
82738273+ description: |-
82748274+ ConfigDigest is the checksum of the config (better known as
82758275+ "values") of the release object in storage.
82768276+ It has the format of `<algo>:<checksum>`.
82778277+ type: string
82788278+ deleted:
82798279+ description: Deleted is when the release was deleted.
82808280+ format: date-time
82818281+ type: string
82828282+ digest:
82838283+ description: |-
82848284+ Digest is the checksum of the release object in storage.
82858285+ It has the format of `<algo>:<checksum>`.
82868286+ type: string
82878287+ firstDeployed:
82888288+ description: FirstDeployed is when the release was first deployed.
82898289+ format: date-time
82908290+ type: string
82918291+ lastDeployed:
82928292+ description: LastDeployed is when the release was last deployed.
82938293+ format: date-time
82948294+ type: string
82958295+ name:
82968296+ description: Name is the name of the release.
82978297+ type: string
82988298+ namespace:
82998299+ description: Namespace is the namespace the release is deployed
83008300+ to.
83018301+ type: string
83028302+ ociDigest:
83038303+ description: OCIDigest is the digest of the OCI artifact associated
83048304+ with the release.
83058305+ type: string
83068306+ status:
83078307+ description: Status is the current state of the release.
83088308+ type: string
83098309+ testHooks:
83108310+ additionalProperties:
83118311+ description: |-
83128312+ TestHookStatus holds the status information for a test hook as observed
83138313+ to be run by the controller.
83148314+ properties:
83158315+ lastCompleted:
83168316+ description: LastCompleted is the time the test hook last
83178317+ completed.
83188318+ format: date-time
83198319+ type: string
83208320+ lastStarted:
83218321+ description: LastStarted is the time the test hook was
83228322+ last started.
83238323+ format: date-time
83248324+ type: string
83258325+ phase:
83268326+ description: Phase the test hook was observed to be in.
83278327+ type: string
83288328+ type: object
83298329+ description: |-
83308330+ TestHooks is the list of test hooks for the release as observed to be
83318331+ run by the controller.
83328332+ type: object
83338333+ version:
83348334+ description: Version is the version of the release object in
83358335+ storage.
83368336+ type: integer
83378337+ required:
83388338+ - chartName
83398339+ - chartVersion
83408340+ - configDigest
83418341+ - digest
83428342+ - firstDeployed
83438343+ - lastDeployed
83448344+ - name
83458345+ - namespace
83468346+ - status
83478347+ - version
83488348+ type: object
83498349+ type: array
83508350+ installFailures:
83518351+ description: |-
83528352+ InstallFailures is the install failure count against the latest desired
83538353+ state. It is reset after a successful reconciliation.
83548354+ format: int64
83558355+ type: integer
83568356+ lastAttemptedConfigDigest:
83578357+ description: |-
83588358+ LastAttemptedConfigDigest is the digest for the config (better known as
83598359+ "values") of the last reconciliation attempt.
83608360+ type: string
83618361+ lastAttemptedGeneration:
83628362+ description: |-
83638363+ LastAttemptedGeneration is the last generation the controller attempted
83648364+ to reconcile.
83658365+ format: int64
83668366+ type: integer
83678367+ lastAttemptedReleaseAction:
83688368+ description: |-
83698369+ LastAttemptedReleaseAction is the last release action performed for this
83708370+ HelmRelease. It is used to determine the active remediation strategy.
83718371+ enum:
83728372+ - install
83738373+ - upgrade
83748374+ type: string
83758375+ lastAttemptedRevision:
83768376+ description: |-
83778377+ LastAttemptedRevision is the Source revision of the last reconciliation
83788378+ attempt. For OCIRepository sources, the 12 first characters of the digest are
83798379+ appended to the chart version e.g. "1.2.3+1234567890ab".
83808380+ type: string
83818381+ lastAttemptedRevisionDigest:
83828382+ description: |-
83838383+ LastAttemptedRevisionDigest is the digest of the last reconciliation attempt.
83848384+ This is only set for OCIRepository sources.
83858385+ type: string
83868386+ lastAttemptedValuesChecksum:
83878387+ description: |-
83888388+ LastAttemptedValuesChecksum is the SHA1 checksum for the values of the last
83898389+ reconciliation attempt.
83908390+ Deprecated: Use LastAttemptedConfigDigest instead.
83918391+ type: string
83928392+ lastHandledForceAt:
83938393+ description: |-
83948394+ LastHandledForceAt holds the value of the most recent force request
83958395+ value, so a change of the annotation value can be detected.
83968396+ type: string
83978397+ lastHandledReconcileAt:
83988398+ description: |-
83998399+ LastHandledReconcileAt holds the value of the most recent
84008400+ reconcile request value, so a change of the annotation value
84018401+ can be detected.
84028402+ type: string
84038403+ lastHandledResetAt:
84048404+ description: |-
84058405+ LastHandledResetAt holds the value of the most recent reset request
84068406+ value, so a change of the annotation value can be detected.
84078407+ type: string
84088408+ lastReleaseRevision:
84098409+ description: |-
84108410+ LastReleaseRevision is the revision of the last successful Helm release.
84118411+ Deprecated: Use History instead.
84128412+ type: integer
84138413+ observedGeneration:
84148414+ description: ObservedGeneration is the last observed generation.
84158415+ format: int64
84168416+ type: integer
84178417+ observedPostRenderersDigest:
84188418+ description: |-
84198419+ ObservedPostRenderersDigest is the digest for the post-renderers of
84208420+ the last successful reconciliation attempt.
84218421+ type: string
84228422+ storageNamespace:
84238423+ description: |-
84248424+ StorageNamespace is the namespace of the Helm release storage for the
84258425+ current release.
84268426+ maxLength: 63
84278427+ minLength: 1
84288428+ type: string
84298429+ upgradeFailures:
84308430+ description: |-
84318431+ UpgradeFailures is the upgrade failure count against the latest desired
84328432+ state. It is reset after a successful reconciliation.
84338433+ format: int64
84348434+ type: integer
84358435+ type: object
84368436+ type: object
84378437+ served: true
84388438+ storage: true
84398439+ subresources:
84408440+ status: {}
84418441+ - additionalPrinterColumns:
84428442+ - jsonPath: .metadata.creationTimestamp
84438443+ name: Age
84448444+ type: date
84458445+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
84468446+ name: Ready
84478447+ type: string
84488448+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
84498449+ name: Status
84508450+ type: string
84518451+ deprecated: true
84528452+ deprecationWarning: v2beta1 HelmRelease is deprecated, upgrade to v2
84538453+ name: v2beta1
84548454+ schema:
84558455+ openAPIV3Schema:
84568456+ description: HelmRelease is the Schema for the helmreleases API
84578457+ properties:
84588458+ apiVersion:
84598459+ description: |-
84608460+ APIVersion defines the versioned schema of this representation of an object.
84618461+ Servers should convert recognized schemas to the latest internal value, and
84628462+ may reject unrecognized values.
84638463+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
84648464+ type: string
84658465+ kind:
84668466+ description: |-
84678467+ Kind is a string value representing the REST resource this object represents.
84688468+ Servers may infer this from the endpoint the client submits requests to.
84698469+ Cannot be updated.
84708470+ In CamelCase.
84718471+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
84728472+ type: string
84738473+ metadata:
84748474+ type: object
84758475+ spec:
84768476+ description: HelmReleaseSpec defines the desired state of a Helm release.
84778477+ properties:
84788478+ chart:
84798479+ description: |-
84808480+ Chart defines the template of the v1beta2.HelmChart that should be created
84818481+ for this HelmRelease.
84828482+ properties:
84838483+ metadata:
84848484+ description: ObjectMeta holds the template for metadata like labels
84858485+ and annotations.
84868486+ properties:
84878487+ annotations:
84888488+ additionalProperties:
84898489+ type: string
84908490+ description: |-
84918491+ Annotations is an unstructured key value map stored with a resource that may be
84928492+ set by external tools to store and retrieve arbitrary metadata. They are not
84938493+ queryable and should be preserved when modifying objects.
84948494+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
84958495+ type: object
84968496+ labels:
84978497+ additionalProperties:
84988498+ type: string
84998499+ description: |-
85008500+ Map of string keys and values that can be used to organize and categorize
85018501+ (scope and select) objects.
85028502+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
85038503+ type: object
85048504+ type: object
85058505+ spec:
85068506+ description: Spec holds the template for the v1beta2.HelmChartSpec
85078507+ for this HelmRelease.
85088508+ properties:
85098509+ chart:
85108510+ description: The name or path the Helm chart is available
85118511+ at in the SourceRef.
85128512+ type: string
85138513+ interval:
85148514+ description: |-
85158515+ Interval at which to check the v1beta2.Source for updates. Defaults to
85168516+ 'HelmReleaseSpec.Interval'.
85178517+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
85188518+ type: string
85198519+ reconcileStrategy:
85208520+ default: ChartVersion
85218521+ description: |-
85228522+ Determines what enables the creation of a new artifact. Valid values are
85238523+ ('ChartVersion', 'Revision').
85248524+ See the documentation of the values for an explanation on their behavior.
85258525+ Defaults to ChartVersion when omitted.
85268526+ enum:
85278527+ - ChartVersion
85288528+ - Revision
85298529+ type: string
85308530+ sourceRef:
85318531+ description: The name and namespace of the v1beta2.Source
85328532+ the chart is available at.
85338533+ properties:
85348534+ apiVersion:
85358535+ description: APIVersion of the referent.
85368536+ type: string
85378537+ kind:
85388538+ description: Kind of the referent.
85398539+ enum:
85408540+ - HelmRepository
85418541+ - GitRepository
85428542+ - Bucket
85438543+ type: string
85448544+ name:
85458545+ description: Name of the referent.
85468546+ maxLength: 253
85478547+ minLength: 1
85488548+ type: string
85498549+ namespace:
85508550+ description: Namespace of the referent.
85518551+ maxLength: 63
85528552+ minLength: 1
85538553+ type: string
85548554+ required:
85558555+ - kind
85568556+ - name
85578557+ type: object
85588558+ valuesFile:
85598559+ description: |-
85608560+ Alternative values file to use as the default chart values, expected to
85618561+ be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
85628562+ for backwards compatibility the file defined here is merged before the
85638563+ ValuesFiles items. Ignored when omitted.
85648564+ type: string
85658565+ valuesFiles:
85668566+ description: |-
85678567+ Alternative list of values files to use as the chart values (values.yaml
85688568+ is not included by default), expected to be a relative path in the SourceRef.
85698569+ Values files are merged in the order of this list with the last file overriding
85708570+ the first. Ignored when omitted.
85718571+ items:
85728572+ type: string
85738573+ type: array
85748574+ verify:
85758575+ description: |-
85768576+ Verify contains the secret name containing the trusted public keys
85778577+ used to verify the signature and specifies which provider to use to check
85788578+ whether OCI image is authentic.
85798579+ This field is only supported for OCI sources.
85808580+ Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
85818581+ properties:
85828582+ provider:
85838583+ default: cosign
85848584+ description: Provider specifies the technology used to
85858585+ sign the OCI Helm chart.
85868586+ enum:
85878587+ - cosign
85888588+ type: string
85898589+ secretRef:
85908590+ description: |-
85918591+ SecretRef specifies the Kubernetes Secret containing the
85928592+ trusted public keys.
85938593+ properties:
85948594+ name:
85958595+ description: Name of the referent.
85968596+ type: string
85978597+ required:
85988598+ - name
85998599+ type: object
86008600+ required:
86018601+ - provider
86028602+ type: object
86038603+ version:
86048604+ default: '*'
86058605+ description: |-
86068606+ Version semver expression, ignored for charts from v1beta2.GitRepository and
86078607+ v1beta2.Bucket sources. Defaults to latest when omitted.
86088608+ type: string
86098609+ required:
86108610+ - chart
86118611+ - sourceRef
86128612+ type: object
86138613+ required:
86148614+ - spec
86158615+ type: object
86168616+ chartRef:
86178617+ description: |-
86188618+ ChartRef holds a reference to a source controller resource containing the
86198619+ Helm chart artifact.
86208620+86218621+ Note: this field is provisional to the v2 API, and not actively used
86228622+ by v2beta1 HelmReleases.
86238623+ properties:
86248624+ apiVersion:
86258625+ description: APIVersion of the referent.
86268626+ type: string
86278627+ kind:
86288628+ description: Kind of the referent.
86298629+ enum:
86308630+ - OCIRepository
86318631+ - HelmChart
86328632+ type: string
86338633+ name:
86348634+ description: Name of the referent.
86358635+ maxLength: 253
86368636+ minLength: 1
86378637+ type: string
86388638+ namespace:
86398639+ description: |-
86408640+ Namespace of the referent, defaults to the namespace of the Kubernetes
86418641+ resource object that contains the reference.
86428642+ maxLength: 63
86438643+ minLength: 1
86448644+ type: string
86458645+ required:
86468646+ - kind
86478647+ - name
86488648+ type: object
86498649+ dependsOn:
86508650+ description: |-
86518651+ DependsOn may contain a meta.NamespacedObjectReference slice with
86528652+ references to HelmRelease resources that must be ready before this HelmRelease
86538653+ can be reconciled.
86548654+ items:
86558655+ description: |-
86568656+ NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
86578657+ namespace.
86588658+ properties:
86598659+ name:
86608660+ description: Name of the referent.
86618661+ type: string
86628662+ namespace:
86638663+ description: Namespace of the referent, when not specified it
86648664+ acts as LocalObjectReference.
86658665+ type: string
86668666+ required:
86678667+ - name
86688668+ type: object
86698669+ type: array
86708670+ driftDetection:
86718671+ description: |-
86728672+ DriftDetection holds the configuration for detecting and handling
86738673+ differences between the manifest in the Helm storage and the resources
86748674+ currently existing in the cluster.
86758675+86768676+ Note: this field is provisional to the v2beta2 API, and not actively used
86778677+ by v2beta1 HelmReleases.
86788678+ properties:
86798679+ ignore:
86808680+ description: |-
86818681+ Ignore contains a list of rules for specifying which changes to ignore
86828682+ during diffing.
86838683+ items:
86848684+ description: |-
86858685+ IgnoreRule defines a rule to selectively disregard specific changes during
86868686+ the drift detection process.
86878687+ properties:
86888688+ paths:
86898689+ description: |-
86908690+ Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
86918691+ consideration in a Kubernetes object.
86928692+ items:
86938693+ type: string
86948694+ type: array
86958695+ target:
86968696+ description: |-
86978697+ Target is a selector for specifying Kubernetes objects to which this
86988698+ rule applies.
86998699+ If Target is not set, the Paths will be ignored for all Kubernetes
87008700+ objects within the manifest of the Helm release.
87018701+ properties:
87028702+ annotationSelector:
87038703+ description: |-
87048704+ AnnotationSelector is a string that follows the label selection expression
87058705+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
87068706+ It matches with the resource annotations.
87078707+ type: string
87088708+ group:
87098709+ description: |-
87108710+ Group is the API group to select resources from.
87118711+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
87128712+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
87138713+ type: string
87148714+ kind:
87158715+ description: |-
87168716+ Kind of the API Group to select resources from.
87178717+ Together with Group and Version it is capable of unambiguously
87188718+ identifying and/or selecting resources.
87198719+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
87208720+ type: string
87218721+ labelSelector:
87228722+ description: |-
87238723+ LabelSelector is a string that follows the label selection expression
87248724+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
87258725+ It matches with the resource labels.
87268726+ type: string
87278727+ name:
87288728+ description: Name to match resources with.
87298729+ type: string
87308730+ namespace:
87318731+ description: Namespace to select resources from.
87328732+ type: string
87338733+ version:
87348734+ description: |-
87358735+ Version of the API Group to select resources from.
87368736+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
87378737+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
87388738+ type: string
87398739+ type: object
87408740+ required:
87418741+ - paths
87428742+ type: object
87438743+ type: array
87448744+ mode:
87458745+ description: |-
87468746+ Mode defines how differences should be handled between the Helm manifest
87478747+ and the manifest currently applied to the cluster.
87488748+ If not explicitly set, it defaults to DiffModeDisabled.
87498749+ enum:
87508750+ - enabled
87518751+ - warn
87528752+ - disabled
87538753+ type: string
87548754+ type: object
87558755+ install:
87568756+ description: Install holds the configuration for Helm install actions
87578757+ for this HelmRelease.
87588758+ properties:
87598759+ crds:
87608760+ description: |-
87618761+ CRDs upgrade CRDs from the Helm Chart's crds directory according
87628762+ to the CRD upgrade policy provided here. Valid values are `Skip`,
87638763+ `Create` or `CreateReplace`. Default is `Create` and if omitted
87648764+ CRDs are installed but not updated.
87658765+87668766+ Skip: do neither install nor replace (update) any CRDs.
87678767+87688768+ Create: new CRDs are created, existing CRDs are neither updated nor deleted.
87698769+87708770+ CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
87718771+ but not deleted.
87728772+87738773+ By default, CRDs are applied (installed) during Helm install action.
87748774+ With this option users can opt-in to CRD replace existing CRDs on Helm
87758775+ install actions, which is not (yet) natively supported by Helm.
87768776+ https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
87778777+ enum:
87788778+ - Skip
87798779+ - Create
87808780+ - CreateReplace
87818781+ type: string
87828782+ createNamespace:
87838783+ description: |-
87848784+ CreateNamespace tells the Helm install action to create the
87858785+ HelmReleaseSpec.TargetNamespace if it does not exist yet.
87868786+ On uninstall, the namespace will not be garbage collected.
87878787+ type: boolean
87888788+ disableHooks:
87898789+ description: DisableHooks prevents hooks from running during the
87908790+ Helm install action.
87918791+ type: boolean
87928792+ disableOpenAPIValidation:
87938793+ description: |-
87948794+ DisableOpenAPIValidation prevents the Helm install action from validating
87958795+ rendered templates against the Kubernetes OpenAPI Schema.
87968796+ type: boolean
87978797+ disableWait:
87988798+ description: |-
87998799+ DisableWait disables the waiting for resources to be ready after a Helm
88008800+ install has been performed.
88018801+ type: boolean
88028802+ disableWaitForJobs:
88038803+ description: |-
88048804+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
88058805+ install has been performed.
88068806+ type: boolean
88078807+ remediation:
88088808+ description: |-
88098809+ Remediation holds the remediation configuration for when the Helm install
88108810+ action for the HelmRelease fails. The default is to not perform any action.
88118811+ properties:
88128812+ ignoreTestFailures:
88138813+ description: |-
88148814+ IgnoreTestFailures tells the controller to skip remediation when the Helm
88158815+ tests are run after an install action but fail. Defaults to
88168816+ 'Test.IgnoreFailures'.
88178817+ type: boolean
88188818+ remediateLastFailure:
88198819+ description: |-
88208820+ RemediateLastFailure tells the controller to remediate the last failure, when
88218821+ no retries remain. Defaults to 'false'.
88228822+ type: boolean
88238823+ retries:
88248824+ description: |-
88258825+ Retries is the number of retries that should be attempted on failures before
88268826+ bailing. Remediation, using an uninstall, is performed between each attempt.
88278827+ Defaults to '0', a negative integer equals to unlimited retries.
88288828+ type: integer
88298829+ type: object
88308830+ replace:
88318831+ description: |-
88328832+ Replace tells the Helm install action to re-use the 'ReleaseName', but only
88338833+ if that name is a deleted release which remains in the history.
88348834+ type: boolean
88358835+ skipCRDs:
88368836+ description: |-
88378837+ SkipCRDs tells the Helm install action to not install any CRDs. By default,
88388838+ CRDs are installed if not already present.
88398839+88408840+ Deprecated use CRD policy (`crds`) attribute with value `Skip` instead.
88418841+ type: boolean
88428842+ timeout:
88438843+ description: |-
88448844+ Timeout is the time to wait for any individual Kubernetes operation (like
88458845+ Jobs for hooks) during the performance of a Helm install action. Defaults to
88468846+ 'HelmReleaseSpec.Timeout'.
88478847+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
88488848+ type: string
88498849+ type: object
88508850+ interval:
88518851+ description: |-
88528852+ Interval at which to reconcile the Helm release.
88538853+ This interval is approximate and may be subject to jitter to ensure
88548854+ efficient use of resources.
88558855+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
88568856+ type: string
88578857+ kubeConfig:
88588858+ description: |-
88598859+ KubeConfig for reconciling the HelmRelease on a remote cluster.
88608860+ When used in combination with HelmReleaseSpec.ServiceAccountName,
88618861+ forces the controller to act on behalf of that Service Account at the
88628862+ target cluster.
88638863+ If the --default-service-account flag is set, its value will be used as
88648864+ a controller level fallback for when HelmReleaseSpec.ServiceAccountName
88658865+ is empty.
88668866+ properties:
88678867+ secretRef:
88688868+ description: |-
88698869+ SecretRef holds the name of a secret that contains a key with
88708870+ the kubeconfig file as the value. If no key is set, the key will default
88718871+ to 'value'.
88728872+ It is recommended that the kubeconfig is self-contained, and the secret
88738873+ is regularly updated if credentials such as a cloud-access-token expire.
88748874+ Cloud specific `cmd-path` auth helpers will not function without adding
88758875+ binaries and credentials to the Pod that is responsible for reconciling
88768876+ Kubernetes resources.
88778877+ properties:
88788878+ key:
88798879+ description: Key in the Secret, when not specified an implementation-specific
88808880+ default key is used.
88818881+ type: string
88828882+ name:
88838883+ description: Name of the Secret.
88848884+ type: string
88858885+ required:
88868886+ - name
88878887+ type: object
88888888+ required:
88898889+ - secretRef
88908890+ type: object
88918891+ maxHistory:
88928892+ description: |-
88938893+ MaxHistory is the number of revisions saved by Helm for this HelmRelease.
88948894+ Use '0' for an unlimited number of revisions; defaults to '10'.
88958895+ type: integer
88968896+ persistentClient:
88978897+ description: |-
88988898+ PersistentClient tells the controller to use a persistent Kubernetes
88998899+ client for this release. When enabled, the client will be reused for the
89008900+ duration of the reconciliation, instead of being created and destroyed
89018901+ for each (step of a) Helm action.
89028902+89038903+ This can improve performance, but may cause issues with some Helm charts
89048904+ that for example do create Custom Resource Definitions during installation
89058905+ outside Helm's CRD lifecycle hooks, which are then not observed to be
89068906+ available by e.g. post-install hooks.
89078907+89088908+ If not set, it defaults to true.
89098909+ type: boolean
89108910+ postRenderers:
89118911+ description: |-
89128912+ PostRenderers holds an array of Helm PostRenderers, which will be applied in order
89138913+ of their definition.
89148914+ items:
89158915+ description: PostRenderer contains a Helm PostRenderer specification.
89168916+ properties:
89178917+ kustomize:
89188918+ description: Kustomization to apply as PostRenderer.
89198919+ properties:
89208920+ images:
89218921+ description: |-
89228922+ Images is a list of (image name, new name, new tag or digest)
89238923+ for changing image names, tags or digests. This can also be achieved with a
89248924+ patch, but this operator is simpler to specify.
89258925+ items:
89268926+ description: Image contains an image name, a new name,
89278927+ a new tag or digest, which will replace the original
89288928+ name and tag.
89298929+ properties:
89308930+ digest:
89318931+ description: |-
89328932+ Digest is the value used to replace the original image tag.
89338933+ If digest is present NewTag value is ignored.
89348934+ type: string
89358935+ name:
89368936+ description: Name is a tag-less image name.
89378937+ type: string
89388938+ newName:
89398939+ description: NewName is the value used to replace
89408940+ the original name.
89418941+ type: string
89428942+ newTag:
89438943+ description: NewTag is the value used to replace the
89448944+ original tag.
89458945+ type: string
89468946+ required:
89478947+ - name
89488948+ type: object
89498949+ type: array
89508950+ patches:
89518951+ description: |-
89528952+ Strategic merge and JSON patches, defined as inline YAML objects,
89538953+ capable of targeting objects based on kind, label and annotation selectors.
89548954+ items:
89558955+ description: |-
89568956+ Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
89578957+ be applied to.
89588958+ properties:
89598959+ patch:
89608960+ description: |-
89618961+ Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
89628962+ an array of operation objects.
89638963+ type: string
89648964+ target:
89658965+ description: Target points to the resources that the
89668966+ patch document should be applied to.
89678967+ properties:
89688968+ annotationSelector:
89698969+ description: |-
89708970+ AnnotationSelector is a string that follows the label selection expression
89718971+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
89728972+ It matches with the resource annotations.
89738973+ type: string
89748974+ group:
89758975+ description: |-
89768976+ Group is the API group to select resources from.
89778977+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
89788978+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
89798979+ type: string
89808980+ kind:
89818981+ description: |-
89828982+ Kind of the API Group to select resources from.
89838983+ Together with Group and Version it is capable of unambiguously
89848984+ identifying and/or selecting resources.
89858985+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
89868986+ type: string
89878987+ labelSelector:
89888988+ description: |-
89898989+ LabelSelector is a string that follows the label selection expression
89908990+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
89918991+ It matches with the resource labels.
89928992+ type: string
89938993+ name:
89948994+ description: Name to match resources with.
89958995+ type: string
89968996+ namespace:
89978997+ description: Namespace to select resources from.
89988998+ type: string
89998999+ version:
90009000+ description: |-
90019001+ Version of the API Group to select resources from.
90029002+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
90039003+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
90049004+ type: string
90059005+ type: object
90069006+ required:
90079007+ - patch
90089008+ type: object
90099009+ type: array
90109010+ patchesJson6902:
90119011+ description: JSON 6902 patches, defined as inline YAML objects.
90129012+ items:
90139013+ description: JSON6902Patch contains a JSON6902 patch and
90149014+ the target the patch should be applied to.
90159015+ properties:
90169016+ patch:
90179017+ description: Patch contains the JSON6902 patch document
90189018+ with an array of operation objects.
90199019+ items:
90209020+ description: |-
90219021+ JSON6902 is a JSON6902 operation object.
90229022+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
90239023+ properties:
90249024+ from:
90259025+ description: |-
90269026+ From contains a JSON-pointer value that references a location within the target document where the operation is
90279027+ performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
90289028+ type: string
90299029+ op:
90309030+ description: |-
90319031+ Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
90329032+ "test".
90339033+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
90349034+ enum:
90359035+ - test
90369036+ - remove
90379037+ - add
90389038+ - replace
90399039+ - move
90409040+ - copy
90419041+ type: string
90429042+ path:
90439043+ description: |-
90449044+ Path contains the JSON-pointer value that references a location within the target document where the operation
90459045+ is performed. The meaning of the value depends on the value of Op.
90469046+ type: string
90479047+ value:
90489048+ description: |-
90499049+ Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
90509050+ account by all operations.
90519051+ x-kubernetes-preserve-unknown-fields: true
90529052+ required:
90539053+ - op
90549054+ - path
90559055+ type: object
90569056+ type: array
90579057+ target:
90589058+ description: Target points to the resources that the
90599059+ patch document should be applied to.
90609060+ properties:
90619061+ annotationSelector:
90629062+ description: |-
90639063+ AnnotationSelector is a string that follows the label selection expression
90649064+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
90659065+ It matches with the resource annotations.
90669066+ type: string
90679067+ group:
90689068+ description: |-
90699069+ Group is the API group to select resources from.
90709070+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
90719071+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
90729072+ type: string
90739073+ kind:
90749074+ description: |-
90759075+ Kind of the API Group to select resources from.
90769076+ Together with Group and Version it is capable of unambiguously
90779077+ identifying and/or selecting resources.
90789078+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
90799079+ type: string
90809080+ labelSelector:
90819081+ description: |-
90829082+ LabelSelector is a string that follows the label selection expression
90839083+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
90849084+ It matches with the resource labels.
90859085+ type: string
90869086+ name:
90879087+ description: Name to match resources with.
90889088+ type: string
90899089+ namespace:
90909090+ description: Namespace to select resources from.
90919091+ type: string
90929092+ version:
90939093+ description: |-
90949094+ Version of the API Group to select resources from.
90959095+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
90969096+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
90979097+ type: string
90989098+ type: object
90999099+ required:
91009100+ - patch
91019101+ - target
91029102+ type: object
91039103+ type: array
91049104+ patchesStrategicMerge:
91059105+ description: Strategic merge patches, defined as inline
91069106+ YAML objects.
91079107+ items:
91089108+ x-kubernetes-preserve-unknown-fields: true
91099109+ type: array
91109110+ type: object
91119111+ type: object
91129112+ type: array
91139113+ releaseName:
91149114+ description: |-
91159115+ ReleaseName used for the Helm release. Defaults to a composition of
91169116+ '[TargetNamespace-]Name'.
91179117+ maxLength: 53
91189118+ minLength: 1
91199119+ type: string
91209120+ rollback:
91219121+ description: Rollback holds the configuration for Helm rollback actions
91229122+ for this HelmRelease.
91239123+ properties:
91249124+ cleanupOnFail:
91259125+ description: |-
91269126+ CleanupOnFail allows deletion of new resources created during the Helm
91279127+ rollback action when it fails.
91289128+ type: boolean
91299129+ disableHooks:
91309130+ description: DisableHooks prevents hooks from running during the
91319131+ Helm rollback action.
91329132+ type: boolean
91339133+ disableWait:
91349134+ description: |-
91359135+ DisableWait disables the waiting for resources to be ready after a Helm
91369136+ rollback has been performed.
91379137+ type: boolean
91389138+ disableWaitForJobs:
91399139+ description: |-
91409140+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
91419141+ rollback has been performed.
91429142+ type: boolean
91439143+ force:
91449144+ description: Force forces resource updates through a replacement
91459145+ strategy.
91469146+ type: boolean
91479147+ recreate:
91489148+ description: Recreate performs pod restarts for the resource if
91499149+ applicable.
91509150+ type: boolean
91519151+ timeout:
91529152+ description: |-
91539153+ Timeout is the time to wait for any individual Kubernetes operation (like
91549154+ Jobs for hooks) during the performance of a Helm rollback action. Defaults to
91559155+ 'HelmReleaseSpec.Timeout'.
91569156+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
91579157+ type: string
91589158+ type: object
91599159+ serviceAccountName:
91609160+ description: |-
91619161+ The name of the Kubernetes service account to impersonate
91629162+ when reconciling this HelmRelease.
91639163+ type: string
91649164+ storageNamespace:
91659165+ description: |-
91669166+ StorageNamespace used for the Helm storage.
91679167+ Defaults to the namespace of the HelmRelease.
91689168+ maxLength: 63
91699169+ minLength: 1
91709170+ type: string
91719171+ suspend:
91729172+ description: |-
91739173+ Suspend tells the controller to suspend reconciliation for this HelmRelease,
91749174+ it does not apply to already started reconciliations. Defaults to false.
91759175+ type: boolean
91769176+ targetNamespace:
91779177+ description: |-
91789178+ TargetNamespace to target when performing operations for the HelmRelease.
91799179+ Defaults to the namespace of the HelmRelease.
91809180+ maxLength: 63
91819181+ minLength: 1
91829182+ type: string
91839183+ test:
91849184+ description: Test holds the configuration for Helm test actions for
91859185+ this HelmRelease.
91869186+ properties:
91879187+ enable:
91889188+ description: |-
91899189+ Enable enables Helm test actions for this HelmRelease after an Helm install
91909190+ or upgrade action has been performed.
91919191+ type: boolean
91929192+ ignoreFailures:
91939193+ description: |-
91949194+ IgnoreFailures tells the controller to skip remediation when the Helm tests
91959195+ are run but fail. Can be overwritten for tests run after install or upgrade
91969196+ actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'.
91979197+ type: boolean
91989198+ timeout:
91999199+ description: |-
92009200+ Timeout is the time to wait for any individual Kubernetes operation during
92019201+ the performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'.
92029202+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
92039203+ type: string
92049204+ type: object
92059205+ timeout:
92069206+ description: |-
92079207+ Timeout is the time to wait for any individual Kubernetes operation (like Jobs
92089208+ for hooks) during the performance of a Helm action. Defaults to '5m0s'.
92099209+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
92109210+ type: string
92119211+ uninstall:
92129212+ description: Uninstall holds the configuration for Helm uninstall
92139213+ actions for this HelmRelease.
92149214+ properties:
92159215+ deletionPropagation:
92169216+ default: background
92179217+ description: |-
92189218+ DeletionPropagation specifies the deletion propagation policy when
92199219+ a Helm uninstall is performed.
92209220+ enum:
92219221+ - background
92229222+ - foreground
92239223+ - orphan
92249224+ type: string
92259225+ disableHooks:
92269226+ description: DisableHooks prevents hooks from running during the
92279227+ Helm rollback action.
92289228+ type: boolean
92299229+ disableWait:
92309230+ description: |-
92319231+ DisableWait disables waiting for all the resources to be deleted after
92329232+ a Helm uninstall is performed.
92339233+ type: boolean
92349234+ keepHistory:
92359235+ description: |-
92369236+ KeepHistory tells Helm to remove all associated resources and mark the
92379237+ release as deleted, but retain the release history.
92389238+ type: boolean
92399239+ timeout:
92409240+ description: |-
92419241+ Timeout is the time to wait for any individual Kubernetes operation (like
92429242+ Jobs for hooks) during the performance of a Helm uninstall action. Defaults
92439243+ to 'HelmReleaseSpec.Timeout'.
92449244+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
92459245+ type: string
92469246+ type: object
92479247+ upgrade:
92489248+ description: Upgrade holds the configuration for Helm upgrade actions
92499249+ for this HelmRelease.
92509250+ properties:
92519251+ cleanupOnFail:
92529252+ description: |-
92539253+ CleanupOnFail allows deletion of new resources created during the Helm
92549254+ upgrade action when it fails.
92559255+ type: boolean
92569256+ crds:
92579257+ description: |-
92589258+ CRDs upgrade CRDs from the Helm Chart's crds directory according
92599259+ to the CRD upgrade policy provided here. Valid values are `Skip`,
92609260+ `Create` or `CreateReplace`. Default is `Skip` and if omitted
92619261+ CRDs are neither installed nor upgraded.
92629262+92639263+ Skip: do neither install nor replace (update) any CRDs.
92649264+92659265+ Create: new CRDs are created, existing CRDs are neither updated nor deleted.
92669266+92679267+ CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
92689268+ but not deleted.
92699269+92709270+ By default, CRDs are not applied during Helm upgrade action. With this
92719271+ option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
92729272+ https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
92739273+ enum:
92749274+ - Skip
92759275+ - Create
92769276+ - CreateReplace
92779277+ type: string
92789278+ disableHooks:
92799279+ description: DisableHooks prevents hooks from running during the
92809280+ Helm upgrade action.
92819281+ type: boolean
92829282+ disableOpenAPIValidation:
92839283+ description: |-
92849284+ DisableOpenAPIValidation prevents the Helm upgrade action from validating
92859285+ rendered templates against the Kubernetes OpenAPI Schema.
92869286+ type: boolean
92879287+ disableWait:
92889288+ description: |-
92899289+ DisableWait disables the waiting for resources to be ready after a Helm
92909290+ upgrade has been performed.
92919291+ type: boolean
92929292+ disableWaitForJobs:
92939293+ description: |-
92949294+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
92959295+ upgrade has been performed.
92969296+ type: boolean
92979297+ force:
92989298+ description: Force forces resource updates through a replacement
92999299+ strategy.
93009300+ type: boolean
93019301+ preserveValues:
93029302+ description: |-
93039303+ PreserveValues will make Helm reuse the last release's values and merge in
93049304+ overrides from 'Values'. Setting this flag makes the HelmRelease
93059305+ non-declarative.
93069306+ type: boolean
93079307+ remediation:
93089308+ description: |-
93099309+ Remediation holds the remediation configuration for when the Helm upgrade
93109310+ action for the HelmRelease fails. The default is to not perform any action.
93119311+ properties:
93129312+ ignoreTestFailures:
93139313+ description: |-
93149314+ IgnoreTestFailures tells the controller to skip remediation when the Helm
93159315+ tests are run after an upgrade action but fail.
93169316+ Defaults to 'Test.IgnoreFailures'.
93179317+ type: boolean
93189318+ remediateLastFailure:
93199319+ description: |-
93209320+ RemediateLastFailure tells the controller to remediate the last failure, when
93219321+ no retries remain. Defaults to 'false' unless 'Retries' is greater than 0.
93229322+ type: boolean
93239323+ retries:
93249324+ description: |-
93259325+ Retries is the number of retries that should be attempted on failures before
93269326+ bailing. Remediation, using 'Strategy', is performed between each attempt.
93279327+ Defaults to '0', a negative integer equals to unlimited retries.
93289328+ type: integer
93299329+ strategy:
93309330+ description: Strategy to use for failure remediation. Defaults
93319331+ to 'rollback'.
93329332+ enum:
93339333+ - rollback
93349334+ - uninstall
93359335+ type: string
93369336+ type: object
93379337+ timeout:
93389338+ description: |-
93399339+ Timeout is the time to wait for any individual Kubernetes operation (like
93409340+ Jobs for hooks) during the performance of a Helm upgrade action. Defaults to
93419341+ 'HelmReleaseSpec.Timeout'.
93429342+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
93439343+ type: string
93449344+ type: object
93459345+ values:
93469346+ description: Values holds the values for this Helm release.
93479347+ x-kubernetes-preserve-unknown-fields: true
93489348+ valuesFrom:
93499349+ description: |-
93509350+ ValuesFrom holds references to resources containing Helm values for this HelmRelease,
93519351+ and information about how they should be merged.
93529352+ items:
93539353+ description: |-
93549354+ ValuesReference contains a reference to a resource containing Helm values,
93559355+ and optionally the key they can be found at.
93569356+ properties:
93579357+ kind:
93589358+ description: Kind of the values referent, valid values are ('Secret',
93599359+ 'ConfigMap').
93609360+ enum:
93619361+ - Secret
93629362+ - ConfigMap
93639363+ type: string
93649364+ name:
93659365+ description: |-
93669366+ Name of the values referent. Should reside in the same namespace as the
93679367+ referring resource.
93689368+ maxLength: 253
93699369+ minLength: 1
93709370+ type: string
93719371+ optional:
93729372+ description: |-
93739373+ Optional marks this ValuesReference as optional. When set, a not found error
93749374+ for the values reference is ignored, but any ValuesKey, TargetPath or
93759375+ transient error will still result in a reconciliation failure.
93769376+ type: boolean
93779377+ targetPath:
93789378+ description: |-
93799379+ TargetPath is the YAML dot notation path the value should be merged at. When
93809380+ set, the ValuesKey is expected to be a single flat value. Defaults to 'None',
93819381+ which results in the values getting merged at the root.
93829382+ maxLength: 250
93839383+ pattern: ^([a-zA-Z0-9_\-.\\\/]|\[[0-9]{1,5}\])+$
93849384+ type: string
93859385+ valuesKey:
93869386+ description: |-
93879387+ ValuesKey is the data key where the values.yaml or a specific value can be
93889388+ found at. Defaults to 'values.yaml'.
93899389+ When set, must be a valid Data Key, consisting of alphanumeric characters,
93909390+ '-', '_' or '.'.
93919391+ maxLength: 253
93929392+ pattern: ^[\-._a-zA-Z0-9]+$
93939393+ type: string
93949394+ required:
93959395+ - kind
93969396+ - name
93979397+ type: object
93989398+ type: array
93999399+ required:
94009400+ - chart
94019401+ - interval
94029402+ type: object
94039403+ status:
94049404+ default:
94059405+ observedGeneration: -1
94069406+ description: HelmReleaseStatus defines the observed state of a HelmRelease.
94079407+ properties:
94089408+ conditions:
94099409+ description: Conditions holds the conditions for the HelmRelease.
94109410+ items:
94119411+ description: Condition contains details for one aspect of the current
94129412+ state of this API Resource.
94139413+ properties:
94149414+ lastTransitionTime:
94159415+ description: |-
94169416+ lastTransitionTime is the last time the condition transitioned from one status to another.
94179417+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
94189418+ format: date-time
94199419+ type: string
94209420+ message:
94219421+ description: |-
94229422+ message is a human readable message indicating details about the transition.
94239423+ This may be an empty string.
94249424+ maxLength: 32768
94259425+ type: string
94269426+ observedGeneration:
94279427+ description: |-
94289428+ observedGeneration represents the .metadata.generation that the condition was set based upon.
94299429+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
94309430+ with respect to the current state of the instance.
94319431+ format: int64
94329432+ minimum: 0
94339433+ type: integer
94349434+ reason:
94359435+ description: |-
94369436+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
94379437+ Producers of specific condition types may define expected values and meanings for this field,
94389438+ and whether the values are considered a guaranteed API.
94399439+ The value should be a CamelCase string.
94409440+ This field may not be empty.
94419441+ maxLength: 1024
94429442+ minLength: 1
94439443+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
94449444+ type: string
94459445+ status:
94469446+ description: status of the condition, one of True, False, Unknown.
94479447+ enum:
94489448+ - "True"
94499449+ - "False"
94509450+ - Unknown
94519451+ type: string
94529452+ type:
94539453+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
94549454+ maxLength: 316
94559455+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
94569456+ type: string
94579457+ required:
94589458+ - lastTransitionTime
94599459+ - message
94609460+ - reason
94619461+ - status
94629462+ - type
94639463+ type: object
94649464+ type: array
94659465+ failures:
94669466+ description: |-
94679467+ Failures is the reconciliation failure count against the latest desired
94689468+ state. It is reset after a successful reconciliation.
94699469+ format: int64
94709470+ type: integer
94719471+ helmChart:
94729472+ description: |-
94739473+ HelmChart is the namespaced name of the HelmChart resource created by
94749474+ the controller for the HelmRelease.
94759475+ type: string
94769476+ history:
94779477+ description: |-
94789478+ History holds the history of Helm releases performed for this HelmRelease
94799479+ up to the last successfully completed release.
94809480+94819481+ Note: this field is provisional to the v2beta2 API, and not actively used
94829482+ by v2beta1 HelmReleases.
94839483+ items:
94849484+ description: |-
94859485+ Snapshot captures a point-in-time copy of the status information for a Helm release,
94869486+ as managed by the controller.
94879487+ properties:
94889488+ apiVersion:
94899489+ description: |-
94909490+ APIVersion is the API version of the Snapshot.
94919491+ Provisional: when the calculation method of the Digest field is changed,
94929492+ this field will be used to distinguish between the old and new methods.
94939493+ type: string
94949494+ appVersion:
94959495+ description: AppVersion is the chart app version of the release
94969496+ object in storage.
94979497+ type: string
94989498+ chartName:
94999499+ description: ChartName is the chart name of the release object
95009500+ in storage.
95019501+ type: string
95029502+ chartVersion:
95039503+ description: |-
95049504+ ChartVersion is the chart version of the release object in
95059505+ storage.
95069506+ type: string
95079507+ configDigest:
95089508+ description: |-
95099509+ ConfigDigest is the checksum of the config (better known as
95109510+ "values") of the release object in storage.
95119511+ It has the format of `<algo>:<checksum>`.
95129512+ type: string
95139513+ deleted:
95149514+ description: Deleted is when the release was deleted.
95159515+ format: date-time
95169516+ type: string
95179517+ digest:
95189518+ description: |-
95199519+ Digest is the checksum of the release object in storage.
95209520+ It has the format of `<algo>:<checksum>`.
95219521+ type: string
95229522+ firstDeployed:
95239523+ description: FirstDeployed is when the release was first deployed.
95249524+ format: date-time
95259525+ type: string
95269526+ lastDeployed:
95279527+ description: LastDeployed is when the release was last deployed.
95289528+ format: date-time
95299529+ type: string
95309530+ name:
95319531+ description: Name is the name of the release.
95329532+ type: string
95339533+ namespace:
95349534+ description: Namespace is the namespace the release is deployed
95359535+ to.
95369536+ type: string
95379537+ ociDigest:
95389538+ description: OCIDigest is the digest of the OCI artifact associated
95399539+ with the release.
95409540+ type: string
95419541+ status:
95429542+ description: Status is the current state of the release.
95439543+ type: string
95449544+ testHooks:
95459545+ additionalProperties:
95469546+ description: |-
95479547+ TestHookStatus holds the status information for a test hook as observed
95489548+ to be run by the controller.
95499549+ properties:
95509550+ lastCompleted:
95519551+ description: LastCompleted is the time the test hook last
95529552+ completed.
95539553+ format: date-time
95549554+ type: string
95559555+ lastStarted:
95569556+ description: LastStarted is the time the test hook was
95579557+ last started.
95589558+ format: date-time
95599559+ type: string
95609560+ phase:
95619561+ description: Phase the test hook was observed to be in.
95629562+ type: string
95639563+ type: object
95649564+ description: |-
95659565+ TestHooks is the list of test hooks for the release as observed to be
95669566+ run by the controller.
95679567+ type: object
95689568+ version:
95699569+ description: Version is the version of the release object in
95709570+ storage.
95719571+ type: integer
95729572+ required:
95739573+ - chartName
95749574+ - chartVersion
95759575+ - configDigest
95769576+ - digest
95779577+ - firstDeployed
95789578+ - lastDeployed
95799579+ - name
95809580+ - namespace
95819581+ - status
95829582+ - version
95839583+ type: object
95849584+ type: array
95859585+ installFailures:
95869586+ description: |-
95879587+ InstallFailures is the install failure count against the latest desired
95889588+ state. It is reset after a successful reconciliation.
95899589+ format: int64
95909590+ type: integer
95919591+ lastAppliedRevision:
95929592+ description: LastAppliedRevision is the revision of the last successfully
95939593+ applied source.
95949594+ type: string
95959595+ lastAttemptedConfigDigest:
95969596+ description: |-
95979597+ LastAttemptedConfigDigest is the digest for the config (better known as
95989598+ "values") of the last reconciliation attempt.
95999599+96009600+ Note: this field is provisional to the v2beta2 API, and not actively used
96019601+ by v2beta1 HelmReleases.
96029602+ type: string
96039603+ lastAttemptedGeneration:
96049604+ description: |-
96059605+ LastAttemptedGeneration is the last generation the controller attempted
96069606+ to reconcile.
96079607+96089608+ Note: this field is provisional to the v2beta2 API, and not actively used
96099609+ by v2beta1 HelmReleases.
96109610+ format: int64
96119611+ type: integer
96129612+ lastAttemptedReleaseAction:
96139613+ description: |-
96149614+ LastAttemptedReleaseAction is the last release action performed for this
96159615+ HelmRelease. It is used to determine the active remediation strategy.
96169616+96179617+ Note: this field is provisional to the v2beta2 API, and not actively used
96189618+ by v2beta1 HelmReleases.
96199619+ type: string
96209620+ lastAttemptedRevision:
96219621+ description: LastAttemptedRevision is the revision of the last reconciliation
96229622+ attempt.
96239623+ type: string
96249624+ lastAttemptedValuesChecksum:
96259625+ description: |-
96269626+ LastAttemptedValuesChecksum is the SHA1 checksum of the values of the last
96279627+ reconciliation attempt.
96289628+ type: string
96299629+ lastHandledForceAt:
96309630+ description: |-
96319631+ LastHandledForceAt holds the value of the most recent force request
96329632+ value, so a change of the annotation value can be detected.
96339633+96349634+ Note: this field is provisional to the v2beta2 API, and not actively used
96359635+ by v2beta1 HelmReleases.
96369636+ type: string
96379637+ lastHandledReconcileAt:
96389638+ description: |-
96399639+ LastHandledReconcileAt holds the value of the most recent
96409640+ reconcile request value, so a change of the annotation value
96419641+ can be detected.
96429642+ type: string
96439643+ lastHandledResetAt:
96449644+ description: |-
96459645+ LastHandledResetAt holds the value of the most recent reset request
96469646+ value, so a change of the annotation value can be detected.
96479647+96489648+ Note: this field is provisional to the v2beta2 API, and not actively used
96499649+ by v2beta1 HelmReleases.
96509650+ type: string
96519651+ lastReleaseRevision:
96529652+ description: LastReleaseRevision is the revision of the last successful
96539653+ Helm release.
96549654+ type: integer
96559655+ observedGeneration:
96569656+ description: ObservedGeneration is the last observed generation.
96579657+ format: int64
96589658+ type: integer
96599659+ observedPostRenderersDigest:
96609660+ description: |-
96619661+ ObservedPostRenderersDigest is the digest for the post-renderers of
96629662+ the last successful reconciliation attempt.
96639663+ type: string
96649664+ storageNamespace:
96659665+ description: |-
96669666+ StorageNamespace is the namespace of the Helm release storage for the
96679667+ current release.
96689668+96699669+ Note: this field is provisional to the v2beta2 API, and not actively used
96709670+ by v2beta1 HelmReleases.
96719671+ type: string
96729672+ upgradeFailures:
96739673+ description: |-
96749674+ UpgradeFailures is the upgrade failure count against the latest desired
96759675+ state. It is reset after a successful reconciliation.
96769676+ format: int64
96779677+ type: integer
96789678+ type: object
96799679+ type: object
96809680+ served: true
96819681+ storage: false
96829682+ subresources:
96839683+ status: {}
96849684+ - additionalPrinterColumns:
96859685+ - jsonPath: .metadata.creationTimestamp
96869686+ name: Age
96879687+ type: date
96889688+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
96899689+ name: Ready
96909690+ type: string
96919691+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
96929692+ name: Status
96939693+ type: string
96949694+ deprecated: true
96959695+ deprecationWarning: v2beta2 HelmRelease is deprecated, upgrade to v2
96969696+ name: v2beta2
96979697+ schema:
96989698+ openAPIV3Schema:
96999699+ description: HelmRelease is the Schema for the helmreleases API
97009700+ properties:
97019701+ apiVersion:
97029702+ description: |-
97039703+ APIVersion defines the versioned schema of this representation of an object.
97049704+ Servers should convert recognized schemas to the latest internal value, and
97059705+ may reject unrecognized values.
97069706+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
97079707+ type: string
97089708+ kind:
97099709+ description: |-
97109710+ Kind is a string value representing the REST resource this object represents.
97119711+ Servers may infer this from the endpoint the client submits requests to.
97129712+ Cannot be updated.
97139713+ In CamelCase.
97149714+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
97159715+ type: string
97169716+ metadata:
97179717+ type: object
97189718+ spec:
97199719+ description: HelmReleaseSpec defines the desired state of a Helm release.
97209720+ properties:
97219721+ chart:
97229722+ description: |-
97239723+ Chart defines the template of the v1beta2.HelmChart that should be created
97249724+ for this HelmRelease.
97259725+ properties:
97269726+ metadata:
97279727+ description: ObjectMeta holds the template for metadata like labels
97289728+ and annotations.
97299729+ properties:
97309730+ annotations:
97319731+ additionalProperties:
97329732+ type: string
97339733+ description: |-
97349734+ Annotations is an unstructured key value map stored with a resource that may be
97359735+ set by external tools to store and retrieve arbitrary metadata. They are not
97369736+ queryable and should be preserved when modifying objects.
97379737+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
97389738+ type: object
97399739+ labels:
97409740+ additionalProperties:
97419741+ type: string
97429742+ description: |-
97439743+ Map of string keys and values that can be used to organize and categorize
97449744+ (scope and select) objects.
97459745+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
97469746+ type: object
97479747+ type: object
97489748+ spec:
97499749+ description: Spec holds the template for the v1beta2.HelmChartSpec
97509750+ for this HelmRelease.
97519751+ properties:
97529752+ chart:
97539753+ description: The name or path the Helm chart is available
97549754+ at in the SourceRef.
97559755+ maxLength: 2048
97569756+ minLength: 1
97579757+ type: string
97589758+ ignoreMissingValuesFiles:
97599759+ description: IgnoreMissingValuesFiles controls whether to
97609760+ silently ignore missing values files rather than failing.
97619761+ type: boolean
97629762+ interval:
97639763+ description: |-
97649764+ Interval at which to check the v1.Source for updates. Defaults to
97659765+ 'HelmReleaseSpec.Interval'.
97669766+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
97679767+ type: string
97689768+ reconcileStrategy:
97699769+ default: ChartVersion
97709770+ description: |-
97719771+ Determines what enables the creation of a new artifact. Valid values are
97729772+ ('ChartVersion', 'Revision').
97739773+ See the documentation of the values for an explanation on their behavior.
97749774+ Defaults to ChartVersion when omitted.
97759775+ enum:
97769776+ - ChartVersion
97779777+ - Revision
97789778+ type: string
97799779+ sourceRef:
97809780+ description: The name and namespace of the v1.Source the chart
97819781+ is available at.
97829782+ properties:
97839783+ apiVersion:
97849784+ description: APIVersion of the referent.
97859785+ type: string
97869786+ kind:
97879787+ description: Kind of the referent.
97889788+ enum:
97899789+ - HelmRepository
97909790+ - GitRepository
97919791+ - Bucket
97929792+ type: string
97939793+ name:
97949794+ description: Name of the referent.
97959795+ maxLength: 253
97969796+ minLength: 1
97979797+ type: string
97989798+ namespace:
97999799+ description: Namespace of the referent.
98009800+ maxLength: 63
98019801+ minLength: 1
98029802+ type: string
98039803+ required:
98049804+ - kind
98059805+ - name
98069806+ type: object
98079807+ valuesFile:
98089808+ description: |-
98099809+ Alternative values file to use as the default chart values, expected to
98109810+ be a relative path in the SourceRef. Deprecated in favor of ValuesFiles,
98119811+ for backwards compatibility the file defined here is merged before the
98129812+ ValuesFiles items. Ignored when omitted.
98139813+ type: string
98149814+ valuesFiles:
98159815+ description: |-
98169816+ Alternative list of values files to use as the chart values (values.yaml
98179817+ is not included by default), expected to be a relative path in the SourceRef.
98189818+ Values files are merged in the order of this list with the last file overriding
98199819+ the first. Ignored when omitted.
98209820+ items:
98219821+ type: string
98229822+ type: array
98239823+ verify:
98249824+ description: |-
98259825+ Verify contains the secret name containing the trusted public keys
98269826+ used to verify the signature and specifies which provider to use to check
98279827+ whether OCI image is authentic.
98289828+ This field is only supported for OCI sources.
98299829+ Chart dependencies, which are not bundled in the umbrella chart artifact,
98309830+ are not verified.
98319831+ properties:
98329832+ provider:
98339833+ default: cosign
98349834+ description: Provider specifies the technology used to
98359835+ sign the OCI Helm chart.
98369836+ enum:
98379837+ - cosign
98389838+ - notation
98399839+ type: string
98409840+ secretRef:
98419841+ description: |-
98429842+ SecretRef specifies the Kubernetes Secret containing the
98439843+ trusted public keys.
98449844+ properties:
98459845+ name:
98469846+ description: Name of the referent.
98479847+ type: string
98489848+ required:
98499849+ - name
98509850+ type: object
98519851+ required:
98529852+ - provider
98539853+ type: object
98549854+ version:
98559855+ default: '*'
98569856+ description: |-
98579857+ Version semver expression, ignored for charts from v1beta2.GitRepository and
98589858+ v1beta2.Bucket sources. Defaults to latest when omitted.
98599859+ type: string
98609860+ required:
98619861+ - chart
98629862+ - sourceRef
98639863+ type: object
98649864+ required:
98659865+ - spec
98669866+ type: object
98679867+ chartRef:
98689868+ description: |-
98699869+ ChartRef holds a reference to a source controller resource containing the
98709870+ Helm chart artifact.
98719871+98729872+ Note: this field is provisional to the v2 API, and not actively used
98739873+ by v2beta2 HelmReleases.
98749874+ properties:
98759875+ apiVersion:
98769876+ description: APIVersion of the referent.
98779877+ type: string
98789878+ kind:
98799879+ description: Kind of the referent.
98809880+ enum:
98819881+ - OCIRepository
98829882+ - HelmChart
98839883+ type: string
98849884+ name:
98859885+ description: Name of the referent.
98869886+ maxLength: 253
98879887+ minLength: 1
98889888+ type: string
98899889+ namespace:
98909890+ description: |-
98919891+ Namespace of the referent, defaults to the namespace of the Kubernetes
98929892+ resource object that contains the reference.
98939893+ maxLength: 63
98949894+ minLength: 1
98959895+ type: string
98969896+ required:
98979897+ - kind
98989898+ - name
98999899+ type: object
99009900+ dependsOn:
99019901+ description: |-
99029902+ DependsOn may contain a meta.NamespacedObjectReference slice with
99039903+ references to HelmRelease resources that must be ready before this HelmRelease
99049904+ can be reconciled.
99059905+ items:
99069906+ description: |-
99079907+ NamespacedObjectReference contains enough information to locate the referenced Kubernetes resource object in any
99089908+ namespace.
99099909+ properties:
99109910+ name:
99119911+ description: Name of the referent.
99129912+ type: string
99139913+ namespace:
99149914+ description: Namespace of the referent, when not specified it
99159915+ acts as LocalObjectReference.
99169916+ type: string
99179917+ required:
99189918+ - name
99199919+ type: object
99209920+ type: array
99219921+ driftDetection:
99229922+ description: |-
99239923+ DriftDetection holds the configuration for detecting and handling
99249924+ differences between the manifest in the Helm storage and the resources
99259925+ currently existing in the cluster.
99269926+ properties:
99279927+ ignore:
99289928+ description: |-
99299929+ Ignore contains a list of rules for specifying which changes to ignore
99309930+ during diffing.
99319931+ items:
99329932+ description: |-
99339933+ IgnoreRule defines a rule to selectively disregard specific changes during
99349934+ the drift detection process.
99359935+ properties:
99369936+ paths:
99379937+ description: |-
99389938+ Paths is a list of JSON Pointer (RFC 6901) paths to be excluded from
99399939+ consideration in a Kubernetes object.
99409940+ items:
99419941+ type: string
99429942+ type: array
99439943+ target:
99449944+ description: |-
99459945+ Target is a selector for specifying Kubernetes objects to which this
99469946+ rule applies.
99479947+ If Target is not set, the Paths will be ignored for all Kubernetes
99489948+ objects within the manifest of the Helm release.
99499949+ properties:
99509950+ annotationSelector:
99519951+ description: |-
99529952+ AnnotationSelector is a string that follows the label selection expression
99539953+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
99549954+ It matches with the resource annotations.
99559955+ type: string
99569956+ group:
99579957+ description: |-
99589958+ Group is the API group to select resources from.
99599959+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
99609960+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
99619961+ type: string
99629962+ kind:
99639963+ description: |-
99649964+ Kind of the API Group to select resources from.
99659965+ Together with Group and Version it is capable of unambiguously
99669966+ identifying and/or selecting resources.
99679967+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
99689968+ type: string
99699969+ labelSelector:
99709970+ description: |-
99719971+ LabelSelector is a string that follows the label selection expression
99729972+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
99739973+ It matches with the resource labels.
99749974+ type: string
99759975+ name:
99769976+ description: Name to match resources with.
99779977+ type: string
99789978+ namespace:
99799979+ description: Namespace to select resources from.
99809980+ type: string
99819981+ version:
99829982+ description: |-
99839983+ Version of the API Group to select resources from.
99849984+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
99859985+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
99869986+ type: string
99879987+ type: object
99889988+ required:
99899989+ - paths
99909990+ type: object
99919991+ type: array
99929992+ mode:
99939993+ description: |-
99949994+ Mode defines how differences should be handled between the Helm manifest
99959995+ and the manifest currently applied to the cluster.
99969996+ If not explicitly set, it defaults to DiffModeDisabled.
99979997+ enum:
99989998+ - enabled
99999999+ - warn
1000010000+ - disabled
1000110001+ type: string
1000210002+ type: object
1000310003+ install:
1000410004+ description: Install holds the configuration for Helm install actions
1000510005+ for this HelmRelease.
1000610006+ properties:
1000710007+ crds:
1000810008+ description: |-
1000910009+ CRDs upgrade CRDs from the Helm Chart's crds directory according
1001010010+ to the CRD upgrade policy provided here. Valid values are `Skip`,
1001110011+ `Create` or `CreateReplace`. Default is `Create` and if omitted
1001210012+ CRDs are installed but not updated.
1001310013+1001410014+ Skip: do neither install nor replace (update) any CRDs.
1001510015+1001610016+ Create: new CRDs are created, existing CRDs are neither updated nor deleted.
1001710017+1001810018+ CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
1001910019+ but not deleted.
1002010020+1002110021+ By default, CRDs are applied (installed) during Helm install action.
1002210022+ With this option users can opt in to CRD replace existing CRDs on Helm
1002310023+ install actions, which is not (yet) natively supported by Helm.
1002410024+ https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
1002510025+ enum:
1002610026+ - Skip
1002710027+ - Create
1002810028+ - CreateReplace
1002910029+ type: string
1003010030+ createNamespace:
1003110031+ description: |-
1003210032+ CreateNamespace tells the Helm install action to create the
1003310033+ HelmReleaseSpec.TargetNamespace if it does not exist yet.
1003410034+ On uninstall, the namespace will not be garbage collected.
1003510035+ type: boolean
1003610036+ disableHooks:
1003710037+ description: DisableHooks prevents hooks from running during the
1003810038+ Helm install action.
1003910039+ type: boolean
1004010040+ disableOpenAPIValidation:
1004110041+ description: |-
1004210042+ DisableOpenAPIValidation prevents the Helm install action from validating
1004310043+ rendered templates against the Kubernetes OpenAPI Schema.
1004410044+ type: boolean
1004510045+ disableWait:
1004610046+ description: |-
1004710047+ DisableWait disables the waiting for resources to be ready after a Helm
1004810048+ install has been performed.
1004910049+ type: boolean
1005010050+ disableWaitForJobs:
1005110051+ description: |-
1005210052+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
1005310053+ install has been performed.
1005410054+ type: boolean
1005510055+ remediation:
1005610056+ description: |-
1005710057+ Remediation holds the remediation configuration for when the Helm install
1005810058+ action for the HelmRelease fails. The default is to not perform any action.
1005910059+ properties:
1006010060+ ignoreTestFailures:
1006110061+ description: |-
1006210062+ IgnoreTestFailures tells the controller to skip remediation when the Helm
1006310063+ tests are run after an install action but fail. Defaults to
1006410064+ 'Test.IgnoreFailures'.
1006510065+ type: boolean
1006610066+ remediateLastFailure:
1006710067+ description: |-
1006810068+ RemediateLastFailure tells the controller to remediate the last failure, when
1006910069+ no retries remain. Defaults to 'false'.
1007010070+ type: boolean
1007110071+ retries:
1007210072+ description: |-
1007310073+ Retries is the number of retries that should be attempted on failures before
1007410074+ bailing. Remediation, using an uninstall, is performed between each attempt.
1007510075+ Defaults to '0', a negative integer equals to unlimited retries.
1007610076+ type: integer
1007710077+ type: object
1007810078+ replace:
1007910079+ description: |-
1008010080+ Replace tells the Helm install action to re-use the 'ReleaseName', but only
1008110081+ if that name is a deleted release which remains in the history.
1008210082+ type: boolean
1008310083+ skipCRDs:
1008410084+ description: |-
1008510085+ SkipCRDs tells the Helm install action to not install any CRDs. By default,
1008610086+ CRDs are installed if not already present.
1008710087+1008810088+ Deprecated use CRD policy (`crds`) attribute with value `Skip` instead.
1008910089+ type: boolean
1009010090+ timeout:
1009110091+ description: |-
1009210092+ Timeout is the time to wait for any individual Kubernetes operation (like
1009310093+ Jobs for hooks) during the performance of a Helm install action. Defaults to
1009410094+ 'HelmReleaseSpec.Timeout'.
1009510095+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1009610096+ type: string
1009710097+ type: object
1009810098+ interval:
1009910099+ description: Interval at which to reconcile the Helm release.
1010010100+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1010110101+ type: string
1010210102+ kubeConfig:
1010310103+ description: |-
1010410104+ KubeConfig for reconciling the HelmRelease on a remote cluster.
1010510105+ When used in combination with HelmReleaseSpec.ServiceAccountName,
1010610106+ forces the controller to act on behalf of that Service Account at the
1010710107+ target cluster.
1010810108+ If the --default-service-account flag is set, its value will be used as
1010910109+ a controller level fallback for when HelmReleaseSpec.ServiceAccountName
1011010110+ is empty.
1011110111+ properties:
1011210112+ secretRef:
1011310113+ description: |-
1011410114+ SecretRef holds the name of a secret that contains a key with
1011510115+ the kubeconfig file as the value. If no key is set, the key will default
1011610116+ to 'value'.
1011710117+ It is recommended that the kubeconfig is self-contained, and the secret
1011810118+ is regularly updated if credentials such as a cloud-access-token expire.
1011910119+ Cloud specific `cmd-path` auth helpers will not function without adding
1012010120+ binaries and credentials to the Pod that is responsible for reconciling
1012110121+ Kubernetes resources.
1012210122+ properties:
1012310123+ key:
1012410124+ description: Key in the Secret, when not specified an implementation-specific
1012510125+ default key is used.
1012610126+ type: string
1012710127+ name:
1012810128+ description: Name of the Secret.
1012910129+ type: string
1013010130+ required:
1013110131+ - name
1013210132+ type: object
1013310133+ required:
1013410134+ - secretRef
1013510135+ type: object
1013610136+ maxHistory:
1013710137+ description: |-
1013810138+ MaxHistory is the number of revisions saved by Helm for this HelmRelease.
1013910139+ Use '0' for an unlimited number of revisions; defaults to '5'.
1014010140+ type: integer
1014110141+ persistentClient:
1014210142+ description: |-
1014310143+ PersistentClient tells the controller to use a persistent Kubernetes
1014410144+ client for this release. When enabled, the client will be reused for the
1014510145+ duration of the reconciliation, instead of being created and destroyed
1014610146+ for each (step of a) Helm action.
1014710147+1014810148+ This can improve performance, but may cause issues with some Helm charts
1014910149+ that for example do create Custom Resource Definitions during installation
1015010150+ outside Helm's CRD lifecycle hooks, which are then not observed to be
1015110151+ available by e.g. post-install hooks.
1015210152+1015310153+ If not set, it defaults to true.
1015410154+ type: boolean
1015510155+ postRenderers:
1015610156+ description: |-
1015710157+ PostRenderers holds an array of Helm PostRenderers, which will be applied in order
1015810158+ of their definition.
1015910159+ items:
1016010160+ description: PostRenderer contains a Helm PostRenderer specification.
1016110161+ properties:
1016210162+ kustomize:
1016310163+ description: Kustomization to apply as PostRenderer.
1016410164+ properties:
1016510165+ images:
1016610166+ description: |-
1016710167+ Images is a list of (image name, new name, new tag or digest)
1016810168+ for changing image names, tags or digests. This can also be achieved with a
1016910169+ patch, but this operator is simpler to specify.
1017010170+ items:
1017110171+ description: Image contains an image name, a new name,
1017210172+ a new tag or digest, which will replace the original
1017310173+ name and tag.
1017410174+ properties:
1017510175+ digest:
1017610176+ description: |-
1017710177+ Digest is the value used to replace the original image tag.
1017810178+ If digest is present NewTag value is ignored.
1017910179+ type: string
1018010180+ name:
1018110181+ description: Name is a tag-less image name.
1018210182+ type: string
1018310183+ newName:
1018410184+ description: NewName is the value used to replace
1018510185+ the original name.
1018610186+ type: string
1018710187+ newTag:
1018810188+ description: NewTag is the value used to replace the
1018910189+ original tag.
1019010190+ type: string
1019110191+ required:
1019210192+ - name
1019310193+ type: object
1019410194+ type: array
1019510195+ patches:
1019610196+ description: |-
1019710197+ Strategic merge and JSON patches, defined as inline YAML objects,
1019810198+ capable of targeting objects based on kind, label and annotation selectors.
1019910199+ items:
1020010200+ description: |-
1020110201+ Patch contains an inline StrategicMerge or JSON6902 patch, and the target the patch should
1020210202+ be applied to.
1020310203+ properties:
1020410204+ patch:
1020510205+ description: |-
1020610206+ Patch contains an inline StrategicMerge patch or an inline JSON6902 patch with
1020710207+ an array of operation objects.
1020810208+ type: string
1020910209+ target:
1021010210+ description: Target points to the resources that the
1021110211+ patch document should be applied to.
1021210212+ properties:
1021310213+ annotationSelector:
1021410214+ description: |-
1021510215+ AnnotationSelector is a string that follows the label selection expression
1021610216+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1021710217+ It matches with the resource annotations.
1021810218+ type: string
1021910219+ group:
1022010220+ description: |-
1022110221+ Group is the API group to select resources from.
1022210222+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
1022310223+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1022410224+ type: string
1022510225+ kind:
1022610226+ description: |-
1022710227+ Kind of the API Group to select resources from.
1022810228+ Together with Group and Version it is capable of unambiguously
1022910229+ identifying and/or selecting resources.
1023010230+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1023110231+ type: string
1023210232+ labelSelector:
1023310233+ description: |-
1023410234+ LabelSelector is a string that follows the label selection expression
1023510235+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1023610236+ It matches with the resource labels.
1023710237+ type: string
1023810238+ name:
1023910239+ description: Name to match resources with.
1024010240+ type: string
1024110241+ namespace:
1024210242+ description: Namespace to select resources from.
1024310243+ type: string
1024410244+ version:
1024510245+ description: |-
1024610246+ Version of the API Group to select resources from.
1024710247+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
1024810248+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1024910249+ type: string
1025010250+ type: object
1025110251+ required:
1025210252+ - patch
1025310253+ type: object
1025410254+ type: array
1025510255+ patchesJson6902:
1025610256+ description: |-
1025710257+ JSON 6902 patches, defined as inline YAML objects.
1025810258+ Deprecated: use Patches instead.
1025910259+ items:
1026010260+ description: JSON6902Patch contains a JSON6902 patch and
1026110261+ the target the patch should be applied to.
1026210262+ properties:
1026310263+ patch:
1026410264+ description: Patch contains the JSON6902 patch document
1026510265+ with an array of operation objects.
1026610266+ items:
1026710267+ description: |-
1026810268+ JSON6902 is a JSON6902 operation object.
1026910269+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
1027010270+ properties:
1027110271+ from:
1027210272+ description: |-
1027310273+ From contains a JSON-pointer value that references a location within the target document where the operation is
1027410274+ performed. The meaning of the value depends on the value of Op, and is NOT taken into account by all operations.
1027510275+ type: string
1027610276+ op:
1027710277+ description: |-
1027810278+ Op indicates the operation to perform. Its value MUST be one of "add", "remove", "replace", "move", "copy", or
1027910279+ "test".
1028010280+ https://datatracker.ietf.org/doc/html/rfc6902#section-4
1028110281+ enum:
1028210282+ - test
1028310283+ - remove
1028410284+ - add
1028510285+ - replace
1028610286+ - move
1028710287+ - copy
1028810288+ type: string
1028910289+ path:
1029010290+ description: |-
1029110291+ Path contains the JSON-pointer value that references a location within the target document where the operation
1029210292+ is performed. The meaning of the value depends on the value of Op.
1029310293+ type: string
1029410294+ value:
1029510295+ description: |-
1029610296+ Value contains a valid JSON structure. The meaning of the value depends on the value of Op, and is NOT taken into
1029710297+ account by all operations.
1029810298+ x-kubernetes-preserve-unknown-fields: true
1029910299+ required:
1030010300+ - op
1030110301+ - path
1030210302+ type: object
1030310303+ type: array
1030410304+ target:
1030510305+ description: Target points to the resources that the
1030610306+ patch document should be applied to.
1030710307+ properties:
1030810308+ annotationSelector:
1030910309+ description: |-
1031010310+ AnnotationSelector is a string that follows the label selection expression
1031110311+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1031210312+ It matches with the resource annotations.
1031310313+ type: string
1031410314+ group:
1031510315+ description: |-
1031610316+ Group is the API group to select resources from.
1031710317+ Together with Version and Kind it is capable of unambiguously identifying and/or selecting resources.
1031810318+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1031910319+ type: string
1032010320+ kind:
1032110321+ description: |-
1032210322+ Kind of the API Group to select resources from.
1032310323+ Together with Group and Version it is capable of unambiguously
1032410324+ identifying and/or selecting resources.
1032510325+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1032610326+ type: string
1032710327+ labelSelector:
1032810328+ description: |-
1032910329+ LabelSelector is a string that follows the label selection expression
1033010330+ https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1033110331+ It matches with the resource labels.
1033210332+ type: string
1033310333+ name:
1033410334+ description: Name to match resources with.
1033510335+ type: string
1033610336+ namespace:
1033710337+ description: Namespace to select resources from.
1033810338+ type: string
1033910339+ version:
1034010340+ description: |-
1034110341+ Version of the API Group to select resources from.
1034210342+ Together with Group and Kind it is capable of unambiguously identifying and/or selecting resources.
1034310343+ https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1034410344+ type: string
1034510345+ type: object
1034610346+ required:
1034710347+ - patch
1034810348+ - target
1034910349+ type: object
1035010350+ type: array
1035110351+ patchesStrategicMerge:
1035210352+ description: |-
1035310353+ Strategic merge patches, defined as inline YAML objects.
1035410354+ Deprecated: use Patches instead.
1035510355+ items:
1035610356+ x-kubernetes-preserve-unknown-fields: true
1035710357+ type: array
1035810358+ type: object
1035910359+ type: object
1036010360+ type: array
1036110361+ releaseName:
1036210362+ description: |-
1036310363+ ReleaseName used for the Helm release. Defaults to a composition of
1036410364+ '[TargetNamespace-]Name'.
1036510365+ maxLength: 53
1036610366+ minLength: 1
1036710367+ type: string
1036810368+ rollback:
1036910369+ description: Rollback holds the configuration for Helm rollback actions
1037010370+ for this HelmRelease.
1037110371+ properties:
1037210372+ cleanupOnFail:
1037310373+ description: |-
1037410374+ CleanupOnFail allows deletion of new resources created during the Helm
1037510375+ rollback action when it fails.
1037610376+ type: boolean
1037710377+ disableHooks:
1037810378+ description: DisableHooks prevents hooks from running during the
1037910379+ Helm rollback action.
1038010380+ type: boolean
1038110381+ disableWait:
1038210382+ description: |-
1038310383+ DisableWait disables the waiting for resources to be ready after a Helm
1038410384+ rollback has been performed.
1038510385+ type: boolean
1038610386+ disableWaitForJobs:
1038710387+ description: |-
1038810388+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
1038910389+ rollback has been performed.
1039010390+ type: boolean
1039110391+ force:
1039210392+ description: Force forces resource updates through a replacement
1039310393+ strategy.
1039410394+ type: boolean
1039510395+ recreate:
1039610396+ description: Recreate performs pod restarts for the resource if
1039710397+ applicable.
1039810398+ type: boolean
1039910399+ timeout:
1040010400+ description: |-
1040110401+ Timeout is the time to wait for any individual Kubernetes operation (like
1040210402+ Jobs for hooks) during the performance of a Helm rollback action. Defaults to
1040310403+ 'HelmReleaseSpec.Timeout'.
1040410404+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1040510405+ type: string
1040610406+ type: object
1040710407+ serviceAccountName:
1040810408+ description: |-
1040910409+ The name of the Kubernetes service account to impersonate
1041010410+ when reconciling this HelmRelease.
1041110411+ maxLength: 253
1041210412+ minLength: 1
1041310413+ type: string
1041410414+ storageNamespace:
1041510415+ description: |-
1041610416+ StorageNamespace used for the Helm storage.
1041710417+ Defaults to the namespace of the HelmRelease.
1041810418+ maxLength: 63
1041910419+ minLength: 1
1042010420+ type: string
1042110421+ suspend:
1042210422+ description: |-
1042310423+ Suspend tells the controller to suspend reconciliation for this HelmRelease,
1042410424+ it does not apply to already started reconciliations. Defaults to false.
1042510425+ type: boolean
1042610426+ targetNamespace:
1042710427+ description: |-
1042810428+ TargetNamespace to target when performing operations for the HelmRelease.
1042910429+ Defaults to the namespace of the HelmRelease.
1043010430+ maxLength: 63
1043110431+ minLength: 1
1043210432+ type: string
1043310433+ test:
1043410434+ description: Test holds the configuration for Helm test actions for
1043510435+ this HelmRelease.
1043610436+ properties:
1043710437+ enable:
1043810438+ description: |-
1043910439+ Enable enables Helm test actions for this HelmRelease after an Helm install
1044010440+ or upgrade action has been performed.
1044110441+ type: boolean
1044210442+ filters:
1044310443+ description: Filters is a list of tests to run or exclude from
1044410444+ running.
1044510445+ items:
1044610446+ description: Filter holds the configuration for individual Helm
1044710447+ test filters.
1044810448+ properties:
1044910449+ exclude:
1045010450+ description: Exclude specifies whether the named test should
1045110451+ be excluded.
1045210452+ type: boolean
1045310453+ name:
1045410454+ description: Name is the name of the test.
1045510455+ maxLength: 253
1045610456+ minLength: 1
1045710457+ type: string
1045810458+ required:
1045910459+ - name
1046010460+ type: object
1046110461+ type: array
1046210462+ ignoreFailures:
1046310463+ description: |-
1046410464+ IgnoreFailures tells the controller to skip remediation when the Helm tests
1046510465+ are run but fail. Can be overwritten for tests run after install or upgrade
1046610466+ actions in 'Install.IgnoreTestFailures' and 'Upgrade.IgnoreTestFailures'.
1046710467+ type: boolean
1046810468+ timeout:
1046910469+ description: |-
1047010470+ Timeout is the time to wait for any individual Kubernetes operation during
1047110471+ the performance of a Helm test action. Defaults to 'HelmReleaseSpec.Timeout'.
1047210472+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1047310473+ type: string
1047410474+ type: object
1047510475+ timeout:
1047610476+ description: |-
1047710477+ Timeout is the time to wait for any individual Kubernetes operation (like Jobs
1047810478+ for hooks) during the performance of a Helm action. Defaults to '5m0s'.
1047910479+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1048010480+ type: string
1048110481+ uninstall:
1048210482+ description: Uninstall holds the configuration for Helm uninstall
1048310483+ actions for this HelmRelease.
1048410484+ properties:
1048510485+ deletionPropagation:
1048610486+ default: background
1048710487+ description: |-
1048810488+ DeletionPropagation specifies the deletion propagation policy when
1048910489+ a Helm uninstall is performed.
1049010490+ enum:
1049110491+ - background
1049210492+ - foreground
1049310493+ - orphan
1049410494+ type: string
1049510495+ disableHooks:
1049610496+ description: DisableHooks prevents hooks from running during the
1049710497+ Helm rollback action.
1049810498+ type: boolean
1049910499+ disableWait:
1050010500+ description: |-
1050110501+ DisableWait disables waiting for all the resources to be deleted after
1050210502+ a Helm uninstall is performed.
1050310503+ type: boolean
1050410504+ keepHistory:
1050510505+ description: |-
1050610506+ KeepHistory tells Helm to remove all associated resources and mark the
1050710507+ release as deleted, but retain the release history.
1050810508+ type: boolean
1050910509+ timeout:
1051010510+ description: |-
1051110511+ Timeout is the time to wait for any individual Kubernetes operation (like
1051210512+ Jobs for hooks) during the performance of a Helm uninstall action. Defaults
1051310513+ to 'HelmReleaseSpec.Timeout'.
1051410514+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1051510515+ type: string
1051610516+ type: object
1051710517+ upgrade:
1051810518+ description: Upgrade holds the configuration for Helm upgrade actions
1051910519+ for this HelmRelease.
1052010520+ properties:
1052110521+ cleanupOnFail:
1052210522+ description: |-
1052310523+ CleanupOnFail allows deletion of new resources created during the Helm
1052410524+ upgrade action when it fails.
1052510525+ type: boolean
1052610526+ crds:
1052710527+ description: |-
1052810528+ CRDs upgrade CRDs from the Helm Chart's crds directory according
1052910529+ to the CRD upgrade policy provided here. Valid values are `Skip`,
1053010530+ `Create` or `CreateReplace`. Default is `Skip` and if omitted
1053110531+ CRDs are neither installed nor upgraded.
1053210532+1053310533+ Skip: do neither install nor replace (update) any CRDs.
1053410534+1053510535+ Create: new CRDs are created, existing CRDs are neither updated nor deleted.
1053610536+1053710537+ CreateReplace: new CRDs are created, existing CRDs are updated (replaced)
1053810538+ but not deleted.
1053910539+1054010540+ By default, CRDs are not applied during Helm upgrade action. With this
1054110541+ option users can opt-in to CRD upgrade, which is not (yet) natively supported by Helm.
1054210542+ https://helm.sh/docs/chart_best_practices/custom_resource_definitions.
1054310543+ enum:
1054410544+ - Skip
1054510545+ - Create
1054610546+ - CreateReplace
1054710547+ type: string
1054810548+ disableHooks:
1054910549+ description: DisableHooks prevents hooks from running during the
1055010550+ Helm upgrade action.
1055110551+ type: boolean
1055210552+ disableOpenAPIValidation:
1055310553+ description: |-
1055410554+ DisableOpenAPIValidation prevents the Helm upgrade action from validating
1055510555+ rendered templates against the Kubernetes OpenAPI Schema.
1055610556+ type: boolean
1055710557+ disableWait:
1055810558+ description: |-
1055910559+ DisableWait disables the waiting for resources to be ready after a Helm
1056010560+ upgrade has been performed.
1056110561+ type: boolean
1056210562+ disableWaitForJobs:
1056310563+ description: |-
1056410564+ DisableWaitForJobs disables waiting for jobs to complete after a Helm
1056510565+ upgrade has been performed.
1056610566+ type: boolean
1056710567+ force:
1056810568+ description: Force forces resource updates through a replacement
1056910569+ strategy.
1057010570+ type: boolean
1057110571+ preserveValues:
1057210572+ description: |-
1057310573+ PreserveValues will make Helm reuse the last release's values and merge in
1057410574+ overrides from 'Values'. Setting this flag makes the HelmRelease
1057510575+ non-declarative.
1057610576+ type: boolean
1057710577+ remediation:
1057810578+ description: |-
1057910579+ Remediation holds the remediation configuration for when the Helm upgrade
1058010580+ action for the HelmRelease fails. The default is to not perform any action.
1058110581+ properties:
1058210582+ ignoreTestFailures:
1058310583+ description: |-
1058410584+ IgnoreTestFailures tells the controller to skip remediation when the Helm
1058510585+ tests are run after an upgrade action but fail.
1058610586+ Defaults to 'Test.IgnoreFailures'.
1058710587+ type: boolean
1058810588+ remediateLastFailure:
1058910589+ description: |-
1059010590+ RemediateLastFailure tells the controller to remediate the last failure, when
1059110591+ no retries remain. Defaults to 'false' unless 'Retries' is greater than 0.
1059210592+ type: boolean
1059310593+ retries:
1059410594+ description: |-
1059510595+ Retries is the number of retries that should be attempted on failures before
1059610596+ bailing. Remediation, using 'Strategy', is performed between each attempt.
1059710597+ Defaults to '0', a negative integer equals to unlimited retries.
1059810598+ type: integer
1059910599+ strategy:
1060010600+ description: Strategy to use for failure remediation. Defaults
1060110601+ to 'rollback'.
1060210602+ enum:
1060310603+ - rollback
1060410604+ - uninstall
1060510605+ type: string
1060610606+ type: object
1060710607+ timeout:
1060810608+ description: |-
1060910609+ Timeout is the time to wait for any individual Kubernetes operation (like
1061010610+ Jobs for hooks) during the performance of a Helm upgrade action. Defaults to
1061110611+ 'HelmReleaseSpec.Timeout'.
1061210612+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1061310613+ type: string
1061410614+ type: object
1061510615+ values:
1061610616+ description: Values holds the values for this Helm release.
1061710617+ x-kubernetes-preserve-unknown-fields: true
1061810618+ valuesFrom:
1061910619+ description: |-
1062010620+ ValuesFrom holds references to resources containing Helm values for this HelmRelease,
1062110621+ and information about how they should be merged.
1062210622+ items:
1062310623+ description: |-
1062410624+ ValuesReference contains a reference to a resource containing Helm values,
1062510625+ and optionally the key they can be found at.
1062610626+ properties:
1062710627+ kind:
1062810628+ description: Kind of the values referent, valid values are ('Secret',
1062910629+ 'ConfigMap').
1063010630+ enum:
1063110631+ - Secret
1063210632+ - ConfigMap
1063310633+ type: string
1063410634+ name:
1063510635+ description: |-
1063610636+ Name of the values referent. Should reside in the same namespace as the
1063710637+ referring resource.
1063810638+ maxLength: 253
1063910639+ minLength: 1
1064010640+ type: string
1064110641+ optional:
1064210642+ description: |-
1064310643+ Optional marks this ValuesReference as optional. When set, a not found error
1064410644+ for the values reference is ignored, but any ValuesKey, TargetPath or
1064510645+ transient error will still result in a reconciliation failure.
1064610646+ type: boolean
1064710647+ targetPath:
1064810648+ description: |-
1064910649+ TargetPath is the YAML dot notation path the value should be merged at. When
1065010650+ set, the ValuesKey is expected to be a single flat value. Defaults to 'None',
1065110651+ which results in the values getting merged at the root.
1065210652+ maxLength: 250
1065310653+ pattern: ^([a-zA-Z0-9_\-.\\\/]|\[[0-9]{1,5}\])+$
1065410654+ type: string
1065510655+ valuesKey:
1065610656+ description: |-
1065710657+ ValuesKey is the data key where the values.yaml or a specific value can be
1065810658+ found at. Defaults to 'values.yaml'.
1065910659+ maxLength: 253
1066010660+ pattern: ^[\-._a-zA-Z0-9]+$
1066110661+ type: string
1066210662+ required:
1066310663+ - kind
1066410664+ - name
1066510665+ type: object
1066610666+ type: array
1066710667+ required:
1066810668+ - interval
1066910669+ type: object
1067010670+ x-kubernetes-validations:
1067110671+ - message: either chart or chartRef must be set
1067210672+ rule: (has(self.chart) && !has(self.chartRef)) || (!has(self.chart)
1067310673+ && has(self.chartRef))
1067410674+ status:
1067510675+ default:
1067610676+ observedGeneration: -1
1067710677+ description: HelmReleaseStatus defines the observed state of a HelmRelease.
1067810678+ properties:
1067910679+ conditions:
1068010680+ description: Conditions holds the conditions for the HelmRelease.
1068110681+ items:
1068210682+ description: Condition contains details for one aspect of the current
1068310683+ state of this API Resource.
1068410684+ properties:
1068510685+ lastTransitionTime:
1068610686+ description: |-
1068710687+ lastTransitionTime is the last time the condition transitioned from one status to another.
1068810688+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1068910689+ format: date-time
1069010690+ type: string
1069110691+ message:
1069210692+ description: |-
1069310693+ message is a human readable message indicating details about the transition.
1069410694+ This may be an empty string.
1069510695+ maxLength: 32768
1069610696+ type: string
1069710697+ observedGeneration:
1069810698+ description: |-
1069910699+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1070010700+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1070110701+ with respect to the current state of the instance.
1070210702+ format: int64
1070310703+ minimum: 0
1070410704+ type: integer
1070510705+ reason:
1070610706+ description: |-
1070710707+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1070810708+ Producers of specific condition types may define expected values and meanings for this field,
1070910709+ and whether the values are considered a guaranteed API.
1071010710+ The value should be a CamelCase string.
1071110711+ This field may not be empty.
1071210712+ maxLength: 1024
1071310713+ minLength: 1
1071410714+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1071510715+ type: string
1071610716+ status:
1071710717+ description: status of the condition, one of True, False, Unknown.
1071810718+ enum:
1071910719+ - "True"
1072010720+ - "False"
1072110721+ - Unknown
1072210722+ type: string
1072310723+ type:
1072410724+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1072510725+ maxLength: 316
1072610726+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1072710727+ type: string
1072810728+ required:
1072910729+ - lastTransitionTime
1073010730+ - message
1073110731+ - reason
1073210732+ - status
1073310733+ - type
1073410734+ type: object
1073510735+ type: array
1073610736+ failures:
1073710737+ description: |-
1073810738+ Failures is the reconciliation failure count against the latest desired
1073910739+ state. It is reset after a successful reconciliation.
1074010740+ format: int64
1074110741+ type: integer
1074210742+ helmChart:
1074310743+ description: |-
1074410744+ HelmChart is the namespaced name of the HelmChart resource created by
1074510745+ the controller for the HelmRelease.
1074610746+ type: string
1074710747+ history:
1074810748+ description: |-
1074910749+ History holds the history of Helm releases performed for this HelmRelease
1075010750+ up to the last successfully completed release.
1075110751+ items:
1075210752+ description: |-
1075310753+ Snapshot captures a point-in-time copy of the status information for a Helm release,
1075410754+ as managed by the controller.
1075510755+ properties:
1075610756+ apiVersion:
1075710757+ description: |-
1075810758+ APIVersion is the API version of the Snapshot.
1075910759+ Provisional: when the calculation method of the Digest field is changed,
1076010760+ this field will be used to distinguish between the old and new methods.
1076110761+ type: string
1076210762+ appVersion:
1076310763+ description: AppVersion is the chart app version of the release
1076410764+ object in storage.
1076510765+ type: string
1076610766+ chartName:
1076710767+ description: ChartName is the chart name of the release object
1076810768+ in storage.
1076910769+ type: string
1077010770+ chartVersion:
1077110771+ description: |-
1077210772+ ChartVersion is the chart version of the release object in
1077310773+ storage.
1077410774+ type: string
1077510775+ configDigest:
1077610776+ description: |-
1077710777+ ConfigDigest is the checksum of the config (better known as
1077810778+ "values") of the release object in storage.
1077910779+ It has the format of `<algo>:<checksum>`.
1078010780+ type: string
1078110781+ deleted:
1078210782+ description: Deleted is when the release was deleted.
1078310783+ format: date-time
1078410784+ type: string
1078510785+ digest:
1078610786+ description: |-
1078710787+ Digest is the checksum of the release object in storage.
1078810788+ It has the format of `<algo>:<checksum>`.
1078910789+ type: string
1079010790+ firstDeployed:
1079110791+ description: FirstDeployed is when the release was first deployed.
1079210792+ format: date-time
1079310793+ type: string
1079410794+ lastDeployed:
1079510795+ description: LastDeployed is when the release was last deployed.
1079610796+ format: date-time
1079710797+ type: string
1079810798+ name:
1079910799+ description: Name is the name of the release.
1080010800+ type: string
1080110801+ namespace:
1080210802+ description: Namespace is the namespace the release is deployed
1080310803+ to.
1080410804+ type: string
1080510805+ ociDigest:
1080610806+ description: OCIDigest is the digest of the OCI artifact associated
1080710807+ with the release.
1080810808+ type: string
1080910809+ status:
1081010810+ description: Status is the current state of the release.
1081110811+ type: string
1081210812+ testHooks:
1081310813+ additionalProperties:
1081410814+ description: |-
1081510815+ TestHookStatus holds the status information for a test hook as observed
1081610816+ to be run by the controller.
1081710817+ properties:
1081810818+ lastCompleted:
1081910819+ description: LastCompleted is the time the test hook last
1082010820+ completed.
1082110821+ format: date-time
1082210822+ type: string
1082310823+ lastStarted:
1082410824+ description: LastStarted is the time the test hook was
1082510825+ last started.
1082610826+ format: date-time
1082710827+ type: string
1082810828+ phase:
1082910829+ description: Phase the test hook was observed to be in.
1083010830+ type: string
1083110831+ type: object
1083210832+ description: |-
1083310833+ TestHooks is the list of test hooks for the release as observed to be
1083410834+ run by the controller.
1083510835+ type: object
1083610836+ version:
1083710837+ description: Version is the version of the release object in
1083810838+ storage.
1083910839+ type: integer
1084010840+ required:
1084110841+ - chartName
1084210842+ - chartVersion
1084310843+ - configDigest
1084410844+ - digest
1084510845+ - firstDeployed
1084610846+ - lastDeployed
1084710847+ - name
1084810848+ - namespace
1084910849+ - status
1085010850+ - version
1085110851+ type: object
1085210852+ type: array
1085310853+ installFailures:
1085410854+ description: |-
1085510855+ InstallFailures is the install failure count against the latest desired
1085610856+ state. It is reset after a successful reconciliation.
1085710857+ format: int64
1085810858+ type: integer
1085910859+ lastAppliedRevision:
1086010860+ description: |-
1086110861+ LastAppliedRevision is the revision of the last successfully applied
1086210862+ source.
1086310863+ Deprecated: the revision can now be found in the History.
1086410864+ type: string
1086510865+ lastAttemptedConfigDigest:
1086610866+ description: |-
1086710867+ LastAttemptedConfigDigest is the digest for the config (better known as
1086810868+ "values") of the last reconciliation attempt.
1086910869+ type: string
1087010870+ lastAttemptedGeneration:
1087110871+ description: |-
1087210872+ LastAttemptedGeneration is the last generation the controller attempted
1087310873+ to reconcile.
1087410874+ format: int64
1087510875+ type: integer
1087610876+ lastAttemptedReleaseAction:
1087710877+ description: |-
1087810878+ LastAttemptedReleaseAction is the last release action performed for this
1087910879+ HelmRelease. It is used to determine the active remediation strategy.
1088010880+ enum:
1088110881+ - install
1088210882+ - upgrade
1088310883+ type: string
1088410884+ lastAttemptedRevision:
1088510885+ description: |-
1088610886+ LastAttemptedRevision is the Source revision of the last reconciliation
1088710887+ attempt. For OCIRepository sources, the 12 first characters of the digest are
1088810888+ appended to the chart version e.g. "1.2.3+1234567890ab".
1088910889+ type: string
1089010890+ lastAttemptedRevisionDigest:
1089110891+ description: |-
1089210892+ LastAttemptedRevisionDigest is the digest of the last reconciliation attempt.
1089310893+ This is only set for OCIRepository sources.
1089410894+ type: string
1089510895+ lastAttemptedValuesChecksum:
1089610896+ description: |-
1089710897+ LastAttemptedValuesChecksum is the SHA1 checksum for the values of the last
1089810898+ reconciliation attempt.
1089910899+ Deprecated: Use LastAttemptedConfigDigest instead.
1090010900+ type: string
1090110901+ lastHandledForceAt:
1090210902+ description: |-
1090310903+ LastHandledForceAt holds the value of the most recent force request
1090410904+ value, so a change of the annotation value can be detected.
1090510905+ type: string
1090610906+ lastHandledReconcileAt:
1090710907+ description: |-
1090810908+ LastHandledReconcileAt holds the value of the most recent
1090910909+ reconcile request value, so a change of the annotation value
1091010910+ can be detected.
1091110911+ type: string
1091210912+ lastHandledResetAt:
1091310913+ description: |-
1091410914+ LastHandledResetAt holds the value of the most recent reset request
1091510915+ value, so a change of the annotation value can be detected.
1091610916+ type: string
1091710917+ lastReleaseRevision:
1091810918+ description: |-
1091910919+ LastReleaseRevision is the revision of the last successful Helm release.
1092010920+ Deprecated: Use History instead.
1092110921+ type: integer
1092210922+ observedGeneration:
1092310923+ description: ObservedGeneration is the last observed generation.
1092410924+ format: int64
1092510925+ type: integer
1092610926+ observedPostRenderersDigest:
1092710927+ description: |-
1092810928+ ObservedPostRenderersDigest is the digest for the post-renderers of
1092910929+ the last successful reconciliation attempt.
1093010930+ type: string
1093110931+ storageNamespace:
1093210932+ description: |-
1093310933+ StorageNamespace is the namespace of the Helm release storage for the
1093410934+ current release.
1093510935+ maxLength: 63
1093610936+ minLength: 1
1093710937+ type: string
1093810938+ upgradeFailures:
1093910939+ description: |-
1094010940+ UpgradeFailures is the upgrade failure count against the latest desired
1094110941+ state. It is reset after a successful reconciliation.
1094210942+ format: int64
1094310943+ type: integer
1094410944+ type: object
1094510945+ type: object
1094610946+ served: true
1094710947+ storage: false
1094810948+ subresources:
1094910949+ status: {}
1095010950+---
1095110951+apiVersion: v1
1095210952+kind: ServiceAccount
1095310953+metadata:
1095410954+ labels:
1095510955+ app.kubernetes.io/component: helm-controller
1095610956+ app.kubernetes.io/instance: flux-system
1095710957+ app.kubernetes.io/part-of: flux
1095810958+ app.kubernetes.io/version: v2.6.4
1095910959+ name: helm-controller
1096010960+ namespace: flux-system
1096110961+---
1096210962+apiVersion: apps/v1
1096310963+kind: Deployment
1096410964+metadata:
1096510965+ labels:
1096610966+ app.kubernetes.io/component: helm-controller
1096710967+ app.kubernetes.io/instance: flux-system
1096810968+ app.kubernetes.io/part-of: flux
1096910969+ app.kubernetes.io/version: v2.6.4
1097010970+ control-plane: controller
1097110971+ name: helm-controller
1097210972+ namespace: flux-system
1097310973+spec:
1097410974+ replicas: 1
1097510975+ selector:
1097610976+ matchLabels:
1097710977+ app: helm-controller
1097810978+ template:
1097910979+ metadata:
1098010980+ annotations:
1098110981+ prometheus.io/port: "8080"
1098210982+ prometheus.io/scrape: "true"
1098310983+ labels:
1098410984+ app: helm-controller
1098510985+ spec:
1098610986+ containers:
1098710987+ - args:
1098810988+ - --events-addr=http://notification-controller.flux-system.svc.cluster.local./
1098910989+ - --watch-all-namespaces=true
1099010990+ - --log-level=info
1099110991+ - --log-encoding=json
1099210992+ - --enable-leader-election
1099310993+ env:
1099410994+ - name: RUNTIME_NAMESPACE
1099510995+ valueFrom:
1099610996+ fieldRef:
1099710997+ fieldPath: metadata.namespace
1099810998+ - name: GOMAXPROCS
1099910999+ valueFrom:
1100011000+ resourceFieldRef:
1100111001+ containerName: manager
1100211002+ resource: limits.cpu
1100311003+ - name: GOMEMLIMIT
1100411004+ valueFrom:
1100511005+ resourceFieldRef:
1100611006+ containerName: manager
1100711007+ resource: limits.memory
1100811008+ image: ghcr.io/fluxcd/helm-controller:v1.3.0
1100911009+ imagePullPolicy: IfNotPresent
1101011010+ livenessProbe:
1101111011+ httpGet:
1101211012+ path: /healthz
1101311013+ port: healthz
1101411014+ name: manager
1101511015+ ports:
1101611016+ - containerPort: 8080
1101711017+ name: http-prom
1101811018+ protocol: TCP
1101911019+ - containerPort: 9440
1102011020+ name: healthz
1102111021+ protocol: TCP
1102211022+ readinessProbe:
1102311023+ httpGet:
1102411024+ path: /readyz
1102511025+ port: healthz
1102611026+ resources:
1102711027+ limits:
1102811028+ cpu: 1000m
1102911029+ memory: 1Gi
1103011030+ requests:
1103111031+ cpu: 100m
1103211032+ memory: 64Mi
1103311033+ securityContext:
1103411034+ allowPrivilegeEscalation: false
1103511035+ capabilities:
1103611036+ drop:
1103711037+ - ALL
1103811038+ readOnlyRootFilesystem: true
1103911039+ runAsNonRoot: true
1104011040+ seccompProfile:
1104111041+ type: RuntimeDefault
1104211042+ volumeMounts:
1104311043+ - mountPath: /tmp
1104411044+ name: temp
1104511045+ nodeSelector:
1104611046+ kubernetes.io/os: linux
1104711047+ priorityClassName: system-cluster-critical
1104811048+ securityContext:
1104911049+ fsGroup: 1337
1105011050+ serviceAccountName: helm-controller
1105111051+ terminationGracePeriodSeconds: 600
1105211052+ volumes:
1105311053+ - emptyDir: {}
1105411054+ name: temp
1105511055+---
1105611056+apiVersion: apiextensions.k8s.io/v1
1105711057+kind: CustomResourceDefinition
1105811058+metadata:
1105911059+ annotations:
1106011060+ controller-gen.kubebuilder.io/version: v0.16.1
1106111061+ labels:
1106211062+ app.kubernetes.io/component: notification-controller
1106311063+ app.kubernetes.io/instance: flux-system
1106411064+ app.kubernetes.io/part-of: flux
1106511065+ app.kubernetes.io/version: v2.6.4
1106611066+ name: alerts.notification.toolkit.fluxcd.io
1106711067+spec:
1106811068+ group: notification.toolkit.fluxcd.io
1106911069+ names:
1107011070+ kind: Alert
1107111071+ listKind: AlertList
1107211072+ plural: alerts
1107311073+ singular: alert
1107411074+ scope: Namespaced
1107511075+ versions:
1107611076+ - additionalPrinterColumns:
1107711077+ - jsonPath: .metadata.creationTimestamp
1107811078+ name: Age
1107911079+ type: date
1108011080+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1108111081+ name: Ready
1108211082+ type: string
1108311083+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1108411084+ name: Status
1108511085+ type: string
1108611086+ deprecated: true
1108711087+ deprecationWarning: v1beta1 Alert is deprecated, upgrade to v1beta3
1108811088+ name: v1beta1
1108911089+ schema:
1109011090+ openAPIV3Schema:
1109111091+ description: Alert is the Schema for the alerts API
1109211092+ properties:
1109311093+ apiVersion:
1109411094+ description: |-
1109511095+ APIVersion defines the versioned schema of this representation of an object.
1109611096+ Servers should convert recognized schemas to the latest internal value, and
1109711097+ may reject unrecognized values.
1109811098+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1109911099+ type: string
1110011100+ kind:
1110111101+ description: |-
1110211102+ Kind is a string value representing the REST resource this object represents.
1110311103+ Servers may infer this from the endpoint the client submits requests to.
1110411104+ Cannot be updated.
1110511105+ In CamelCase.
1110611106+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1110711107+ type: string
1110811108+ metadata:
1110911109+ type: object
1111011110+ spec:
1111111111+ description: AlertSpec defines an alerting rule for events involving a
1111211112+ list of objects
1111311113+ properties:
1111411114+ eventSeverity:
1111511115+ default: info
1111611116+ description: |-
1111711117+ Filter events based on severity, defaults to ('info').
1111811118+ If set to 'info' no events will be filtered.
1111911119+ enum:
1112011120+ - info
1112111121+ - error
1112211122+ type: string
1112311123+ eventSources:
1112411124+ description: Filter events based on the involved objects.
1112511125+ items:
1112611126+ description: |-
1112711127+ CrossNamespaceObjectReference contains enough information to let you locate the
1112811128+ typed referenced object at cluster level
1112911129+ properties:
1113011130+ apiVersion:
1113111131+ description: API version of the referent
1113211132+ type: string
1113311133+ kind:
1113411134+ description: Kind of the referent
1113511135+ enum:
1113611136+ - Bucket
1113711137+ - GitRepository
1113811138+ - Kustomization
1113911139+ - HelmRelease
1114011140+ - HelmChart
1114111141+ - HelmRepository
1114211142+ - ImageRepository
1114311143+ - ImagePolicy
1114411144+ - ImageUpdateAutomation
1114511145+ - OCIRepository
1114611146+ type: string
1114711147+ matchLabels:
1114811148+ additionalProperties:
1114911149+ type: string
1115011150+ description: |-
1115111151+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1115211152+ map is equivalent to an element of matchExpressions, whose key field is "key", the
1115311153+ operator is "In", and the values array contains only "value". The requirements are ANDed.
1115411154+ type: object
1115511155+ name:
1115611156+ description: Name of the referent
1115711157+ maxLength: 53
1115811158+ minLength: 1
1115911159+ type: string
1116011160+ namespace:
1116111161+ description: Namespace of the referent
1116211162+ maxLength: 53
1116311163+ minLength: 1
1116411164+ type: string
1116511165+ required:
1116611166+ - kind
1116711167+ - name
1116811168+ type: object
1116911169+ type: array
1117011170+ exclusionList:
1117111171+ description: A list of Golang regular expressions to be used for excluding
1117211172+ messages.
1117311173+ items:
1117411174+ type: string
1117511175+ type: array
1117611176+ providerRef:
1117711177+ description: Send events using this provider.
1117811178+ properties:
1117911179+ name:
1118011180+ description: Name of the referent.
1118111181+ type: string
1118211182+ required:
1118311183+ - name
1118411184+ type: object
1118511185+ summary:
1118611186+ description: Short description of the impact and affected cluster.
1118711187+ type: string
1118811188+ suspend:
1118911189+ description: |-
1119011190+ This flag tells the controller to suspend subsequent events dispatching.
1119111191+ Defaults to false.
1119211192+ type: boolean
1119311193+ required:
1119411194+ - eventSources
1119511195+ - providerRef
1119611196+ type: object
1119711197+ status:
1119811198+ default:
1119911199+ observedGeneration: -1
1120011200+ description: AlertStatus defines the observed state of Alert
1120111201+ properties:
1120211202+ conditions:
1120311203+ items:
1120411204+ description: Condition contains details for one aspect of the current
1120511205+ state of this API Resource.
1120611206+ properties:
1120711207+ lastTransitionTime:
1120811208+ description: |-
1120911209+ lastTransitionTime is the last time the condition transitioned from one status to another.
1121011210+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1121111211+ format: date-time
1121211212+ type: string
1121311213+ message:
1121411214+ description: |-
1121511215+ message is a human readable message indicating details about the transition.
1121611216+ This may be an empty string.
1121711217+ maxLength: 32768
1121811218+ type: string
1121911219+ observedGeneration:
1122011220+ description: |-
1122111221+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1122211222+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1122311223+ with respect to the current state of the instance.
1122411224+ format: int64
1122511225+ minimum: 0
1122611226+ type: integer
1122711227+ reason:
1122811228+ description: |-
1122911229+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1123011230+ Producers of specific condition types may define expected values and meanings for this field,
1123111231+ and whether the values are considered a guaranteed API.
1123211232+ The value should be a CamelCase string.
1123311233+ This field may not be empty.
1123411234+ maxLength: 1024
1123511235+ minLength: 1
1123611236+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1123711237+ type: string
1123811238+ status:
1123911239+ description: status of the condition, one of True, False, Unknown.
1124011240+ enum:
1124111241+ - "True"
1124211242+ - "False"
1124311243+ - Unknown
1124411244+ type: string
1124511245+ type:
1124611246+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1124711247+ maxLength: 316
1124811248+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1124911249+ type: string
1125011250+ required:
1125111251+ - lastTransitionTime
1125211252+ - message
1125311253+ - reason
1125411254+ - status
1125511255+ - type
1125611256+ type: object
1125711257+ type: array
1125811258+ observedGeneration:
1125911259+ description: ObservedGeneration is the last observed generation.
1126011260+ format: int64
1126111261+ type: integer
1126211262+ type: object
1126311263+ type: object
1126411264+ served: true
1126511265+ storage: false
1126611266+ subresources:
1126711267+ status: {}
1126811268+ - additionalPrinterColumns:
1126911269+ - jsonPath: .metadata.creationTimestamp
1127011270+ name: Age
1127111271+ type: date
1127211272+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1127311273+ name: Ready
1127411274+ type: string
1127511275+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1127611276+ name: Status
1127711277+ type: string
1127811278+ deprecated: true
1127911279+ deprecationWarning: v1beta2 Alert is deprecated, upgrade to v1beta3
1128011280+ name: v1beta2
1128111281+ schema:
1128211282+ openAPIV3Schema:
1128311283+ description: Alert is the Schema for the alerts API
1128411284+ properties:
1128511285+ apiVersion:
1128611286+ description: |-
1128711287+ APIVersion defines the versioned schema of this representation of an object.
1128811288+ Servers should convert recognized schemas to the latest internal value, and
1128911289+ may reject unrecognized values.
1129011290+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1129111291+ type: string
1129211292+ kind:
1129311293+ description: |-
1129411294+ Kind is a string value representing the REST resource this object represents.
1129511295+ Servers may infer this from the endpoint the client submits requests to.
1129611296+ Cannot be updated.
1129711297+ In CamelCase.
1129811298+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1129911299+ type: string
1130011300+ metadata:
1130111301+ type: object
1130211302+ spec:
1130311303+ description: AlertSpec defines an alerting rule for events involving a
1130411304+ list of objects.
1130511305+ properties:
1130611306+ eventMetadata:
1130711307+ additionalProperties:
1130811308+ type: string
1130911309+ description: |-
1131011310+ EventMetadata is an optional field for adding metadata to events dispatched by the
1131111311+ controller. This can be used for enhancing the context of the event. If a field
1131211312+ would override one already present on the original event as generated by the emitter,
1131311313+ then the override doesn't happen, i.e. the original value is preserved, and an info
1131411314+ log is printed.
1131511315+ type: object
1131611316+ eventSeverity:
1131711317+ default: info
1131811318+ description: |-
1131911319+ EventSeverity specifies how to filter events based on severity.
1132011320+ If set to 'info' no events will be filtered.
1132111321+ enum:
1132211322+ - info
1132311323+ - error
1132411324+ type: string
1132511325+ eventSources:
1132611326+ description: |-
1132711327+ EventSources specifies how to filter events based
1132811328+ on the involved object kind, name and namespace.
1132911329+ items:
1133011330+ description: |-
1133111331+ CrossNamespaceObjectReference contains enough information to let you locate the
1133211332+ typed referenced object at cluster level
1133311333+ properties:
1133411334+ apiVersion:
1133511335+ description: API version of the referent
1133611336+ type: string
1133711337+ kind:
1133811338+ description: Kind of the referent
1133911339+ enum:
1134011340+ - Bucket
1134111341+ - GitRepository
1134211342+ - Kustomization
1134311343+ - HelmRelease
1134411344+ - HelmChart
1134511345+ - HelmRepository
1134611346+ - ImageRepository
1134711347+ - ImagePolicy
1134811348+ - ImageUpdateAutomation
1134911349+ - OCIRepository
1135011350+ type: string
1135111351+ matchLabels:
1135211352+ additionalProperties:
1135311353+ type: string
1135411354+ description: |-
1135511355+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1135611356+ map is equivalent to an element of matchExpressions, whose key field is "key", the
1135711357+ operator is "In", and the values array contains only "value". The requirements are ANDed.
1135811358+ MatchLabels requires the name to be set to `*`.
1135911359+ type: object
1136011360+ name:
1136111361+ description: |-
1136211362+ Name of the referent
1136311363+ If multiple resources are targeted `*` may be set.
1136411364+ maxLength: 253
1136511365+ minLength: 1
1136611366+ type: string
1136711367+ namespace:
1136811368+ description: Namespace of the referent
1136911369+ maxLength: 253
1137011370+ minLength: 1
1137111371+ type: string
1137211372+ required:
1137311373+ - kind
1137411374+ - name
1137511375+ type: object
1137611376+ type: array
1137711377+ exclusionList:
1137811378+ description: |-
1137911379+ ExclusionList specifies a list of Golang regular expressions
1138011380+ to be used for excluding messages.
1138111381+ items:
1138211382+ type: string
1138311383+ type: array
1138411384+ inclusionList:
1138511385+ description: |-
1138611386+ InclusionList specifies a list of Golang regular expressions
1138711387+ to be used for including messages.
1138811388+ items:
1138911389+ type: string
1139011390+ type: array
1139111391+ providerRef:
1139211392+ description: ProviderRef specifies which Provider this Alert should
1139311393+ use.
1139411394+ properties:
1139511395+ name:
1139611396+ description: Name of the referent.
1139711397+ type: string
1139811398+ required:
1139911399+ - name
1140011400+ type: object
1140111401+ summary:
1140211402+ description: Summary holds a short description of the impact and affected
1140311403+ cluster.
1140411404+ maxLength: 255
1140511405+ type: string
1140611406+ suspend:
1140711407+ description: |-
1140811408+ Suspend tells the controller to suspend subsequent
1140911409+ events handling for this Alert.
1141011410+ type: boolean
1141111411+ required:
1141211412+ - eventSources
1141311413+ - providerRef
1141411414+ type: object
1141511415+ status:
1141611416+ default:
1141711417+ observedGeneration: -1
1141811418+ description: AlertStatus defines the observed state of the Alert.
1141911419+ properties:
1142011420+ conditions:
1142111421+ description: Conditions holds the conditions for the Alert.
1142211422+ items:
1142311423+ description: Condition contains details for one aspect of the current
1142411424+ state of this API Resource.
1142511425+ properties:
1142611426+ lastTransitionTime:
1142711427+ description: |-
1142811428+ lastTransitionTime is the last time the condition transitioned from one status to another.
1142911429+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1143011430+ format: date-time
1143111431+ type: string
1143211432+ message:
1143311433+ description: |-
1143411434+ message is a human readable message indicating details about the transition.
1143511435+ This may be an empty string.
1143611436+ maxLength: 32768
1143711437+ type: string
1143811438+ observedGeneration:
1143911439+ description: |-
1144011440+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1144111441+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1144211442+ with respect to the current state of the instance.
1144311443+ format: int64
1144411444+ minimum: 0
1144511445+ type: integer
1144611446+ reason:
1144711447+ description: |-
1144811448+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1144911449+ Producers of specific condition types may define expected values and meanings for this field,
1145011450+ and whether the values are considered a guaranteed API.
1145111451+ The value should be a CamelCase string.
1145211452+ This field may not be empty.
1145311453+ maxLength: 1024
1145411454+ minLength: 1
1145511455+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1145611456+ type: string
1145711457+ status:
1145811458+ description: status of the condition, one of True, False, Unknown.
1145911459+ enum:
1146011460+ - "True"
1146111461+ - "False"
1146211462+ - Unknown
1146311463+ type: string
1146411464+ type:
1146511465+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1146611466+ maxLength: 316
1146711467+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1146811468+ type: string
1146911469+ required:
1147011470+ - lastTransitionTime
1147111471+ - message
1147211472+ - reason
1147311473+ - status
1147411474+ - type
1147511475+ type: object
1147611476+ type: array
1147711477+ lastHandledReconcileAt:
1147811478+ description: |-
1147911479+ LastHandledReconcileAt holds the value of the most recent
1148011480+ reconcile request value, so a change of the annotation value
1148111481+ can be detected.
1148211482+ type: string
1148311483+ observedGeneration:
1148411484+ description: ObservedGeneration is the last observed generation.
1148511485+ format: int64
1148611486+ type: integer
1148711487+ type: object
1148811488+ type: object
1148911489+ served: true
1149011490+ storage: false
1149111491+ subresources:
1149211492+ status: {}
1149311493+ - additionalPrinterColumns:
1149411494+ - jsonPath: .metadata.creationTimestamp
1149511495+ name: Age
1149611496+ type: date
1149711497+ name: v1beta3
1149811498+ schema:
1149911499+ openAPIV3Schema:
1150011500+ description: Alert is the Schema for the alerts API
1150111501+ properties:
1150211502+ apiVersion:
1150311503+ description: |-
1150411504+ APIVersion defines the versioned schema of this representation of an object.
1150511505+ Servers should convert recognized schemas to the latest internal value, and
1150611506+ may reject unrecognized values.
1150711507+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1150811508+ type: string
1150911509+ kind:
1151011510+ description: |-
1151111511+ Kind is a string value representing the REST resource this object represents.
1151211512+ Servers may infer this from the endpoint the client submits requests to.
1151311513+ Cannot be updated.
1151411514+ In CamelCase.
1151511515+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1151611516+ type: string
1151711517+ metadata:
1151811518+ type: object
1151911519+ spec:
1152011520+ description: AlertSpec defines an alerting rule for events involving a
1152111521+ list of objects.
1152211522+ properties:
1152311523+ eventMetadata:
1152411524+ additionalProperties:
1152511525+ type: string
1152611526+ description: |-
1152711527+ EventMetadata is an optional field for adding metadata to events dispatched by the
1152811528+ controller. This can be used for enhancing the context of the event. If a field
1152911529+ would override one already present on the original event as generated by the emitter,
1153011530+ then the override doesn't happen, i.e. the original value is preserved, and an info
1153111531+ log is printed.
1153211532+ type: object
1153311533+ eventSeverity:
1153411534+ default: info
1153511535+ description: |-
1153611536+ EventSeverity specifies how to filter events based on severity.
1153711537+ If set to 'info' no events will be filtered.
1153811538+ enum:
1153911539+ - info
1154011540+ - error
1154111541+ type: string
1154211542+ eventSources:
1154311543+ description: |-
1154411544+ EventSources specifies how to filter events based
1154511545+ on the involved object kind, name and namespace.
1154611546+ items:
1154711547+ description: |-
1154811548+ CrossNamespaceObjectReference contains enough information to let you locate the
1154911549+ typed referenced object at cluster level
1155011550+ properties:
1155111551+ apiVersion:
1155211552+ description: API version of the referent
1155311553+ type: string
1155411554+ kind:
1155511555+ description: Kind of the referent
1155611556+ enum:
1155711557+ - Bucket
1155811558+ - GitRepository
1155911559+ - Kustomization
1156011560+ - HelmRelease
1156111561+ - HelmChart
1156211562+ - HelmRepository
1156311563+ - ImageRepository
1156411564+ - ImagePolicy
1156511565+ - ImageUpdateAutomation
1156611566+ - OCIRepository
1156711567+ type: string
1156811568+ matchLabels:
1156911569+ additionalProperties:
1157011570+ type: string
1157111571+ description: |-
1157211572+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1157311573+ map is equivalent to an element of matchExpressions, whose key field is "key", the
1157411574+ operator is "In", and the values array contains only "value". The requirements are ANDed.
1157511575+ MatchLabels requires the name to be set to `*`.
1157611576+ type: object
1157711577+ name:
1157811578+ description: |-
1157911579+ Name of the referent
1158011580+ If multiple resources are targeted `*` may be set.
1158111581+ maxLength: 253
1158211582+ minLength: 1
1158311583+ type: string
1158411584+ namespace:
1158511585+ description: Namespace of the referent
1158611586+ maxLength: 253
1158711587+ minLength: 1
1158811588+ type: string
1158911589+ required:
1159011590+ - kind
1159111591+ - name
1159211592+ type: object
1159311593+ type: array
1159411594+ exclusionList:
1159511595+ description: |-
1159611596+ ExclusionList specifies a list of Golang regular expressions
1159711597+ to be used for excluding messages.
1159811598+ items:
1159911599+ type: string
1160011600+ type: array
1160111601+ inclusionList:
1160211602+ description: |-
1160311603+ InclusionList specifies a list of Golang regular expressions
1160411604+ to be used for including messages.
1160511605+ items:
1160611606+ type: string
1160711607+ type: array
1160811608+ providerRef:
1160911609+ description: ProviderRef specifies which Provider this Alert should
1161011610+ use.
1161111611+ properties:
1161211612+ name:
1161311613+ description: Name of the referent.
1161411614+ type: string
1161511615+ required:
1161611616+ - name
1161711617+ type: object
1161811618+ summary:
1161911619+ description: |-
1162011620+ Summary holds a short description of the impact and affected cluster.
1162111621+ Deprecated: Use EventMetadata instead.
1162211622+ maxLength: 255
1162311623+ type: string
1162411624+ suspend:
1162511625+ description: |-
1162611626+ Suspend tells the controller to suspend subsequent
1162711627+ events handling for this Alert.
1162811628+ type: boolean
1162911629+ required:
1163011630+ - eventSources
1163111631+ - providerRef
1163211632+ type: object
1163311633+ type: object
1163411634+ served: true
1163511635+ storage: true
1163611636+ subresources: {}
1163711637+---
1163811638+apiVersion: apiextensions.k8s.io/v1
1163911639+kind: CustomResourceDefinition
1164011640+metadata:
1164111641+ annotations:
1164211642+ controller-gen.kubebuilder.io/version: v0.16.1
1164311643+ labels:
1164411644+ app.kubernetes.io/component: notification-controller
1164511645+ app.kubernetes.io/instance: flux-system
1164611646+ app.kubernetes.io/part-of: flux
1164711647+ app.kubernetes.io/version: v2.6.4
1164811648+ name: providers.notification.toolkit.fluxcd.io
1164911649+spec:
1165011650+ group: notification.toolkit.fluxcd.io
1165111651+ names:
1165211652+ kind: Provider
1165311653+ listKind: ProviderList
1165411654+ plural: providers
1165511655+ singular: provider
1165611656+ scope: Namespaced
1165711657+ versions:
1165811658+ - additionalPrinterColumns:
1165911659+ - jsonPath: .metadata.creationTimestamp
1166011660+ name: Age
1166111661+ type: date
1166211662+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1166311663+ name: Ready
1166411664+ type: string
1166511665+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1166611666+ name: Status
1166711667+ type: string
1166811668+ deprecated: true
1166911669+ deprecationWarning: v1beta1 Provider is deprecated, upgrade to v1beta3
1167011670+ name: v1beta1
1167111671+ schema:
1167211672+ openAPIV3Schema:
1167311673+ description: Provider is the Schema for the providers API
1167411674+ properties:
1167511675+ apiVersion:
1167611676+ description: |-
1167711677+ APIVersion defines the versioned schema of this representation of an object.
1167811678+ Servers should convert recognized schemas to the latest internal value, and
1167911679+ may reject unrecognized values.
1168011680+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1168111681+ type: string
1168211682+ kind:
1168311683+ description: |-
1168411684+ Kind is a string value representing the REST resource this object represents.
1168511685+ Servers may infer this from the endpoint the client submits requests to.
1168611686+ Cannot be updated.
1168711687+ In CamelCase.
1168811688+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1168911689+ type: string
1169011690+ metadata:
1169111691+ type: object
1169211692+ spec:
1169311693+ description: ProviderSpec defines the desired state of Provider
1169411694+ properties:
1169511695+ address:
1169611696+ description: HTTP/S webhook address of this provider
1169711697+ pattern: ^(http|https)://
1169811698+ type: string
1169911699+ certSecretRef:
1170011700+ description: |-
1170111701+ CertSecretRef can be given the name of a secret containing
1170211702+ a PEM-encoded CA certificate (`caFile`)
1170311703+ properties:
1170411704+ name:
1170511705+ description: Name of the referent.
1170611706+ type: string
1170711707+ required:
1170811708+ - name
1170911709+ type: object
1171011710+ channel:
1171111711+ description: Alert channel for this provider
1171211712+ type: string
1171311713+ proxy:
1171411714+ description: HTTP/S address of the proxy
1171511715+ pattern: ^(http|https)://
1171611716+ type: string
1171711717+ secretRef:
1171811718+ description: |-
1171911719+ Secret reference containing the provider webhook URL
1172011720+ using "address" as data key
1172111721+ properties:
1172211722+ name:
1172311723+ description: Name of the referent.
1172411724+ type: string
1172511725+ required:
1172611726+ - name
1172711727+ type: object
1172811728+ suspend:
1172911729+ description: |-
1173011730+ This flag tells the controller to suspend subsequent events handling.
1173111731+ Defaults to false.
1173211732+ type: boolean
1173311733+ timeout:
1173411734+ description: Timeout for sending alerts to the provider.
1173511735+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
1173611736+ type: string
1173711737+ type:
1173811738+ description: Type of provider
1173911739+ enum:
1174011740+ - slack
1174111741+ - discord
1174211742+ - msteams
1174311743+ - rocket
1174411744+ - generic
1174511745+ - generic-hmac
1174611746+ - github
1174711747+ - gitlab
1174811748+ - bitbucket
1174911749+ - azuredevops
1175011750+ - googlechat
1175111751+ - webex
1175211752+ - sentry
1175311753+ - azureeventhub
1175411754+ - telegram
1175511755+ - lark
1175611756+ - matrix
1175711757+ - opsgenie
1175811758+ - alertmanager
1175911759+ - grafana
1176011760+ - githubdispatch
1176111761+ type: string
1176211762+ username:
1176311763+ description: Bot username for this provider
1176411764+ type: string
1176511765+ required:
1176611766+ - type
1176711767+ type: object
1176811768+ status:
1176911769+ default:
1177011770+ observedGeneration: -1
1177111771+ description: ProviderStatus defines the observed state of Provider
1177211772+ properties:
1177311773+ conditions:
1177411774+ items:
1177511775+ description: Condition contains details for one aspect of the current
1177611776+ state of this API Resource.
1177711777+ properties:
1177811778+ lastTransitionTime:
1177911779+ description: |-
1178011780+ lastTransitionTime is the last time the condition transitioned from one status to another.
1178111781+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1178211782+ format: date-time
1178311783+ type: string
1178411784+ message:
1178511785+ description: |-
1178611786+ message is a human readable message indicating details about the transition.
1178711787+ This may be an empty string.
1178811788+ maxLength: 32768
1178911789+ type: string
1179011790+ observedGeneration:
1179111791+ description: |-
1179211792+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1179311793+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1179411794+ with respect to the current state of the instance.
1179511795+ format: int64
1179611796+ minimum: 0
1179711797+ type: integer
1179811798+ reason:
1179911799+ description: |-
1180011800+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1180111801+ Producers of specific condition types may define expected values and meanings for this field,
1180211802+ and whether the values are considered a guaranteed API.
1180311803+ The value should be a CamelCase string.
1180411804+ This field may not be empty.
1180511805+ maxLength: 1024
1180611806+ minLength: 1
1180711807+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1180811808+ type: string
1180911809+ status:
1181011810+ description: status of the condition, one of True, False, Unknown.
1181111811+ enum:
1181211812+ - "True"
1181311813+ - "False"
1181411814+ - Unknown
1181511815+ type: string
1181611816+ type:
1181711817+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1181811818+ maxLength: 316
1181911819+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1182011820+ type: string
1182111821+ required:
1182211822+ - lastTransitionTime
1182311823+ - message
1182411824+ - reason
1182511825+ - status
1182611826+ - type
1182711827+ type: object
1182811828+ type: array
1182911829+ observedGeneration:
1183011830+ description: ObservedGeneration is the last reconciled generation.
1183111831+ format: int64
1183211832+ type: integer
1183311833+ type: object
1183411834+ type: object
1183511835+ served: true
1183611836+ storage: false
1183711837+ subresources:
1183811838+ status: {}
1183911839+ - additionalPrinterColumns:
1184011840+ - jsonPath: .metadata.creationTimestamp
1184111841+ name: Age
1184211842+ type: date
1184311843+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1184411844+ name: Ready
1184511845+ type: string
1184611846+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1184711847+ name: Status
1184811848+ type: string
1184911849+ deprecated: true
1185011850+ deprecationWarning: v1beta2 Provider is deprecated, upgrade to v1beta3
1185111851+ name: v1beta2
1185211852+ schema:
1185311853+ openAPIV3Schema:
1185411854+ description: Provider is the Schema for the providers API.
1185511855+ properties:
1185611856+ apiVersion:
1185711857+ description: |-
1185811858+ APIVersion defines the versioned schema of this representation of an object.
1185911859+ Servers should convert recognized schemas to the latest internal value, and
1186011860+ may reject unrecognized values.
1186111861+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1186211862+ type: string
1186311863+ kind:
1186411864+ description: |-
1186511865+ Kind is a string value representing the REST resource this object represents.
1186611866+ Servers may infer this from the endpoint the client submits requests to.
1186711867+ Cannot be updated.
1186811868+ In CamelCase.
1186911869+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1187011870+ type: string
1187111871+ metadata:
1187211872+ type: object
1187311873+ spec:
1187411874+ description: ProviderSpec defines the desired state of the Provider.
1187511875+ properties:
1187611876+ address:
1187711877+ description: |-
1187811878+ Address specifies the endpoint, in a generic sense, to where alerts are sent.
1187911879+ What kind of endpoint depends on the specific Provider type being used.
1188011880+ For the generic Provider, for example, this is an HTTP/S address.
1188111881+ For other Provider types this could be a project ID or a namespace.
1188211882+ maxLength: 2048
1188311883+ type: string
1188411884+ certSecretRef:
1188511885+ description: |-
1188611886+ CertSecretRef specifies the Secret containing
1188711887+ a PEM-encoded CA certificate (in the `ca.crt` key).
1188811888+1188911889+ Note: Support for the `caFile` key has
1189011890+ been deprecated.
1189111891+ properties:
1189211892+ name:
1189311893+ description: Name of the referent.
1189411894+ type: string
1189511895+ required:
1189611896+ - name
1189711897+ type: object
1189811898+ channel:
1189911899+ description: Channel specifies the destination channel where events
1190011900+ should be posted.
1190111901+ maxLength: 2048
1190211902+ type: string
1190311903+ interval:
1190411904+ description: Interval at which to reconcile the Provider with its
1190511905+ Secret references.
1190611906+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1190711907+ type: string
1190811908+ proxy:
1190911909+ description: Proxy the HTTP/S address of the proxy server.
1191011910+ maxLength: 2048
1191111911+ pattern: ^(http|https)://.*$
1191211912+ type: string
1191311913+ secretRef:
1191411914+ description: |-
1191511915+ SecretRef specifies the Secret containing the authentication
1191611916+ credentials for this Provider.
1191711917+ properties:
1191811918+ name:
1191911919+ description: Name of the referent.
1192011920+ type: string
1192111921+ required:
1192211922+ - name
1192311923+ type: object
1192411924+ suspend:
1192511925+ description: |-
1192611926+ Suspend tells the controller to suspend subsequent
1192711927+ events handling for this Provider.
1192811928+ type: boolean
1192911929+ timeout:
1193011930+ description: Timeout for sending alerts to the Provider.
1193111931+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
1193211932+ type: string
1193311933+ type:
1193411934+ description: Type specifies which Provider implementation to use.
1193511935+ enum:
1193611936+ - slack
1193711937+ - discord
1193811938+ - msteams
1193911939+ - rocket
1194011940+ - generic
1194111941+ - generic-hmac
1194211942+ - github
1194311943+ - gitlab
1194411944+ - gitea
1194511945+ - bitbucketserver
1194611946+ - bitbucket
1194711947+ - azuredevops
1194811948+ - googlechat
1194911949+ - googlepubsub
1195011950+ - webex
1195111951+ - sentry
1195211952+ - azureeventhub
1195311953+ - telegram
1195411954+ - lark
1195511955+ - matrix
1195611956+ - opsgenie
1195711957+ - alertmanager
1195811958+ - grafana
1195911959+ - githubdispatch
1196011960+ - pagerduty
1196111961+ - datadog
1196211962+ type: string
1196311963+ username:
1196411964+ description: Username specifies the name under which events are posted.
1196511965+ maxLength: 2048
1196611966+ type: string
1196711967+ required:
1196811968+ - type
1196911969+ type: object
1197011970+ status:
1197111971+ default:
1197211972+ observedGeneration: -1
1197311973+ description: ProviderStatus defines the observed state of the Provider.
1197411974+ properties:
1197511975+ conditions:
1197611976+ description: Conditions holds the conditions for the Provider.
1197711977+ items:
1197811978+ description: Condition contains details for one aspect of the current
1197911979+ state of this API Resource.
1198011980+ properties:
1198111981+ lastTransitionTime:
1198211982+ description: |-
1198311983+ lastTransitionTime is the last time the condition transitioned from one status to another.
1198411984+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1198511985+ format: date-time
1198611986+ type: string
1198711987+ message:
1198811988+ description: |-
1198911989+ message is a human readable message indicating details about the transition.
1199011990+ This may be an empty string.
1199111991+ maxLength: 32768
1199211992+ type: string
1199311993+ observedGeneration:
1199411994+ description: |-
1199511995+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1199611996+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1199711997+ with respect to the current state of the instance.
1199811998+ format: int64
1199911999+ minimum: 0
1200012000+ type: integer
1200112001+ reason:
1200212002+ description: |-
1200312003+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1200412004+ Producers of specific condition types may define expected values and meanings for this field,
1200512005+ and whether the values are considered a guaranteed API.
1200612006+ The value should be a CamelCase string.
1200712007+ This field may not be empty.
1200812008+ maxLength: 1024
1200912009+ minLength: 1
1201012010+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1201112011+ type: string
1201212012+ status:
1201312013+ description: status of the condition, one of True, False, Unknown.
1201412014+ enum:
1201512015+ - "True"
1201612016+ - "False"
1201712017+ - Unknown
1201812018+ type: string
1201912019+ type:
1202012020+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1202112021+ maxLength: 316
1202212022+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1202312023+ type: string
1202412024+ required:
1202512025+ - lastTransitionTime
1202612026+ - message
1202712027+ - reason
1202812028+ - status
1202912029+ - type
1203012030+ type: object
1203112031+ type: array
1203212032+ lastHandledReconcileAt:
1203312033+ description: |-
1203412034+ LastHandledReconcileAt holds the value of the most recent
1203512035+ reconcile request value, so a change of the annotation value
1203612036+ can be detected.
1203712037+ type: string
1203812038+ observedGeneration:
1203912039+ description: ObservedGeneration is the last reconciled generation.
1204012040+ format: int64
1204112041+ type: integer
1204212042+ type: object
1204312043+ type: object
1204412044+ served: true
1204512045+ storage: false
1204612046+ subresources:
1204712047+ status: {}
1204812048+ - additionalPrinterColumns:
1204912049+ - jsonPath: .metadata.creationTimestamp
1205012050+ name: Age
1205112051+ type: date
1205212052+ name: v1beta3
1205312053+ schema:
1205412054+ openAPIV3Schema:
1205512055+ description: Provider is the Schema for the providers API
1205612056+ properties:
1205712057+ apiVersion:
1205812058+ description: |-
1205912059+ APIVersion defines the versioned schema of this representation of an object.
1206012060+ Servers should convert recognized schemas to the latest internal value, and
1206112061+ may reject unrecognized values.
1206212062+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1206312063+ type: string
1206412064+ kind:
1206512065+ description: |-
1206612066+ Kind is a string value representing the REST resource this object represents.
1206712067+ Servers may infer this from the endpoint the client submits requests to.
1206812068+ Cannot be updated.
1206912069+ In CamelCase.
1207012070+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1207112071+ type: string
1207212072+ metadata:
1207312073+ type: object
1207412074+ spec:
1207512075+ description: ProviderSpec defines the desired state of the Provider.
1207612076+ properties:
1207712077+ address:
1207812078+ description: |-
1207912079+ Address specifies the endpoint, in a generic sense, to where alerts are sent.
1208012080+ What kind of endpoint depends on the specific Provider type being used.
1208112081+ For the generic Provider, for example, this is an HTTP/S address.
1208212082+ For other Provider types this could be a project ID or a namespace.
1208312083+ maxLength: 2048
1208412084+ type: string
1208512085+ certSecretRef:
1208612086+ description: |-
1208712087+ CertSecretRef specifies the Secret containing
1208812088+ a PEM-encoded CA certificate (in the `ca.crt` key).
1208912089+1209012090+ Note: Support for the `caFile` key has
1209112091+ been deprecated.
1209212092+ properties:
1209312093+ name:
1209412094+ description: Name of the referent.
1209512095+ type: string
1209612096+ required:
1209712097+ - name
1209812098+ type: object
1209912099+ channel:
1210012100+ description: Channel specifies the destination channel where events
1210112101+ should be posted.
1210212102+ maxLength: 2048
1210312103+ type: string
1210412104+ commitStatusExpr:
1210512105+ description: |-
1210612106+ CommitStatusExpr is a CEL expression that evaluates to a string value
1210712107+ that can be used to generate a custom commit status message for use
1210812108+ with eligible Provider types (github, gitlab, gitea, bitbucketserver,
1210912109+ bitbucket, azuredevops). Supported variables are: event, provider,
1211012110+ and alert.
1211112111+ type: string
1211212112+ interval:
1211312113+ description: |-
1211412114+ Interval at which to reconcile the Provider with its Secret references.
1211512115+ Deprecated and not used in v1beta3.
1211612116+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1211712117+ type: string
1211812118+ proxy:
1211912119+ description: Proxy the HTTP/S address of the proxy server.
1212012120+ maxLength: 2048
1212112121+ pattern: ^(http|https)://.*$
1212212122+ type: string
1212312123+ secretRef:
1212412124+ description: |-
1212512125+ SecretRef specifies the Secret containing the authentication
1212612126+ credentials for this Provider.
1212712127+ properties:
1212812128+ name:
1212912129+ description: Name of the referent.
1213012130+ type: string
1213112131+ required:
1213212132+ - name
1213312133+ type: object
1213412134+ serviceAccountName:
1213512135+ description: |-
1213612136+ ServiceAccountName is the name of the service account used to
1213712137+ authenticate with services from cloud providers. An error is thrown if a
1213812138+ static credential is also defined inside the Secret referenced by the
1213912139+ SecretRef.
1214012140+ type: string
1214112141+ suspend:
1214212142+ description: |-
1214312143+ Suspend tells the controller to suspend subsequent
1214412144+ events handling for this Provider.
1214512145+ type: boolean
1214612146+ timeout:
1214712147+ description: Timeout for sending alerts to the Provider.
1214812148+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
1214912149+ type: string
1215012150+ type:
1215112151+ description: Type specifies which Provider implementation to use.
1215212152+ enum:
1215312153+ - slack
1215412154+ - discord
1215512155+ - msteams
1215612156+ - rocket
1215712157+ - generic
1215812158+ - generic-hmac
1215912159+ - github
1216012160+ - gitlab
1216112161+ - gitea
1216212162+ - bitbucketserver
1216312163+ - bitbucket
1216412164+ - azuredevops
1216512165+ - googlechat
1216612166+ - googlepubsub
1216712167+ - webex
1216812168+ - sentry
1216912169+ - azureeventhub
1217012170+ - telegram
1217112171+ - lark
1217212172+ - matrix
1217312173+ - opsgenie
1217412174+ - alertmanager
1217512175+ - grafana
1217612176+ - githubdispatch
1217712177+ - pagerduty
1217812178+ - datadog
1217912179+ - nats
1218012180+ type: string
1218112181+ username:
1218212182+ description: Username specifies the name under which events are posted.
1218312183+ maxLength: 2048
1218412184+ type: string
1218512185+ required:
1218612186+ - type
1218712187+ type: object
1218812188+ x-kubernetes-validations:
1218912189+ - message: spec.commitStatusExpr is only supported for the 'github', 'gitlab',
1219012190+ 'gitea', 'bitbucketserver', 'bitbucket', 'azuredevops' provider types
1219112191+ rule: self.type == 'github' || self.type == 'gitlab' || self.type ==
1219212192+ 'gitea' || self.type == 'bitbucketserver' || self.type == 'bitbucket'
1219312193+ || self.type == 'azuredevops' || !has(self.commitStatusExpr)
1219412194+ type: object
1219512195+ served: true
1219612196+ storage: true
1219712197+ subresources: {}
1219812198+---
1219912199+apiVersion: apiextensions.k8s.io/v1
1220012200+kind: CustomResourceDefinition
1220112201+metadata:
1220212202+ annotations:
1220312203+ controller-gen.kubebuilder.io/version: v0.16.1
1220412204+ labels:
1220512205+ app.kubernetes.io/component: notification-controller
1220612206+ app.kubernetes.io/instance: flux-system
1220712207+ app.kubernetes.io/part-of: flux
1220812208+ app.kubernetes.io/version: v2.6.4
1220912209+ name: receivers.notification.toolkit.fluxcd.io
1221012210+spec:
1221112211+ group: notification.toolkit.fluxcd.io
1221212212+ names:
1221312213+ kind: Receiver
1221412214+ listKind: ReceiverList
1221512215+ plural: receivers
1221612216+ singular: receiver
1221712217+ scope: Namespaced
1221812218+ versions:
1221912219+ - additionalPrinterColumns:
1222012220+ - jsonPath: .metadata.creationTimestamp
1222112221+ name: Age
1222212222+ type: date
1222312223+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1222412224+ name: Ready
1222512225+ type: string
1222612226+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1222712227+ name: Status
1222812228+ type: string
1222912229+ name: v1
1223012230+ schema:
1223112231+ openAPIV3Schema:
1223212232+ description: Receiver is the Schema for the receivers API.
1223312233+ properties:
1223412234+ apiVersion:
1223512235+ description: |-
1223612236+ APIVersion defines the versioned schema of this representation of an object.
1223712237+ Servers should convert recognized schemas to the latest internal value, and
1223812238+ may reject unrecognized values.
1223912239+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1224012240+ type: string
1224112241+ kind:
1224212242+ description: |-
1224312243+ Kind is a string value representing the REST resource this object represents.
1224412244+ Servers may infer this from the endpoint the client submits requests to.
1224512245+ Cannot be updated.
1224612246+ In CamelCase.
1224712247+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1224812248+ type: string
1224912249+ metadata:
1225012250+ type: object
1225112251+ spec:
1225212252+ description: ReceiverSpec defines the desired state of the Receiver.
1225312253+ properties:
1225412254+ events:
1225512255+ description: |-
1225612256+ Events specifies the list of event types to handle,
1225712257+ e.g. 'push' for GitHub or 'Push Hook' for GitLab.
1225812258+ items:
1225912259+ type: string
1226012260+ type: array
1226112261+ interval:
1226212262+ default: 10m
1226312263+ description: Interval at which to reconcile the Receiver with its
1226412264+ Secret references.
1226512265+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1226612266+ type: string
1226712267+ resourceFilter:
1226812268+ description: |-
1226912269+ ResourceFilter is a CEL expression expected to return a boolean that is
1227012270+ evaluated for each resource referenced in the Resources field when a
1227112271+ webhook is received. If the expression returns false then the controller
1227212272+ will not request a reconciliation for the resource.
1227312273+ When the expression is specified the controller will parse it and mark
1227412274+ the object as terminally failed if the expression is invalid or does not
1227512275+ return a boolean.
1227612276+ type: string
1227712277+ resources:
1227812278+ description: A list of resources to be notified about changes.
1227912279+ items:
1228012280+ description: |-
1228112281+ CrossNamespaceObjectReference contains enough information to let you locate the
1228212282+ typed referenced object at cluster level
1228312283+ properties:
1228412284+ apiVersion:
1228512285+ description: API version of the referent
1228612286+ type: string
1228712287+ kind:
1228812288+ description: Kind of the referent
1228912289+ enum:
1229012290+ - Bucket
1229112291+ - GitRepository
1229212292+ - Kustomization
1229312293+ - HelmRelease
1229412294+ - HelmChart
1229512295+ - HelmRepository
1229612296+ - ImageRepository
1229712297+ - ImagePolicy
1229812298+ - ImageUpdateAutomation
1229912299+ - OCIRepository
1230012300+ type: string
1230112301+ matchLabels:
1230212302+ additionalProperties:
1230312303+ type: string
1230412304+ description: |-
1230512305+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1230612306+ map is equivalent to an element of matchExpressions, whose key field is "key", the
1230712307+ operator is "In", and the values array contains only "value". The requirements are ANDed.
1230812308+ MatchLabels requires the name to be set to `*`.
1230912309+ type: object
1231012310+ name:
1231112311+ description: |-
1231212312+ Name of the referent
1231312313+ If multiple resources are targeted `*` may be set.
1231412314+ maxLength: 253
1231512315+ minLength: 1
1231612316+ type: string
1231712317+ namespace:
1231812318+ description: Namespace of the referent
1231912319+ maxLength: 253
1232012320+ minLength: 1
1232112321+ type: string
1232212322+ required:
1232312323+ - kind
1232412324+ - name
1232512325+ type: object
1232612326+ type: array
1232712327+ secretRef:
1232812328+ description: |-
1232912329+ SecretRef specifies the Secret containing the token used
1233012330+ to validate the payload authenticity.
1233112331+ properties:
1233212332+ name:
1233312333+ description: Name of the referent.
1233412334+ type: string
1233512335+ required:
1233612336+ - name
1233712337+ type: object
1233812338+ suspend:
1233912339+ description: |-
1234012340+ Suspend tells the controller to suspend subsequent
1234112341+ events handling for this receiver.
1234212342+ type: boolean
1234312343+ type:
1234412344+ description: |-
1234512345+ Type of webhook sender, used to determine
1234612346+ the validation procedure and payload deserialization.
1234712347+ enum:
1234812348+ - generic
1234912349+ - generic-hmac
1235012350+ - github
1235112351+ - gitlab
1235212352+ - bitbucket
1235312353+ - harbor
1235412354+ - dockerhub
1235512355+ - quay
1235612356+ - gcr
1235712357+ - nexus
1235812358+ - acr
1235912359+ - cdevents
1236012360+ type: string
1236112361+ required:
1236212362+ - resources
1236312363+ - secretRef
1236412364+ - type
1236512365+ type: object
1236612366+ status:
1236712367+ default:
1236812368+ observedGeneration: -1
1236912369+ description: ReceiverStatus defines the observed state of the Receiver.
1237012370+ properties:
1237112371+ conditions:
1237212372+ description: Conditions holds the conditions for the Receiver.
1237312373+ items:
1237412374+ description: Condition contains details for one aspect of the current
1237512375+ state of this API Resource.
1237612376+ properties:
1237712377+ lastTransitionTime:
1237812378+ description: |-
1237912379+ lastTransitionTime is the last time the condition transitioned from one status to another.
1238012380+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1238112381+ format: date-time
1238212382+ type: string
1238312383+ message:
1238412384+ description: |-
1238512385+ message is a human readable message indicating details about the transition.
1238612386+ This may be an empty string.
1238712387+ maxLength: 32768
1238812388+ type: string
1238912389+ observedGeneration:
1239012390+ description: |-
1239112391+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1239212392+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1239312393+ with respect to the current state of the instance.
1239412394+ format: int64
1239512395+ minimum: 0
1239612396+ type: integer
1239712397+ reason:
1239812398+ description: |-
1239912399+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1240012400+ Producers of specific condition types may define expected values and meanings for this field,
1240112401+ and whether the values are considered a guaranteed API.
1240212402+ The value should be a CamelCase string.
1240312403+ This field may not be empty.
1240412404+ maxLength: 1024
1240512405+ minLength: 1
1240612406+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1240712407+ type: string
1240812408+ status:
1240912409+ description: status of the condition, one of True, False, Unknown.
1241012410+ enum:
1241112411+ - "True"
1241212412+ - "False"
1241312413+ - Unknown
1241412414+ type: string
1241512415+ type:
1241612416+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1241712417+ maxLength: 316
1241812418+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1241912419+ type: string
1242012420+ required:
1242112421+ - lastTransitionTime
1242212422+ - message
1242312423+ - reason
1242412424+ - status
1242512425+ - type
1242612426+ type: object
1242712427+ type: array
1242812428+ lastHandledReconcileAt:
1242912429+ description: |-
1243012430+ LastHandledReconcileAt holds the value of the most recent
1243112431+ reconcile request value, so a change of the annotation value
1243212432+ can be detected.
1243312433+ type: string
1243412434+ observedGeneration:
1243512435+ description: ObservedGeneration is the last observed generation of
1243612436+ the Receiver object.
1243712437+ format: int64
1243812438+ type: integer
1243912439+ webhookPath:
1244012440+ description: |-
1244112441+ WebhookPath is the generated incoming webhook address in the format
1244212442+ of '/hook/sha256sum(token+name+namespace)'.
1244312443+ type: string
1244412444+ type: object
1244512445+ type: object
1244612446+ served: true
1244712447+ storage: true
1244812448+ subresources:
1244912449+ status: {}
1245012450+ - additionalPrinterColumns:
1245112451+ - jsonPath: .metadata.creationTimestamp
1245212452+ name: Age
1245312453+ type: date
1245412454+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1245512455+ name: Ready
1245612456+ type: string
1245712457+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1245812458+ name: Status
1245912459+ type: string
1246012460+ deprecated: true
1246112461+ deprecationWarning: v1beta1 Receiver is deprecated, upgrade to v1
1246212462+ name: v1beta1
1246312463+ schema:
1246412464+ openAPIV3Schema:
1246512465+ description: Receiver is the Schema for the receivers API
1246612466+ properties:
1246712467+ apiVersion:
1246812468+ description: |-
1246912469+ APIVersion defines the versioned schema of this representation of an object.
1247012470+ Servers should convert recognized schemas to the latest internal value, and
1247112471+ may reject unrecognized values.
1247212472+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1247312473+ type: string
1247412474+ kind:
1247512475+ description: |-
1247612476+ Kind is a string value representing the REST resource this object represents.
1247712477+ Servers may infer this from the endpoint the client submits requests to.
1247812478+ Cannot be updated.
1247912479+ In CamelCase.
1248012480+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1248112481+ type: string
1248212482+ metadata:
1248312483+ type: object
1248412484+ spec:
1248512485+ description: ReceiverSpec defines the desired state of Receiver
1248612486+ properties:
1248712487+ events:
1248812488+ description: |-
1248912489+ A list of events to handle,
1249012490+ e.g. 'push' for GitHub or 'Push Hook' for GitLab.
1249112491+ items:
1249212492+ type: string
1249312493+ type: array
1249412494+ resources:
1249512495+ description: A list of resources to be notified about changes.
1249612496+ items:
1249712497+ description: |-
1249812498+ CrossNamespaceObjectReference contains enough information to let you locate the
1249912499+ typed referenced object at cluster level
1250012500+ properties:
1250112501+ apiVersion:
1250212502+ description: API version of the referent
1250312503+ type: string
1250412504+ kind:
1250512505+ description: Kind of the referent
1250612506+ enum:
1250712507+ - Bucket
1250812508+ - GitRepository
1250912509+ - Kustomization
1251012510+ - HelmRelease
1251112511+ - HelmChart
1251212512+ - HelmRepository
1251312513+ - ImageRepository
1251412514+ - ImagePolicy
1251512515+ - ImageUpdateAutomation
1251612516+ - OCIRepository
1251712517+ type: string
1251812518+ matchLabels:
1251912519+ additionalProperties:
1252012520+ type: string
1252112521+ description: |-
1252212522+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1252312523+ map is equivalent to an element of matchExpressions, whose key field is "key", the
1252412524+ operator is "In", and the values array contains only "value". The requirements are ANDed.
1252512525+ type: object
1252612526+ name:
1252712527+ description: Name of the referent
1252812528+ maxLength: 53
1252912529+ minLength: 1
1253012530+ type: string
1253112531+ namespace:
1253212532+ description: Namespace of the referent
1253312533+ maxLength: 53
1253412534+ minLength: 1
1253512535+ type: string
1253612536+ required:
1253712537+ - kind
1253812538+ - name
1253912539+ type: object
1254012540+ type: array
1254112541+ secretRef:
1254212542+ description: |-
1254312543+ Secret reference containing the token used
1254412544+ to validate the payload authenticity
1254512545+ properties:
1254612546+ name:
1254712547+ description: Name of the referent.
1254812548+ type: string
1254912549+ required:
1255012550+ - name
1255112551+ type: object
1255212552+ suspend:
1255312553+ description: |-
1255412554+ This flag tells the controller to suspend subsequent events handling.
1255512555+ Defaults to false.
1255612556+ type: boolean
1255712557+ type:
1255812558+ description: |-
1255912559+ Type of webhook sender, used to determine
1256012560+ the validation procedure and payload deserialization.
1256112561+ enum:
1256212562+ - generic
1256312563+ - generic-hmac
1256412564+ - github
1256512565+ - gitlab
1256612566+ - bitbucket
1256712567+ - harbor
1256812568+ - dockerhub
1256912569+ - quay
1257012570+ - gcr
1257112571+ - nexus
1257212572+ - acr
1257312573+ type: string
1257412574+ required:
1257512575+ - resources
1257612576+ - secretRef
1257712577+ - type
1257812578+ type: object
1257912579+ status:
1258012580+ default:
1258112581+ observedGeneration: -1
1258212582+ description: ReceiverStatus defines the observed state of Receiver
1258312583+ properties:
1258412584+ conditions:
1258512585+ items:
1258612586+ description: Condition contains details for one aspect of the current
1258712587+ state of this API Resource.
1258812588+ properties:
1258912589+ lastTransitionTime:
1259012590+ description: |-
1259112591+ lastTransitionTime is the last time the condition transitioned from one status to another.
1259212592+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1259312593+ format: date-time
1259412594+ type: string
1259512595+ message:
1259612596+ description: |-
1259712597+ message is a human readable message indicating details about the transition.
1259812598+ This may be an empty string.
1259912599+ maxLength: 32768
1260012600+ type: string
1260112601+ observedGeneration:
1260212602+ description: |-
1260312603+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1260412604+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1260512605+ with respect to the current state of the instance.
1260612606+ format: int64
1260712607+ minimum: 0
1260812608+ type: integer
1260912609+ reason:
1261012610+ description: |-
1261112611+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1261212612+ Producers of specific condition types may define expected values and meanings for this field,
1261312613+ and whether the values are considered a guaranteed API.
1261412614+ The value should be a CamelCase string.
1261512615+ This field may not be empty.
1261612616+ maxLength: 1024
1261712617+ minLength: 1
1261812618+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1261912619+ type: string
1262012620+ status:
1262112621+ description: status of the condition, one of True, False, Unknown.
1262212622+ enum:
1262312623+ - "True"
1262412624+ - "False"
1262512625+ - Unknown
1262612626+ type: string
1262712627+ type:
1262812628+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1262912629+ maxLength: 316
1263012630+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1263112631+ type: string
1263212632+ required:
1263312633+ - lastTransitionTime
1263412634+ - message
1263512635+ - reason
1263612636+ - status
1263712637+ - type
1263812638+ type: object
1263912639+ type: array
1264012640+ observedGeneration:
1264112641+ description: ObservedGeneration is the last observed generation.
1264212642+ format: int64
1264312643+ type: integer
1264412644+ url:
1264512645+ description: |-
1264612646+ Generated webhook URL in the format
1264712647+ of '/hook/sha256sum(token+name+namespace)'.
1264812648+ type: string
1264912649+ type: object
1265012650+ type: object
1265112651+ served: true
1265212652+ storage: false
1265312653+ subresources:
1265412654+ status: {}
1265512655+ - additionalPrinterColumns:
1265612656+ - jsonPath: .metadata.creationTimestamp
1265712657+ name: Age
1265812658+ type: date
1265912659+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
1266012660+ name: Ready
1266112661+ type: string
1266212662+ - jsonPath: .status.conditions[?(@.type=="Ready")].message
1266312663+ name: Status
1266412664+ type: string
1266512665+ deprecated: true
1266612666+ deprecationWarning: v1beta2 Receiver is deprecated, upgrade to v1
1266712667+ name: v1beta2
1266812668+ schema:
1266912669+ openAPIV3Schema:
1267012670+ description: Receiver is the Schema for the receivers API.
1267112671+ properties:
1267212672+ apiVersion:
1267312673+ description: |-
1267412674+ APIVersion defines the versioned schema of this representation of an object.
1267512675+ Servers should convert recognized schemas to the latest internal value, and
1267612676+ may reject unrecognized values.
1267712677+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1267812678+ type: string
1267912679+ kind:
1268012680+ description: |-
1268112681+ Kind is a string value representing the REST resource this object represents.
1268212682+ Servers may infer this from the endpoint the client submits requests to.
1268312683+ Cannot be updated.
1268412684+ In CamelCase.
1268512685+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1268612686+ type: string
1268712687+ metadata:
1268812688+ type: object
1268912689+ spec:
1269012690+ description: ReceiverSpec defines the desired state of the Receiver.
1269112691+ properties:
1269212692+ events:
1269312693+ description: |-
1269412694+ Events specifies the list of event types to handle,
1269512695+ e.g. 'push' for GitHub or 'Push Hook' for GitLab.
1269612696+ items:
1269712697+ type: string
1269812698+ type: array
1269912699+ interval:
1270012700+ description: Interval at which to reconcile the Receiver with its
1270112701+ Secret references.
1270212702+ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
1270312703+ type: string
1270412704+ resources:
1270512705+ description: A list of resources to be notified about changes.
1270612706+ items:
1270712707+ description: |-
1270812708+ CrossNamespaceObjectReference contains enough information to let you locate the
1270912709+ typed referenced object at cluster level
1271012710+ properties:
1271112711+ apiVersion:
1271212712+ description: API version of the referent
1271312713+ type: string
1271412714+ kind:
1271512715+ description: Kind of the referent
1271612716+ enum:
1271712717+ - Bucket
1271812718+ - GitRepository
1271912719+ - Kustomization
1272012720+ - HelmRelease
1272112721+ - HelmChart
1272212722+ - HelmRepository
1272312723+ - ImageRepository
1272412724+ - ImagePolicy
1272512725+ - ImageUpdateAutomation
1272612726+ - OCIRepository
1272712727+ type: string
1272812728+ matchLabels:
1272912729+ additionalProperties:
1273012730+ type: string
1273112731+ description: |-
1273212732+ MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
1273312733+ map is equivalent to an element of matchExpressions, whose key field is "key", the
1273412734+ operator is "In", and the values array contains only "value". The requirements are ANDed.
1273512735+ MatchLabels requires the name to be set to `*`.
1273612736+ type: object
1273712737+ name:
1273812738+ description: |-
1273912739+ Name of the referent
1274012740+ If multiple resources are targeted `*` may be set.
1274112741+ maxLength: 253
1274212742+ minLength: 1
1274312743+ type: string
1274412744+ namespace:
1274512745+ description: Namespace of the referent
1274612746+ maxLength: 253
1274712747+ minLength: 1
1274812748+ type: string
1274912749+ required:
1275012750+ - kind
1275112751+ - name
1275212752+ type: object
1275312753+ type: array
1275412754+ secretRef:
1275512755+ description: |-
1275612756+ SecretRef specifies the Secret containing the token used
1275712757+ to validate the payload authenticity.
1275812758+ properties:
1275912759+ name:
1276012760+ description: Name of the referent.
1276112761+ type: string
1276212762+ required:
1276312763+ - name
1276412764+ type: object
1276512765+ suspend:
1276612766+ description: |-
1276712767+ Suspend tells the controller to suspend subsequent
1276812768+ events handling for this receiver.
1276912769+ type: boolean
1277012770+ type:
1277112771+ description: |-
1277212772+ Type of webhook sender, used to determine
1277312773+ the validation procedure and payload deserialization.
1277412774+ enum:
1277512775+ - generic
1277612776+ - generic-hmac
1277712777+ - github
1277812778+ - gitlab
1277912779+ - bitbucket
1278012780+ - harbor
1278112781+ - dockerhub
1278212782+ - quay
1278312783+ - gcr
1278412784+ - nexus
1278512785+ - acr
1278612786+ type: string
1278712787+ required:
1278812788+ - resources
1278912789+ - secretRef
1279012790+ - type
1279112791+ type: object
1279212792+ status:
1279312793+ default:
1279412794+ observedGeneration: -1
1279512795+ description: ReceiverStatus defines the observed state of the Receiver.
1279612796+ properties:
1279712797+ conditions:
1279812798+ description: Conditions holds the conditions for the Receiver.
1279912799+ items:
1280012800+ description: Condition contains details for one aspect of the current
1280112801+ state of this API Resource.
1280212802+ properties:
1280312803+ lastTransitionTime:
1280412804+ description: |-
1280512805+ lastTransitionTime is the last time the condition transitioned from one status to another.
1280612806+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
1280712807+ format: date-time
1280812808+ type: string
1280912809+ message:
1281012810+ description: |-
1281112811+ message is a human readable message indicating details about the transition.
1281212812+ This may be an empty string.
1281312813+ maxLength: 32768
1281412814+ type: string
1281512815+ observedGeneration:
1281612816+ description: |-
1281712817+ observedGeneration represents the .metadata.generation that the condition was set based upon.
1281812818+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
1281912819+ with respect to the current state of the instance.
1282012820+ format: int64
1282112821+ minimum: 0
1282212822+ type: integer
1282312823+ reason:
1282412824+ description: |-
1282512825+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
1282612826+ Producers of specific condition types may define expected values and meanings for this field,
1282712827+ and whether the values are considered a guaranteed API.
1282812828+ The value should be a CamelCase string.
1282912829+ This field may not be empty.
1283012830+ maxLength: 1024
1283112831+ minLength: 1
1283212832+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1283312833+ type: string
1283412834+ status:
1283512835+ description: status of the condition, one of True, False, Unknown.
1283612836+ enum:
1283712837+ - "True"
1283812838+ - "False"
1283912839+ - Unknown
1284012840+ type: string
1284112841+ type:
1284212842+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
1284312843+ maxLength: 316
1284412844+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
1284512845+ type: string
1284612846+ required:
1284712847+ - lastTransitionTime
1284812848+ - message
1284912849+ - reason
1285012850+ - status
1285112851+ - type
1285212852+ type: object
1285312853+ type: array
1285412854+ lastHandledReconcileAt:
1285512855+ description: |-
1285612856+ LastHandledReconcileAt holds the value of the most recent
1285712857+ reconcile request value, so a change of the annotation value
1285812858+ can be detected.
1285912859+ type: string
1286012860+ observedGeneration:
1286112861+ description: ObservedGeneration is the last observed generation of
1286212862+ the Receiver object.
1286312863+ format: int64
1286412864+ type: integer
1286512865+ url:
1286612866+ description: |-
1286712867+ URL is the generated incoming webhook address in the format
1286812868+ of '/hook/sha256sum(token+name+namespace)'.
1286912869+ Deprecated: Replaced by WebhookPath.
1287012870+ type: string
1287112871+ webhookPath:
1287212872+ description: |-
1287312873+ WebhookPath is the generated incoming webhook address in the format
1287412874+ of '/hook/sha256sum(token+name+namespace)'.
1287512875+ type: string
1287612876+ type: object
1287712877+ type: object
1287812878+ served: true
1287912879+ storage: false
1288012880+ subresources:
1288112881+ status: {}
1288212882+---
1288312883+apiVersion: v1
1288412884+kind: ServiceAccount
1288512885+metadata:
1288612886+ labels:
1288712887+ app.kubernetes.io/component: notification-controller
1288812888+ app.kubernetes.io/instance: flux-system
1288912889+ app.kubernetes.io/part-of: flux
1289012890+ app.kubernetes.io/version: v2.6.4
1289112891+ name: notification-controller
1289212892+ namespace: flux-system
1289312893+---
1289412894+apiVersion: v1
1289512895+kind: Service
1289612896+metadata:
1289712897+ labels:
1289812898+ app.kubernetes.io/component: notification-controller
1289912899+ app.kubernetes.io/instance: flux-system
1290012900+ app.kubernetes.io/part-of: flux
1290112901+ app.kubernetes.io/version: v2.6.4
1290212902+ control-plane: controller
1290312903+ name: notification-controller
1290412904+ namespace: flux-system
1290512905+spec:
1290612906+ ports:
1290712907+ - name: http
1290812908+ port: 80
1290912909+ protocol: TCP
1291012910+ targetPort: http
1291112911+ selector:
1291212912+ app: notification-controller
1291312913+ type: ClusterIP
1291412914+---
1291512915+apiVersion: v1
1291612916+kind: Service
1291712917+metadata:
1291812918+ labels:
1291912919+ app.kubernetes.io/component: notification-controller
1292012920+ app.kubernetes.io/instance: flux-system
1292112921+ app.kubernetes.io/part-of: flux
1292212922+ app.kubernetes.io/version: v2.6.4
1292312923+ control-plane: controller
1292412924+ name: webhook-receiver
1292512925+ namespace: flux-system
1292612926+spec:
1292712927+ ports:
1292812928+ - name: http
1292912929+ port: 80
1293012930+ protocol: TCP
1293112931+ targetPort: http-webhook
1293212932+ selector:
1293312933+ app: notification-controller
1293412934+ type: ClusterIP
1293512935+---
1293612936+apiVersion: apps/v1
1293712937+kind: Deployment
1293812938+metadata:
1293912939+ labels:
1294012940+ app.kubernetes.io/component: notification-controller
1294112941+ app.kubernetes.io/instance: flux-system
1294212942+ app.kubernetes.io/part-of: flux
1294312943+ app.kubernetes.io/version: v2.6.4
1294412944+ control-plane: controller
1294512945+ name: notification-controller
1294612946+ namespace: flux-system
1294712947+spec:
1294812948+ replicas: 1
1294912949+ selector:
1295012950+ matchLabels:
1295112951+ app: notification-controller
1295212952+ template:
1295312953+ metadata:
1295412954+ annotations:
1295512955+ prometheus.io/port: "8080"
1295612956+ prometheus.io/scrape: "true"
1295712957+ labels:
1295812958+ app: notification-controller
1295912959+ spec:
1296012960+ containers:
1296112961+ - args:
1296212962+ - --watch-all-namespaces=true
1296312963+ - --log-level=info
1296412964+ - --log-encoding=json
1296512965+ - --enable-leader-election
1296612966+ env:
1296712967+ - name: RUNTIME_NAMESPACE
1296812968+ valueFrom:
1296912969+ fieldRef:
1297012970+ fieldPath: metadata.namespace
1297112971+ - name: GOMAXPROCS
1297212972+ valueFrom:
1297312973+ resourceFieldRef:
1297412974+ containerName: manager
1297512975+ resource: limits.cpu
1297612976+ - name: GOMEMLIMIT
1297712977+ valueFrom:
1297812978+ resourceFieldRef:
1297912979+ containerName: manager
1298012980+ resource: limits.memory
1298112981+ image: ghcr.io/fluxcd/notification-controller:v1.6.0
1298212982+ imagePullPolicy: IfNotPresent
1298312983+ livenessProbe:
1298412984+ httpGet:
1298512985+ path: /healthz
1298612986+ port: healthz
1298712987+ name: manager
1298812988+ ports:
1298912989+ - containerPort: 9090
1299012990+ name: http
1299112991+ protocol: TCP
1299212992+ - containerPort: 9292
1299312993+ name: http-webhook
1299412994+ protocol: TCP
1299512995+ - containerPort: 8080
1299612996+ name: http-prom
1299712997+ protocol: TCP
1299812998+ - containerPort: 9440
1299912999+ name: healthz
1300013000+ protocol: TCP
1300113001+ readinessProbe:
1300213002+ httpGet:
1300313003+ path: /readyz
1300413004+ port: healthz
1300513005+ resources:
1300613006+ limits:
1300713007+ cpu: 1000m
1300813008+ memory: 1Gi
1300913009+ requests:
1301013010+ cpu: 100m
1301113011+ memory: 64Mi
1301213012+ securityContext:
1301313013+ allowPrivilegeEscalation: false
1301413014+ capabilities:
1301513015+ drop:
1301613016+ - ALL
1301713017+ readOnlyRootFilesystem: true
1301813018+ runAsNonRoot: true
1301913019+ seccompProfile:
1302013020+ type: RuntimeDefault
1302113021+ volumeMounts:
1302213022+ - mountPath: /tmp
1302313023+ name: temp
1302413024+ nodeSelector:
1302513025+ kubernetes.io/os: linux
1302613026+ securityContext:
1302713027+ fsGroup: 1337
1302813028+ serviceAccountName: notification-controller
1302913029+ terminationGracePeriodSeconds: 10
1303013030+ volumes:
1303113031+ - emptyDir: {}
1303213032+ name: temp