1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 controller-gen.kubebuilder.io/version: v0.5.0
6 creationTimestamp: null
7 name: buckets.source.toolkit.fluxcd.io
8spec:
9 group: source.toolkit.fluxcd.io
10 names:
11 kind: Bucket
12 listKind: BucketList
13 plural: buckets
14 singular: bucket
15 scope: Namespaced
16 versions:
17 - additionalPrinterColumns:
18 - jsonPath: .spec.url
19 name: URL
20 type: string
21 - jsonPath: .status.conditions[?(@.type=="Ready")].status
22 name: Ready
23 type: string
24 - jsonPath: .status.conditions[?(@.type=="Ready")].message
25 name: Status
26 type: string
27 - jsonPath: .metadata.creationTimestamp
28 name: Age
29 type: date
30 name: v1beta1
31 schema:
32 openAPIV3Schema:
33 description: Bucket is the Schema for the buckets API
34 properties:
35 apiVersion:
36 description: 'APIVersion defines the versioned schema of this representation
37 of an object. Servers should convert recognized schemas to the latest
38 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
39 type: string
40 kind:
41 description: 'Kind is a string value representing the REST resource this
42 object represents. Servers may infer this from the endpoint the client
43 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
44 type: string
45 metadata:
46 type: object
47 spec:
48 description: BucketSpec defines the desired state of an S3 compatible
49 bucket
50 properties:
51 bucketName:
52 description: The bucket name.
53 type: string
54 endpoint:
55 description: The bucket endpoint address.
56 type: string
57 ignore:
58 description: Ignore overrides the set of excluded patterns in the
59 .sourceignore format (which is the same as .gitignore). If not provided,
60 a default will be used, consult the documentation for your version
61 to find out what those are.
62 type: string
63 insecure:
64 description: Insecure allows connecting to a non-TLS S3 HTTP endpoint.
65 type: boolean
66 interval:
67 description: The interval at which to check for bucket updates.
68 type: string
69 provider:
70 default: generic
71 description: The S3 compatible storage provider name, default ('generic').
72 enum:
73 - generic
74 - aws
75 - gcp
76 type: string
77 region:
78 description: The bucket region.
79 type: string
80 secretRef:
81 description: The name of the secret containing authentication credentials
82 for the Bucket.
83 properties:
84 name:
85 description: Name of the referent
86 type: string
87 required:
88 - name
89 type: object
90 suspend:
91 description: This flag tells the controller to suspend the reconciliation
92 of this source.
93 type: boolean
94 timeout:
95 default: 20s
96 description: The timeout for download operations, defaults to 20s.
97 type: string
98 required:
99 - bucketName
100 - endpoint
101 - interval
102 type: object
103 status:
104 description: BucketStatus defines the observed state of a bucket
105 properties:
106 artifact:
107 description: Artifact represents the output of the last successful
108 Bucket sync.
109 properties:
110 checksum:
111 description: Checksum is the SHA1 checksum of the artifact.
112 type: string
113 lastUpdateTime:
114 description: LastUpdateTime is the timestamp corresponding to
115 the last update of this artifact.
116 format: date-time
117 type: string
118 path:
119 description: Path is the relative file path of this artifact.
120 type: string
121 revision:
122 description: Revision is a human readable identifier traceable
123 in the origin source system. It can be a Git commit SHA, Git
124 tag, a Helm index timestamp, a Helm chart version, etc.
125 type: string
126 url:
127 description: URL is the HTTP address of this artifact.
128 type: string
129 required:
130 - path
131 - url
132 type: object
133 conditions:
134 description: Conditions holds the conditions for the Bucket.
135 items:
136 description: "Condition contains details for one aspect of the current
137 state of this API Resource. --- This struct is intended for direct
138 use as an array at the field path .status.conditions. For example,
139 type FooStatus struct{ // Represents the observations of a
140 foo's current state. // Known .status.conditions.type are:
141 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
142 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
143 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
144 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
145 \n // other fields }"
146 properties:
147 lastTransitionTime:
148 description: lastTransitionTime is the last time the condition
149 transitioned from one status to another. This should be when
150 the underlying condition changed. If that is not known, then
151 using the time when the API field changed is acceptable.
152 format: date-time
153 type: string
154 message:
155 description: message is a human readable message indicating
156 details about the transition. This may be an empty string.
157 maxLength: 32768
158 type: string
159 observedGeneration:
160 description: observedGeneration represents the .metadata.generation
161 that the condition was set based upon. For instance, if .metadata.generation
162 is currently 12, but the .status.conditions[x].observedGeneration
163 is 9, the condition is out of date with respect to the current
164 state of the instance.
165 format: int64
166 minimum: 0
167 type: integer
168 reason:
169 description: reason contains a programmatic identifier indicating
170 the reason for the condition's last transition. Producers
171 of specific condition types may define expected values and
172 meanings for this field, and whether the values are considered
173 a guaranteed API. The value should be a CamelCase string.
174 This field may not be empty.
175 maxLength: 1024
176 minLength: 1
177 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
178 type: string
179 status:
180 description: status of the condition, one of True, False, Unknown.
181 enum:
182 - "True"
183 - "False"
184 - Unknown
185 type: string
186 type:
187 description: type of condition in CamelCase or in foo.example.com/CamelCase.
188 --- Many .condition.type values are consistent across resources
189 like Available, but because arbitrary conditions can be useful
190 (see .node.status.conditions), the ability to deconflict is
191 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
192 maxLength: 316
193 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])$
194 type: string
195 required:
196 - lastTransitionTime
197 - message
198 - reason
199 - status
200 - type
201 type: object
202 type: array
203 lastHandledReconcileAt:
204 description: LastHandledReconcileAt holds the value of the most recent
205 reconcile request value, so a change can be detected.
206 type: string
207 observedGeneration:
208 description: ObservedGeneration is the last observed generation.
209 format: int64
210 type: integer
211 url:
212 description: URL is the download link for the artifact output of the
213 last Bucket sync.
214 type: string
215 type: object
216 type: object
217 served: true
218 storage: true
219 subresources:
220 status: {}
221status:
222 acceptedNames:
223 kind: ""
224 plural: ""
225 conditions: []
226 storedVersions: []
227---
228apiVersion: apiextensions.k8s.io/v1
229kind: CustomResourceDefinition
230metadata:
231 annotations:
232 controller-gen.kubebuilder.io/version: v0.5.0
233 creationTimestamp: null
234 name: gitrepositories.source.toolkit.fluxcd.io
235spec:
236 group: source.toolkit.fluxcd.io
237 names:
238 kind: GitRepository
239 listKind: GitRepositoryList
240 plural: gitrepositories
241 shortNames:
242 - gitrepo
243 singular: gitrepository
244 scope: Namespaced
245 versions:
246 - additionalPrinterColumns:
247 - jsonPath: .spec.url
248 name: URL
249 type: string
250 - jsonPath: .status.conditions[?(@.type=="Ready")].status
251 name: Ready
252 type: string
253 - jsonPath: .status.conditions[?(@.type=="Ready")].message
254 name: Status
255 type: string
256 - jsonPath: .metadata.creationTimestamp
257 name: Age
258 type: date
259 name: v1beta1
260 schema:
261 openAPIV3Schema:
262 description: GitRepository is the Schema for the gitrepositories API
263 properties:
264 apiVersion:
265 description: 'APIVersion defines the versioned schema of this representation
266 of an object. Servers should convert recognized schemas to the latest
267 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
268 type: string
269 kind:
270 description: 'Kind is a string value representing the REST resource this
271 object represents. Servers may infer this from the endpoint the client
272 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
273 type: string
274 metadata:
275 type: object
276 spec:
277 description: GitRepositorySpec defines the desired state of a Git repository.
278 properties:
279 gitImplementation:
280 default: go-git
281 description: Determines which git client library to use. Defaults
282 to go-git, valid values are ('go-git', 'libgit2').
283 enum:
284 - go-git
285 - libgit2
286 type: string
287 ignore:
288 description: Ignore overrides the set of excluded patterns in the
289 .sourceignore format (which is the same as .gitignore). If not provided,
290 a default will be used, consult the documentation for your version
291 to find out what those are.
292 type: string
293 include:
294 description: Extra git repositories to map into the repository
295 items:
296 description: GitRepositoryInclude defines a source with a from and
297 to path.
298 properties:
299 fromPath:
300 description: The path to copy contents from, defaults to the
301 root directory.
302 type: string
303 repository:
304 description: Reference to a GitRepository to include.
305 properties:
306 name:
307 description: Name of the referent
308 type: string
309 required:
310 - name
311 type: object
312 toPath:
313 description: The path to copy contents to, defaults to the name
314 of the source ref.
315 type: string
316 required:
317 - repository
318 type: object
319 type: array
320 interval:
321 description: The interval at which to check for repository updates.
322 type: string
323 recurseSubmodules:
324 description: When enabled, after the clone is created, initializes
325 all submodules within, using their default settings. This option
326 is available only when using the 'go-git' GitImplementation.
327 type: boolean
328 ref:
329 description: The Git reference to checkout and monitor for changes,
330 defaults to master branch.
331 properties:
332 branch:
333 description: The Git branch to checkout, defaults to master.
334 type: string
335 commit:
336 description: The Git commit SHA to checkout, if specified Tag
337 filters will be ignored.
338 type: string
339 semver:
340 description: The Git tag semver expression, takes precedence over
341 Tag.
342 type: string
343 tag:
344 description: The Git tag to checkout, takes precedence over Branch.
345 type: string
346 type: object
347 secretRef:
348 description: The secret name containing the Git credentials. For HTTPS
349 repositories the secret must contain username and password fields.
350 For SSH repositories the secret must contain identity, identity.pub
351 and known_hosts fields.
352 properties:
353 name:
354 description: Name of the referent
355 type: string
356 required:
357 - name
358 type: object
359 suspend:
360 description: This flag tells the controller to suspend the reconciliation
361 of this source.
362 type: boolean
363 timeout:
364 default: 20s
365 description: The timeout for remote Git operations like cloning, defaults
366 to 20s.
367 type: string
368 url:
369 description: The repository URL, can be a HTTP/S or SSH address.
370 pattern: ^(http|https|ssh)://
371 type: string
372 verify:
373 description: Verify OpenPGP signature for the Git commit HEAD points
374 to.
375 properties:
376 mode:
377 description: Mode describes what git object should be verified,
378 currently ('head').
379 enum:
380 - head
381 type: string
382 secretRef:
383 description: The secret name containing the public keys of all
384 trusted Git authors.
385 properties:
386 name:
387 description: Name of the referent
388 type: string
389 required:
390 - name
391 type: object
392 required:
393 - mode
394 type: object
395 required:
396 - interval
397 - url
398 type: object
399 status:
400 description: GitRepositoryStatus defines the observed state of a Git repository.
401 properties:
402 artifact:
403 description: Artifact represents the output of the last successful
404 repository sync.
405 properties:
406 checksum:
407 description: Checksum is the SHA1 checksum of the artifact.
408 type: string
409 lastUpdateTime:
410 description: LastUpdateTime is the timestamp corresponding to
411 the last update of this artifact.
412 format: date-time
413 type: string
414 path:
415 description: Path is the relative file path of this artifact.
416 type: string
417 revision:
418 description: Revision is a human readable identifier traceable
419 in the origin source system. It can be a Git commit SHA, Git
420 tag, a Helm index timestamp, a Helm chart version, etc.
421 type: string
422 url:
423 description: URL is the HTTP address of this artifact.
424 type: string
425 required:
426 - path
427 - url
428 type: object
429 conditions:
430 description: Conditions holds the conditions for the GitRepository.
431 items:
432 description: "Condition contains details for one aspect of the current
433 state of this API Resource. --- This struct is intended for direct
434 use as an array at the field path .status.conditions. For example,
435 type FooStatus struct{ // Represents the observations of a
436 foo's current state. // Known .status.conditions.type are:
437 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
438 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
439 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
440 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
441 \n // other fields }"
442 properties:
443 lastTransitionTime:
444 description: lastTransitionTime is the last time the condition
445 transitioned from one status to another. This should be when
446 the underlying condition changed. If that is not known, then
447 using the time when the API field changed is acceptable.
448 format: date-time
449 type: string
450 message:
451 description: message is a human readable message indicating
452 details about the transition. This may be an empty string.
453 maxLength: 32768
454 type: string
455 observedGeneration:
456 description: observedGeneration represents the .metadata.generation
457 that the condition was set based upon. For instance, if .metadata.generation
458 is currently 12, but the .status.conditions[x].observedGeneration
459 is 9, the condition is out of date with respect to the current
460 state of the instance.
461 format: int64
462 minimum: 0
463 type: integer
464 reason:
465 description: reason contains a programmatic identifier indicating
466 the reason for the condition's last transition. Producers
467 of specific condition types may define expected values and
468 meanings for this field, and whether the values are considered
469 a guaranteed API. The value should be a CamelCase string.
470 This field may not be empty.
471 maxLength: 1024
472 minLength: 1
473 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
474 type: string
475 status:
476 description: status of the condition, one of True, False, Unknown.
477 enum:
478 - "True"
479 - "False"
480 - Unknown
481 type: string
482 type:
483 description: type of condition in CamelCase or in foo.example.com/CamelCase.
484 --- Many .condition.type values are consistent across resources
485 like Available, but because arbitrary conditions can be useful
486 (see .node.status.conditions), the ability to deconflict is
487 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
488 maxLength: 316
489 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])$
490 type: string
491 required:
492 - lastTransitionTime
493 - message
494 - reason
495 - status
496 - type
497 type: object
498 type: array
499 includedArtifacts:
500 description: IncludedArtifacts represents the included artifacts from
501 the last successful repository sync.
502 items:
503 description: Artifact represents the output of a source synchronisation.
504 properties:
505 checksum:
506 description: Checksum is the SHA1 checksum of the artifact.
507 type: string
508 lastUpdateTime:
509 description: LastUpdateTime is the timestamp corresponding to
510 the last update of this artifact.
511 format: date-time
512 type: string
513 path:
514 description: Path is the relative file path of this artifact.
515 type: string
516 revision:
517 description: Revision is a human readable identifier traceable
518 in the origin source system. It can be a Git commit SHA, Git
519 tag, a Helm index timestamp, a Helm chart version, etc.
520 type: string
521 url:
522 description: URL is the HTTP address of this artifact.
523 type: string
524 required:
525 - path
526 - url
527 type: object
528 type: array
529 lastHandledReconcileAt:
530 description: LastHandledReconcileAt holds the value of the most recent
531 reconcile request value, so a change can be detected.
532 type: string
533 observedGeneration:
534 description: ObservedGeneration is the last observed generation.
535 format: int64
536 type: integer
537 url:
538 description: URL is the download link for the artifact output of the
539 last repository sync.
540 type: string
541 type: object
542 type: object
543 served: true
544 storage: true
545 subresources:
546 status: {}
547status:
548 acceptedNames:
549 kind: ""
550 plural: ""
551 conditions: []
552 storedVersions: []
553---
554apiVersion: apiextensions.k8s.io/v1
555kind: CustomResourceDefinition
556metadata:
557 annotations:
558 controller-gen.kubebuilder.io/version: v0.5.0
559 creationTimestamp: null
560 name: helmcharts.source.toolkit.fluxcd.io
561spec:
562 group: source.toolkit.fluxcd.io
563 names:
564 kind: HelmChart
565 listKind: HelmChartList
566 plural: helmcharts
567 shortNames:
568 - hc
569 singular: helmchart
570 scope: Namespaced
571 versions:
572 - additionalPrinterColumns:
573 - jsonPath: .spec.chart
574 name: Chart
575 type: string
576 - jsonPath: .spec.version
577 name: Version
578 type: string
579 - jsonPath: .spec.sourceRef.kind
580 name: Source Kind
581 type: string
582 - jsonPath: .spec.sourceRef.name
583 name: Source Name
584 type: string
585 - jsonPath: .status.conditions[?(@.type=="Ready")].status
586 name: Ready
587 type: string
588 - jsonPath: .status.conditions[?(@.type=="Ready")].message
589 name: Status
590 type: string
591 - jsonPath: .metadata.creationTimestamp
592 name: Age
593 type: date
594 name: v1beta1
595 schema:
596 openAPIV3Schema:
597 description: HelmChart is the Schema for the helmcharts API
598 properties:
599 apiVersion:
600 description: 'APIVersion defines the versioned schema of this representation
601 of an object. Servers should convert recognized schemas to the latest
602 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
603 type: string
604 kind:
605 description: 'Kind is a string value representing the REST resource this
606 object represents. Servers may infer this from the endpoint the client
607 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
608 type: string
609 metadata:
610 type: object
611 spec:
612 description: HelmChartSpec defines the desired state of a Helm chart.
613 properties:
614 chart:
615 description: The name or path the Helm chart is available at in the
616 SourceRef.
617 type: string
618 interval:
619 description: The interval at which to check the Source for updates.
620 type: string
621 reconcileStrategy:
622 default: ChartVersion
623 description: Determines what enables the creation of a new artifact.
624 Valid values are ('ChartVersion', 'Revision'). See the documentation
625 of the values for an explanation on their behavior. Defaults to
626 ChartVersion when omitted.
627 enum:
628 - ChartVersion
629 - Revision
630 type: string
631 sourceRef:
632 description: The reference to the Source the chart is available at.
633 properties:
634 apiVersion:
635 description: APIVersion of the referent.
636 type: string
637 kind:
638 description: Kind of the referent, valid values are ('HelmRepository',
639 'GitRepository', 'Bucket').
640 enum:
641 - HelmRepository
642 - GitRepository
643 - Bucket
644 type: string
645 name:
646 description: Name of the referent.
647 type: string
648 required:
649 - kind
650 - name
651 type: object
652 suspend:
653 description: This flag tells the controller to suspend the reconciliation
654 of this source.
655 type: boolean
656 valuesFile:
657 description: Alternative values file to use as the default chart values,
658 expected to be a relative path in the SourceRef. Deprecated in favor
659 of ValuesFiles, for backwards compatibility the file defined here
660 is merged before the ValuesFiles items. Ignored when omitted.
661 type: string
662 valuesFiles:
663 description: Alternative list of values files to use as the chart
664 values (values.yaml is not included by default), expected to be
665 a relative path in the SourceRef. Values files are merged in the
666 order of this list with the last file overriding the first. Ignored
667 when omitted.
668 items:
669 type: string
670 type: array
671 version:
672 default: '*'
673 description: The chart version semver expression, ignored for charts
674 from GitRepository and Bucket sources. Defaults to latest when omitted.
675 type: string
676 required:
677 - chart
678 - interval
679 - sourceRef
680 type: object
681 status:
682 description: HelmChartStatus defines the observed state of the HelmChart.
683 properties:
684 artifact:
685 description: Artifact represents the output of the last successful
686 chart sync.
687 properties:
688 checksum:
689 description: Checksum is the SHA1 checksum of the artifact.
690 type: string
691 lastUpdateTime:
692 description: LastUpdateTime is the timestamp corresponding to
693 the last update of this artifact.
694 format: date-time
695 type: string
696 path:
697 description: Path is the relative file path of this artifact.
698 type: string
699 revision:
700 description: Revision is a human readable identifier traceable
701 in the origin source system. It can be a Git commit SHA, Git
702 tag, a Helm index timestamp, a Helm chart version, etc.
703 type: string
704 url:
705 description: URL is the HTTP address of this artifact.
706 type: string
707 required:
708 - path
709 - url
710 type: object
711 conditions:
712 description: Conditions holds the conditions for the HelmChart.
713 items:
714 description: "Condition contains details for one aspect of the current
715 state of this API Resource. --- This struct is intended for direct
716 use as an array at the field path .status.conditions. For example,
717 type FooStatus struct{ // Represents the observations of a
718 foo's current state. // Known .status.conditions.type are:
719 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
720 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
721 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
722 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
723 \n // other fields }"
724 properties:
725 lastTransitionTime:
726 description: lastTransitionTime is the last time the condition
727 transitioned from one status to another. This should be when
728 the underlying condition changed. If that is not known, then
729 using the time when the API field changed is acceptable.
730 format: date-time
731 type: string
732 message:
733 description: message is a human readable message indicating
734 details about the transition. This may be an empty string.
735 maxLength: 32768
736 type: string
737 observedGeneration:
738 description: observedGeneration represents the .metadata.generation
739 that the condition was set based upon. For instance, if .metadata.generation
740 is currently 12, but the .status.conditions[x].observedGeneration
741 is 9, the condition is out of date with respect to the current
742 state of the instance.
743 format: int64
744 minimum: 0
745 type: integer
746 reason:
747 description: reason contains a programmatic identifier indicating
748 the reason for the condition's last transition. Producers
749 of specific condition types may define expected values and
750 meanings for this field, and whether the values are considered
751 a guaranteed API. The value should be a CamelCase string.
752 This field may not be empty.
753 maxLength: 1024
754 minLength: 1
755 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
756 type: string
757 status:
758 description: status of the condition, one of True, False, Unknown.
759 enum:
760 - "True"
761 - "False"
762 - Unknown
763 type: string
764 type:
765 description: type of condition in CamelCase or in foo.example.com/CamelCase.
766 --- Many .condition.type values are consistent across resources
767 like Available, but because arbitrary conditions can be useful
768 (see .node.status.conditions), the ability to deconflict is
769 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
770 maxLength: 316
771 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])$
772 type: string
773 required:
774 - lastTransitionTime
775 - message
776 - reason
777 - status
778 - type
779 type: object
780 type: array
781 lastHandledReconcileAt:
782 description: LastHandledReconcileAt holds the value of the most recent
783 reconcile request value, so a change can be detected.
784 type: string
785 observedGeneration:
786 description: ObservedGeneration is the last observed generation.
787 format: int64
788 type: integer
789 url:
790 description: URL is the download link for the last chart pulled.
791 type: string
792 type: object
793 type: object
794 served: true
795 storage: true
796 subresources:
797 status: {}
798status:
799 acceptedNames:
800 kind: ""
801 plural: ""
802 conditions: []
803 storedVersions: []
804---
805apiVersion: apiextensions.k8s.io/v1
806kind: CustomResourceDefinition
807metadata:
808 annotations:
809 controller-gen.kubebuilder.io/version: v0.5.0
810 creationTimestamp: null
811 name: helmrepositories.source.toolkit.fluxcd.io
812spec:
813 group: source.toolkit.fluxcd.io
814 names:
815 kind: HelmRepository
816 listKind: HelmRepositoryList
817 plural: helmrepositories
818 shortNames:
819 - helmrepo
820 singular: helmrepository
821 scope: Namespaced
822 versions:
823 - additionalPrinterColumns:
824 - jsonPath: .spec.url
825 name: URL
826 type: string
827 - jsonPath: .status.conditions[?(@.type=="Ready")].status
828 name: Ready
829 type: string
830 - jsonPath: .status.conditions[?(@.type=="Ready")].message
831 name: Status
832 type: string
833 - jsonPath: .metadata.creationTimestamp
834 name: Age
835 type: date
836 name: v1beta1
837 schema:
838 openAPIV3Schema:
839 description: HelmRepository is the Schema for the helmrepositories API
840 properties:
841 apiVersion:
842 description: 'APIVersion defines the versioned schema of this representation
843 of an object. Servers should convert recognized schemas to the latest
844 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
845 type: string
846 kind:
847 description: 'Kind is a string value representing the REST resource this
848 object represents. Servers may infer this from the endpoint the client
849 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
850 type: string
851 metadata:
852 type: object
853 spec:
854 description: HelmRepositorySpec defines the reference to a Helm repository.
855 properties:
856 interval:
857 description: The interval at which to check the upstream for updates.
858 type: string
859 passCredentials:
860 description: PassCredentials allows the credentials from the SecretRef
861 to be passed on to a host that does not match the host as defined
862 in URL. This may be required if the host of the advertised chart
863 URLs in the index differ from the defined URL. Enabling this should
864 be done with caution, as it can potentially result in credentials
865 getting stolen in a MITM-attack.
866 type: boolean
867 secretRef:
868 description: The name of the secret containing authentication credentials
869 for the Helm repository. For HTTP/S basic auth the secret must contain
870 username and password fields. For TLS the secret must contain a
871 certFile and keyFile, and/or caCert fields.
872 properties:
873 name:
874 description: Name of the referent
875 type: string
876 required:
877 - name
878 type: object
879 suspend:
880 description: This flag tells the controller to suspend the reconciliation
881 of this source.
882 type: boolean
883 timeout:
884 default: 60s
885 description: The timeout of index downloading, defaults to 60s.
886 type: string
887 url:
888 description: The Helm repository URL, a valid URL contains at least
889 a protocol and host.
890 type: string
891 required:
892 - interval
893 - url
894 type: object
895 status:
896 description: HelmRepositoryStatus defines the observed state of the HelmRepository.
897 properties:
898 artifact:
899 description: Artifact represents the output of the last successful
900 repository sync.
901 properties:
902 checksum:
903 description: Checksum is the SHA1 checksum of the artifact.
904 type: string
905 lastUpdateTime:
906 description: LastUpdateTime is the timestamp corresponding to
907 the last update of this artifact.
908 format: date-time
909 type: string
910 path:
911 description: Path is the relative file path of this artifact.
912 type: string
913 revision:
914 description: Revision is a human readable identifier traceable
915 in the origin source system. It can be a Git commit SHA, Git
916 tag, a Helm index timestamp, a Helm chart version, etc.
917 type: string
918 url:
919 description: URL is the HTTP address of this artifact.
920 type: string
921 required:
922 - path
923 - url
924 type: object
925 conditions:
926 description: Conditions holds the conditions for the HelmRepository.
927 items:
928 description: "Condition contains details for one aspect of the current
929 state of this API Resource. --- This struct is intended for direct
930 use as an array at the field path .status.conditions. For example,
931 type FooStatus struct{ // Represents the observations of a
932 foo's current state. // Known .status.conditions.type are:
933 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
934 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
935 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
936 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
937 \n // other fields }"
938 properties:
939 lastTransitionTime:
940 description: lastTransitionTime is the last time the condition
941 transitioned from one status to another. This should be when
942 the underlying condition changed. If that is not known, then
943 using the time when the API field changed is acceptable.
944 format: date-time
945 type: string
946 message:
947 description: message is a human readable message indicating
948 details about the transition. This may be an empty string.
949 maxLength: 32768
950 type: string
951 observedGeneration:
952 description: observedGeneration represents the .metadata.generation
953 that the condition was set based upon. For instance, if .metadata.generation
954 is currently 12, but the .status.conditions[x].observedGeneration
955 is 9, the condition is out of date with respect to the current
956 state of the instance.
957 format: int64
958 minimum: 0
959 type: integer
960 reason:
961 description: reason contains a programmatic identifier indicating
962 the reason for the condition's last transition. Producers
963 of specific condition types may define expected values and
964 meanings for this field, and whether the values are considered
965 a guaranteed API. The value should be a CamelCase string.
966 This field may not be empty.
967 maxLength: 1024
968 minLength: 1
969 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
970 type: string
971 status:
972 description: status of the condition, one of True, False, Unknown.
973 enum:
974 - "True"
975 - "False"
976 - Unknown
977 type: string
978 type:
979 description: type of condition in CamelCase or in foo.example.com/CamelCase.
980 --- Many .condition.type values are consistent across resources
981 like Available, but because arbitrary conditions can be useful
982 (see .node.status.conditions), the ability to deconflict is
983 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
984 maxLength: 316
985 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])$
986 type: string
987 required:
988 - lastTransitionTime
989 - message
990 - reason
991 - status
992 - type
993 type: object
994 type: array
995 lastHandledReconcileAt:
996 description: LastHandledReconcileAt holds the value of the most recent
997 reconcile request value, so a change can be detected.
998 type: string
999 observedGeneration:
1000 description: ObservedGeneration is the last observed generation.
1001 format: int64
1002 type: integer
1003 url:
1004 description: URL is the download link for the last index fetched.
1005 type: string
1006 type: object
1007 type: object
1008 served: true
1009 storage: true
1010 subresources:
1011 status: {}
1012status:
1013 acceptedNames:
1014 kind: ""
1015 plural: ""
1016 conditions: []
1017 storedVersions: []
1018---
1019apiVersion: v1
1020kind: ServiceAccount
1021metadata:
1022 name: source-controller
1023---
1024apiVersion: v1
1025kind: Service
1026metadata:
1027 labels:
1028 control-plane: controller
1029 name: source-controller
1030spec:
1031 ports:
1032 - name: http
1033 port: 80
1034 protocol: TCP
1035 targetPort: http
1036 selector:
1037 app: source-controller
1038 type: ClusterIP
1039---
1040apiVersion: apps/v1
1041kind: Deployment
1042metadata:
1043 labels:
1044 control-plane: controller
1045 name: source-controller
1046spec:
1047 replicas: 1
1048 selector:
1049 matchLabels:
1050 app: source-controller
1051 strategy:
1052 type: Recreate
1053 template:
1054 metadata:
1055 annotations:
1056 prometheus.io/port: "8080"
1057 prometheus.io/scrape: "true"
1058 labels:
1059 app: source-controller
1060 spec:
1061 containers:
1062 - args:
1063 - --events-addr=http://notification-controller/
1064 - --watch-all-namespaces
1065 - --log-level=info
1066 - --log-encoding=json
1067 - --enable-leader-election
1068 - --storage-path=/data
1069 - --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
1070 env:
1071 - name: RUNTIME_NAMESPACE
1072 valueFrom:
1073 fieldRef:
1074 fieldPath: metadata.namespace
1075 image: fluxcd/source-controller:v0.17.2
1076 imagePullPolicy: IfNotPresent
1077 livenessProbe:
1078 httpGet:
1079 path: /healthz
1080 port: healthz
1081 name: manager
1082 ports:
1083 - containerPort: 9090
1084 name: http
1085 - containerPort: 8080
1086 name: http-prom
1087 - containerPort: 9440
1088 name: healthz
1089 readinessProbe:
1090 httpGet:
1091 path: /
1092 port: http
1093 resources:
1094 limits:
1095 cpu: 1000m
1096 memory: 1Gi
1097 requests:
1098 cpu: 50m
1099 memory: 64Mi
1100 securityContext:
1101 allowPrivilegeEscalation: false
1102 readOnlyRootFilesystem: true
1103 volumeMounts:
1104 - mountPath: /data
1105 name: data
1106 - mountPath: /tmp
1107 name: tmp
1108 securityContext:
1109 fsGroup: 1337
1110 serviceAccountName: source-controller
1111 terminationGracePeriodSeconds: 10
1112 volumes:
1113 - emptyDir: {}
1114 name: data
1115 - emptyDir: {}
1116 name: tmp
View as plain text