blob: 8b35e26aa637d7c0dd5b13a23a64290fac15b840 [file] [log] [blame]
Flux9909a132021-12-08 15:54:40 +04001apiVersion: v1
2kind: Namespace
3metadata:
4 labels:
5 app.kubernetes.io/instance: flux-system
6 app.kubernetes.io/part-of: flux
7 app.kubernetes.io/version: v0.17.2
8 name: flux-system
9---
10apiVersion: apiextensions.k8s.io/v1
11kind: CustomResourceDefinition
12metadata:
13 annotations:
14 controller-gen.kubebuilder.io/version: v0.5.0
15 creationTimestamp: null
16 labels:
17 app.kubernetes.io/instance: flux-system
18 app.kubernetes.io/part-of: flux
19 app.kubernetes.io/version: v0.17.2
20 name: alerts.notification.toolkit.fluxcd.io
21spec:
22 group: notification.toolkit.fluxcd.io
23 names:
24 kind: Alert
25 listKind: AlertList
26 plural: alerts
27 singular: alert
28 scope: Namespaced
29 versions:
30 - additionalPrinterColumns:
31 - jsonPath: .status.conditions[?(@.type=="Ready")].status
32 name: Ready
33 type: string
34 - jsonPath: .status.conditions[?(@.type=="Ready")].message
35 name: Status
36 type: string
37 - jsonPath: .metadata.creationTimestamp
38 name: Age
39 type: date
40 name: v1beta1
41 schema:
42 openAPIV3Schema:
43 description: Alert is the Schema for the alerts API
44 properties:
45 apiVersion:
46 description: 'APIVersion defines the versioned schema of this representation
47 of an object. Servers should convert recognized schemas to the latest
48 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
49 type: string
50 kind:
51 description: 'Kind is a string value representing the REST resource this
52 object represents. Servers may infer this from the endpoint the client
53 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
54 type: string
55 metadata:
56 type: object
57 spec:
58 description: AlertSpec defines an alerting rule for events involving a
59 list of objects
60 properties:
61 eventSeverity:
62 default: info
63 description: Filter events based on severity, defaults to ('info').
64 If set to 'info' no events will be filtered.
65 enum:
66 - info
67 - error
68 type: string
69 eventSources:
70 description: Filter events based on the involved objects.
71 items:
72 description: CrossNamespaceObjectReference contains enough information
73 to let you locate the typed referenced object at cluster level
74 properties:
75 apiVersion:
76 description: API version of the referent
77 type: string
78 kind:
79 description: Kind of the referent
80 enum:
81 - Bucket
82 - GitRepository
83 - Kustomization
84 - HelmRelease
85 - HelmChart
86 - HelmRepository
87 - ImageRepository
88 - ImagePolicy
89 - ImageUpdateAutomation
90 type: string
91 name:
92 description: Name of the referent
93 maxLength: 53
94 minLength: 1
95 type: string
96 namespace:
97 description: Namespace of the referent
98 maxLength: 53
99 minLength: 1
100 type: string
101 required:
102 - name
103 type: object
104 type: array
105 exclusionList:
106 description: A list of Golang regular expressions to be used for excluding
107 messages.
108 items:
109 type: string
110 type: array
111 providerRef:
112 description: Send events using this provider.
113 properties:
114 name:
115 description: Name of the referent
116 type: string
117 required:
118 - name
119 type: object
120 summary:
121 description: Short description of the impact and affected cluster.
122 type: string
123 suspend:
124 description: This flag tells the controller to suspend subsequent
125 events dispatching. Defaults to false.
126 type: boolean
127 required:
128 - eventSources
129 - providerRef
130 type: object
131 status:
132 description: AlertStatus defines the observed state of Alert
133 properties:
134 conditions:
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 observedGeneration:
204 description: ObservedGeneration is the last observed generation.
205 format: int64
206 type: integer
207 type: object
208 type: object
209 served: true
210 storage: true
211 subresources:
212 status: {}
213status:
214 acceptedNames:
215 kind: ""
216 plural: ""
217 conditions: []
218 storedVersions: []
219---
220apiVersion: apiextensions.k8s.io/v1
221kind: CustomResourceDefinition
222metadata:
223 annotations:
224 controller-gen.kubebuilder.io/version: v0.5.0
225 creationTimestamp: null
226 labels:
227 app.kubernetes.io/instance: flux-system
228 app.kubernetes.io/part-of: flux
229 app.kubernetes.io/version: v0.17.2
230 name: buckets.source.toolkit.fluxcd.io
231spec:
232 group: source.toolkit.fluxcd.io
233 names:
234 kind: Bucket
235 listKind: BucketList
236 plural: buckets
237 singular: bucket
238 scope: Namespaced
239 versions:
240 - additionalPrinterColumns:
241 - jsonPath: .spec.url
242 name: URL
243 type: string
244 - jsonPath: .status.conditions[?(@.type=="Ready")].status
245 name: Ready
246 type: string
247 - jsonPath: .status.conditions[?(@.type=="Ready")].message
248 name: Status
249 type: string
250 - jsonPath: .metadata.creationTimestamp
251 name: Age
252 type: date
253 name: v1beta1
254 schema:
255 openAPIV3Schema:
256 description: Bucket is the Schema for the buckets API
257 properties:
258 apiVersion:
259 description: 'APIVersion defines the versioned schema of this representation
260 of an object. Servers should convert recognized schemas to the latest
261 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
262 type: string
263 kind:
264 description: 'Kind is a string value representing the REST resource this
265 object represents. Servers may infer this from the endpoint the client
266 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
267 type: string
268 metadata:
269 type: object
270 spec:
271 description: BucketSpec defines the desired state of an S3 compatible
272 bucket
273 properties:
274 bucketName:
275 description: The bucket name.
276 type: string
277 endpoint:
278 description: The bucket endpoint address.
279 type: string
280 ignore:
281 description: Ignore overrides the set of excluded patterns in the
282 .sourceignore format (which is the same as .gitignore). If not provided,
283 a default will be used, consult the documentation for your version
284 to find out what those are.
285 type: string
286 insecure:
287 description: Insecure allows connecting to a non-TLS S3 HTTP endpoint.
288 type: boolean
289 interval:
290 description: The interval at which to check for bucket updates.
291 type: string
292 provider:
293 default: generic
294 description: The S3 compatible storage provider name, default ('generic').
295 enum:
296 - generic
297 - aws
298 type: string
299 region:
300 description: The bucket region.
301 type: string
302 secretRef:
303 description: The name of the secret containing authentication credentials
304 for the Bucket.
305 properties:
306 name:
307 description: Name of the referent
308 type: string
309 required:
310 - name
311 type: object
312 suspend:
313 description: This flag tells the controller to suspend the reconciliation
314 of this source.
315 type: boolean
316 timeout:
317 default: 20s
318 description: The timeout for download operations, defaults to 20s.
319 type: string
320 required:
321 - bucketName
322 - endpoint
323 - interval
324 type: object
325 status:
326 description: BucketStatus defines the observed state of a bucket
327 properties:
328 artifact:
329 description: Artifact represents the output of the last successful
330 Bucket sync.
331 properties:
332 checksum:
333 description: Checksum is the SHA1 checksum of the artifact.
334 type: string
335 lastUpdateTime:
336 description: LastUpdateTime is the timestamp corresponding to
337 the last update of this artifact.
338 format: date-time
339 type: string
340 path:
341 description: Path is the relative file path of this artifact.
342 type: string
343 revision:
344 description: Revision is a human readable identifier traceable
345 in the origin source system. It can be a Git commit SHA, Git
346 tag, a Helm index timestamp, a Helm chart version, etc.
347 type: string
348 url:
349 description: URL is the HTTP address of this artifact.
350 type: string
351 required:
352 - path
353 - url
354 type: object
355 conditions:
356 description: Conditions holds the conditions for the Bucket.
357 items:
358 description: "Condition contains details for one aspect of the current
359 state of this API Resource. --- This struct is intended for direct
360 use as an array at the field path .status.conditions. For example,
361 type FooStatus struct{ // Represents the observations of a
362 foo's current state. // Known .status.conditions.type are:
363 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
364 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
365 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
366 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
367 \n // other fields }"
368 properties:
369 lastTransitionTime:
370 description: lastTransitionTime is the last time the condition
371 transitioned from one status to another. This should be when
372 the underlying condition changed. If that is not known, then
373 using the time when the API field changed is acceptable.
374 format: date-time
375 type: string
376 message:
377 description: message is a human readable message indicating
378 details about the transition. This may be an empty string.
379 maxLength: 32768
380 type: string
381 observedGeneration:
382 description: observedGeneration represents the .metadata.generation
383 that the condition was set based upon. For instance, if .metadata.generation
384 is currently 12, but the .status.conditions[x].observedGeneration
385 is 9, the condition is out of date with respect to the current
386 state of the instance.
387 format: int64
388 minimum: 0
389 type: integer
390 reason:
391 description: reason contains a programmatic identifier indicating
392 the reason for the condition's last transition. Producers
393 of specific condition types may define expected values and
394 meanings for this field, and whether the values are considered
395 a guaranteed API. The value should be a CamelCase string.
396 This field may not be empty.
397 maxLength: 1024
398 minLength: 1
399 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
400 type: string
401 status:
402 description: status of the condition, one of True, False, Unknown.
403 enum:
404 - "True"
405 - "False"
406 - Unknown
407 type: string
408 type:
409 description: type of condition in CamelCase or in foo.example.com/CamelCase.
410 --- Many .condition.type values are consistent across resources
411 like Available, but because arbitrary conditions can be useful
412 (see .node.status.conditions), the ability to deconflict is
413 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
414 maxLength: 316
415 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])$
416 type: string
417 required:
418 - lastTransitionTime
419 - message
420 - reason
421 - status
422 - type
423 type: object
424 type: array
425 lastHandledReconcileAt:
426 description: LastHandledReconcileAt holds the value of the most recent
427 reconcile request value, so a change can be detected.
428 type: string
429 observedGeneration:
430 description: ObservedGeneration is the last observed generation.
431 format: int64
432 type: integer
433 url:
434 description: URL is the download link for the artifact output of the
435 last Bucket sync.
436 type: string
437 type: object
438 type: object
439 served: true
440 storage: true
441 subresources:
442 status: {}
443status:
444 acceptedNames:
445 kind: ""
446 plural: ""
447 conditions: []
448 storedVersions: []
449---
450apiVersion: apiextensions.k8s.io/v1
451kind: CustomResourceDefinition
452metadata:
453 annotations:
454 controller-gen.kubebuilder.io/version: v0.5.0
455 creationTimestamp: null
456 labels:
457 app.kubernetes.io/instance: flux-system
458 app.kubernetes.io/part-of: flux
459 app.kubernetes.io/version: v0.17.2
460 name: gitrepositories.source.toolkit.fluxcd.io
461spec:
462 group: source.toolkit.fluxcd.io
463 names:
464 kind: GitRepository
465 listKind: GitRepositoryList
466 plural: gitrepositories
467 shortNames:
468 - gitrepo
469 singular: gitrepository
470 scope: Namespaced
471 versions:
472 - additionalPrinterColumns:
473 - jsonPath: .spec.url
474 name: URL
475 type: string
476 - jsonPath: .status.conditions[?(@.type=="Ready")].status
477 name: Ready
478 type: string
479 - jsonPath: .status.conditions[?(@.type=="Ready")].message
480 name: Status
481 type: string
482 - jsonPath: .metadata.creationTimestamp
483 name: Age
484 type: date
485 name: v1beta1
486 schema:
487 openAPIV3Schema:
488 description: GitRepository is the Schema for the gitrepositories API
489 properties:
490 apiVersion:
491 description: 'APIVersion defines the versioned schema of this representation
492 of an object. Servers should convert recognized schemas to the latest
493 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
494 type: string
495 kind:
496 description: 'Kind is a string value representing the REST resource this
497 object represents. Servers may infer this from the endpoint the client
498 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
499 type: string
500 metadata:
501 type: object
502 spec:
503 description: GitRepositorySpec defines the desired state of a Git repository.
504 properties:
505 gitImplementation:
506 default: go-git
507 description: Determines which git client library to use. Defaults
508 to go-git, valid values are ('go-git', 'libgit2').
509 enum:
510 - go-git
511 - libgit2
512 type: string
513 ignore:
514 description: Ignore overrides the set of excluded patterns in the
515 .sourceignore format (which is the same as .gitignore). If not provided,
516 a default will be used, consult the documentation for your version
517 to find out what those are.
518 type: string
519 include:
520 description: Extra git repositories to map into the repository
521 items:
522 description: GitRepositoryInclude defines a source with a from and
523 to path.
524 properties:
525 fromPath:
526 description: The path to copy contents from, defaults to the
527 root directory.
528 type: string
529 repository:
530 description: Reference to a GitRepository to include.
531 properties:
532 name:
533 description: Name of the referent
534 type: string
535 required:
536 - name
537 type: object
538 toPath:
539 description: The path to copy contents to, defaults to the name
540 of the source ref.
541 type: string
542 required:
543 - repository
544 type: object
545 type: array
546 interval:
547 description: The interval at which to check for repository updates.
548 type: string
549 recurseSubmodules:
550 description: When enabled, after the clone is created, initializes
551 all submodules within, using their default settings. This option
552 is available only when using the 'go-git' GitImplementation.
553 type: boolean
554 ref:
555 description: The Git reference to checkout and monitor for changes,
556 defaults to master branch.
557 properties:
558 branch:
559 default: master
560 description: The Git branch to checkout, defaults to master.
561 type: string
562 commit:
563 description: The Git commit SHA to checkout, if specified Tag
564 filters will be ignored.
565 type: string
566 semver:
567 description: The Git tag semver expression, takes precedence over
568 Tag.
569 type: string
570 tag:
571 description: The Git tag to checkout, takes precedence over Branch.
572 type: string
573 type: object
574 secretRef:
575 description: The secret name containing the Git credentials. For HTTPS
576 repositories the secret must contain username and password fields.
577 For SSH repositories the secret must contain identity, identity.pub
578 and known_hosts fields.
579 properties:
580 name:
581 description: Name of the referent
582 type: string
583 required:
584 - name
585 type: object
586 suspend:
587 description: This flag tells the controller to suspend the reconciliation
588 of this source.
589 type: boolean
590 timeout:
591 default: 20s
592 description: The timeout for remote Git operations like cloning, defaults
593 to 20s.
594 type: string
595 url:
596 description: The repository URL, can be a HTTP/S or SSH address.
597 pattern: ^(http|https|ssh)://
598 type: string
599 verify:
600 description: Verify OpenPGP signature for the Git commit HEAD points
601 to.
602 properties:
603 mode:
604 description: Mode describes what git object should be verified,
605 currently ('head').
606 enum:
607 - head
608 type: string
609 secretRef:
610 description: The secret name containing the public keys of all
611 trusted Git authors.
612 properties:
613 name:
614 description: Name of the referent
615 type: string
616 required:
617 - name
618 type: object
619 required:
620 - mode
621 type: object
622 required:
623 - interval
624 - url
625 type: object
626 status:
627 description: GitRepositoryStatus defines the observed state of a Git repository.
628 properties:
629 artifact:
630 description: Artifact represents the output of the last successful
631 repository sync.
632 properties:
633 checksum:
634 description: Checksum is the SHA1 checksum of the artifact.
635 type: string
636 lastUpdateTime:
637 description: LastUpdateTime is the timestamp corresponding to
638 the last update of this artifact.
639 format: date-time
640 type: string
641 path:
642 description: Path is the relative file path of this artifact.
643 type: string
644 revision:
645 description: Revision is a human readable identifier traceable
646 in the origin source system. It can be a Git commit SHA, Git
647 tag, a Helm index timestamp, a Helm chart version, etc.
648 type: string
649 url:
650 description: URL is the HTTP address of this artifact.
651 type: string
652 required:
653 - path
654 - url
655 type: object
656 conditions:
657 description: Conditions holds the conditions for the GitRepository.
658 items:
659 description: "Condition contains details for one aspect of the current
660 state of this API Resource. --- This struct is intended for direct
661 use as an array at the field path .status.conditions. For example,
662 type FooStatus struct{ // Represents the observations of a
663 foo's current state. // Known .status.conditions.type are:
664 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
665 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
666 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
667 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
668 \n // other fields }"
669 properties:
670 lastTransitionTime:
671 description: lastTransitionTime is the last time the condition
672 transitioned from one status to another. This should be when
673 the underlying condition changed. If that is not known, then
674 using the time when the API field changed is acceptable.
675 format: date-time
676 type: string
677 message:
678 description: message is a human readable message indicating
679 details about the transition. This may be an empty string.
680 maxLength: 32768
681 type: string
682 observedGeneration:
683 description: observedGeneration represents the .metadata.generation
684 that the condition was set based upon. For instance, if .metadata.generation
685 is currently 12, but the .status.conditions[x].observedGeneration
686 is 9, the condition is out of date with respect to the current
687 state of the instance.
688 format: int64
689 minimum: 0
690 type: integer
691 reason:
692 description: reason contains a programmatic identifier indicating
693 the reason for the condition's last transition. Producers
694 of specific condition types may define expected values and
695 meanings for this field, and whether the values are considered
696 a guaranteed API. The value should be a CamelCase string.
697 This field may not be empty.
698 maxLength: 1024
699 minLength: 1
700 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
701 type: string
702 status:
703 description: status of the condition, one of True, False, Unknown.
704 enum:
705 - "True"
706 - "False"
707 - Unknown
708 type: string
709 type:
710 description: type of condition in CamelCase or in foo.example.com/CamelCase.
711 --- Many .condition.type values are consistent across resources
712 like Available, but because arbitrary conditions can be useful
713 (see .node.status.conditions), the ability to deconflict is
714 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
715 maxLength: 316
716 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])$
717 type: string
718 required:
719 - lastTransitionTime
720 - message
721 - reason
722 - status
723 - type
724 type: object
725 type: array
726 includedArtifacts:
727 description: IncludedArtifacts represents the included artifacts from
728 the last successful repository sync.
729 items:
730 description: Artifact represents the output of a source synchronisation.
731 properties:
732 checksum:
733 description: Checksum is the SHA1 checksum of the artifact.
734 type: string
735 lastUpdateTime:
736 description: LastUpdateTime is the timestamp corresponding to
737 the last update of this artifact.
738 format: date-time
739 type: string
740 path:
741 description: Path is the relative file path of this artifact.
742 type: string
743 revision:
744 description: Revision is a human readable identifier traceable
745 in the origin source system. It can be a Git commit SHA, Git
746 tag, a Helm index timestamp, a Helm chart version, etc.
747 type: string
748 url:
749 description: URL is the HTTP address of this artifact.
750 type: string
751 required:
752 - path
753 - url
754 type: object
755 type: array
756 lastHandledReconcileAt:
757 description: LastHandledReconcileAt holds the value of the most recent
758 reconcile request value, so a change can be detected.
759 type: string
760 observedGeneration:
761 description: ObservedGeneration is the last observed generation.
762 format: int64
763 type: integer
764 url:
765 description: URL is the download link for the artifact output of the
766 last repository sync.
767 type: string
768 type: object
769 type: object
770 served: true
771 storage: true
772 subresources:
773 status: {}
774status:
775 acceptedNames:
776 kind: ""
777 plural: ""
778 conditions: []
779 storedVersions: []
780---
781apiVersion: apiextensions.k8s.io/v1
782kind: CustomResourceDefinition
783metadata:
784 annotations:
785 controller-gen.kubebuilder.io/version: v0.5.0
786 creationTimestamp: null
787 labels:
788 app.kubernetes.io/instance: flux-system
789 app.kubernetes.io/part-of: flux
790 app.kubernetes.io/version: v0.17.2
791 name: helmcharts.source.toolkit.fluxcd.io
792spec:
793 group: source.toolkit.fluxcd.io
794 names:
795 kind: HelmChart
796 listKind: HelmChartList
797 plural: helmcharts
798 shortNames:
799 - hc
800 singular: helmchart
801 scope: Namespaced
802 versions:
803 - additionalPrinterColumns:
804 - jsonPath: .spec.chart
805 name: Chart
806 type: string
807 - jsonPath: .spec.version
808 name: Version
809 type: string
810 - jsonPath: .spec.sourceRef.kind
811 name: Source Kind
812 type: string
813 - jsonPath: .spec.sourceRef.name
814 name: Source Name
815 type: string
816 - jsonPath: .status.conditions[?(@.type=="Ready")].status
817 name: Ready
818 type: string
819 - jsonPath: .status.conditions[?(@.type=="Ready")].message
820 name: Status
821 type: string
822 - jsonPath: .metadata.creationTimestamp
823 name: Age
824 type: date
825 name: v1beta1
826 schema:
827 openAPIV3Schema:
828 description: HelmChart is the Schema for the helmcharts API
829 properties:
830 apiVersion:
831 description: 'APIVersion defines the versioned schema of this representation
832 of an object. Servers should convert recognized schemas to the latest
833 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
834 type: string
835 kind:
836 description: 'Kind is a string value representing the REST resource this
837 object represents. Servers may infer this from the endpoint the client
838 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
839 type: string
840 metadata:
841 type: object
842 spec:
843 description: HelmChartSpec defines the desired state of a Helm chart.
844 properties:
845 chart:
846 description: The name or path the Helm chart is available at in the
847 SourceRef.
848 type: string
849 interval:
850 description: The interval at which to check the Source for updates.
851 type: string
852 sourceRef:
853 description: The reference to the Source the chart is available at.
854 properties:
855 apiVersion:
856 description: APIVersion of the referent.
857 type: string
858 kind:
859 description: Kind of the referent, valid values are ('HelmRepository',
860 'GitRepository', 'Bucket').
861 enum:
862 - HelmRepository
863 - GitRepository
864 - Bucket
865 type: string
866 name:
867 description: Name of the referent.
868 type: string
869 required:
870 - kind
871 - name
872 type: object
873 suspend:
874 description: This flag tells the controller to suspend the reconciliation
875 of this source.
876 type: boolean
877 valuesFile:
878 description: Alternative values file to use as the default chart values,
879 expected to be a relative path in the SourceRef. Deprecated in favor
880 of ValuesFiles, for backwards compatibility the file defined here
881 is merged before the ValuesFiles items. Ignored when omitted.
882 type: string
883 valuesFiles:
884 description: Alternative list of values files to use as the chart
885 values (values.yaml is not included by default), expected to be
886 a relative path in the SourceRef. Values files are merged in the
887 order of this list with the last file overriding the first. Ignored
888 when omitted.
889 items:
890 type: string
891 type: array
892 version:
893 default: '*'
894 description: The chart version semver expression, ignored for charts
895 from GitRepository and Bucket sources. Defaults to latest when omitted.
896 type: string
897 required:
898 - chart
899 - interval
900 - sourceRef
901 type: object
902 status:
903 description: HelmChartStatus defines the observed state of the HelmChart.
904 properties:
905 artifact:
906 description: Artifact represents the output of the last successful
907 chart sync.
908 properties:
909 checksum:
910 description: Checksum is the SHA1 checksum of the artifact.
911 type: string
912 lastUpdateTime:
913 description: LastUpdateTime is the timestamp corresponding to
914 the last update of this artifact.
915 format: date-time
916 type: string
917 path:
918 description: Path is the relative file path of this artifact.
919 type: string
920 revision:
921 description: Revision is a human readable identifier traceable
922 in the origin source system. It can be a Git commit SHA, Git
923 tag, a Helm index timestamp, a Helm chart version, etc.
924 type: string
925 url:
926 description: URL is the HTTP address of this artifact.
927 type: string
928 required:
929 - path
930 - url
931 type: object
932 conditions:
933 description: Conditions holds the conditions for the HelmChart.
934 items:
935 description: "Condition contains details for one aspect of the current
936 state of this API Resource. --- This struct is intended for direct
937 use as an array at the field path .status.conditions. For example,
938 type FooStatus struct{ // Represents the observations of a
939 foo's current state. // Known .status.conditions.type are:
940 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
941 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
942 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
943 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
944 \n // other fields }"
945 properties:
946 lastTransitionTime:
947 description: lastTransitionTime is the last time the condition
948 transitioned from one status to another. This should be when
949 the underlying condition changed. If that is not known, then
950 using the time when the API field changed is acceptable.
951 format: date-time
952 type: string
953 message:
954 description: message is a human readable message indicating
955 details about the transition. This may be an empty string.
956 maxLength: 32768
957 type: string
958 observedGeneration:
959 description: observedGeneration represents the .metadata.generation
960 that the condition was set based upon. For instance, if .metadata.generation
961 is currently 12, but the .status.conditions[x].observedGeneration
962 is 9, the condition is out of date with respect to the current
963 state of the instance.
964 format: int64
965 minimum: 0
966 type: integer
967 reason:
968 description: reason contains a programmatic identifier indicating
969 the reason for the condition's last transition. Producers
970 of specific condition types may define expected values and
971 meanings for this field, and whether the values are considered
972 a guaranteed API. The value should be a CamelCase string.
973 This field may not be empty.
974 maxLength: 1024
975 minLength: 1
976 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
977 type: string
978 status:
979 description: status of the condition, one of True, False, Unknown.
980 enum:
981 - "True"
982 - "False"
983 - Unknown
984 type: string
985 type:
986 description: type of condition in CamelCase or in foo.example.com/CamelCase.
987 --- Many .condition.type values are consistent across resources
988 like Available, but because arbitrary conditions can be useful
989 (see .node.status.conditions), the ability to deconflict is
990 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
991 maxLength: 316
992 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])$
993 type: string
994 required:
995 - lastTransitionTime
996 - message
997 - reason
998 - status
999 - type
1000 type: object
1001 type: array
1002 lastHandledReconcileAt:
1003 description: LastHandledReconcileAt holds the value of the most recent
1004 reconcile request value, so a change can be detected.
1005 type: string
1006 observedGeneration:
1007 description: ObservedGeneration is the last observed generation.
1008 format: int64
1009 type: integer
1010 url:
1011 description: URL is the download link for the last chart pulled.
1012 type: string
1013 type: object
1014 type: object
1015 served: true
1016 storage: true
1017 subresources:
1018 status: {}
1019status:
1020 acceptedNames:
1021 kind: ""
1022 plural: ""
1023 conditions: []
1024 storedVersions: []
1025---
1026apiVersion: apiextensions.k8s.io/v1
1027kind: CustomResourceDefinition
1028metadata:
1029 annotations:
1030 controller-gen.kubebuilder.io/version: v0.5.0
1031 creationTimestamp: null
1032 labels:
1033 app.kubernetes.io/instance: flux-system
1034 app.kubernetes.io/part-of: flux
1035 app.kubernetes.io/version: v0.17.2
1036 name: helmreleases.helm.toolkit.fluxcd.io
1037spec:
1038 group: helm.toolkit.fluxcd.io
1039 names:
1040 kind: HelmRelease
1041 listKind: HelmReleaseList
1042 plural: helmreleases
1043 shortNames:
1044 - hr
1045 singular: helmrelease
1046 scope: Namespaced
1047 versions:
1048 - additionalPrinterColumns:
1049 - jsonPath: .status.conditions[?(@.type=="Ready")].status
1050 name: Ready
1051 type: string
1052 - jsonPath: .status.conditions[?(@.type=="Ready")].message
1053 name: Status
1054 type: string
1055 - jsonPath: .metadata.creationTimestamp
1056 name: Age
1057 type: date
1058 name: v2beta1
1059 schema:
1060 openAPIV3Schema:
1061 description: HelmRelease is the Schema for the helmreleases API
1062 properties:
1063 apiVersion:
1064 description: 'APIVersion defines the versioned schema of this representation
1065 of an object. Servers should convert recognized schemas to the latest
1066 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
1067 type: string
1068 kind:
1069 description: 'Kind is a string value representing the REST resource this
1070 object represents. Servers may infer this from the endpoint the client
1071 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
1072 type: string
1073 metadata:
1074 type: object
1075 spec:
1076 description: HelmReleaseSpec defines the desired state of a Helm release.
1077 properties:
1078 chart:
1079 description: Chart defines the template of the v1beta1.HelmChart that
1080 should be created for this HelmRelease.
1081 properties:
1082 spec:
1083 description: Spec holds the template for the v1beta1.HelmChartSpec
1084 for this HelmRelease.
1085 properties:
1086 chart:
1087 description: The name or path the Helm chart is available
1088 at in the SourceRef.
1089 type: string
1090 interval:
1091 description: Interval at which to check the v1beta1.Source
1092 for updates. Defaults to 'HelmReleaseSpec.Interval'.
1093 type: string
1094 sourceRef:
1095 description: The name and namespace of the v1beta1.Source
1096 the chart is available at.
1097 properties:
1098 apiVersion:
1099 description: APIVersion of the referent.
1100 type: string
1101 kind:
1102 description: Kind of the referent.
1103 enum:
1104 - HelmRepository
1105 - GitRepository
1106 - Bucket
1107 type: string
1108 name:
1109 description: Name of the referent.
1110 maxLength: 253
1111 minLength: 1
1112 type: string
1113 namespace:
1114 description: Namespace of the referent.
1115 maxLength: 63
1116 minLength: 1
1117 type: string
1118 required:
1119 - name
1120 type: object
1121 valuesFile:
1122 description: Alternative values file to use as the default
1123 chart values, expected to be a relative path in the SourceRef.
1124 Deprecated in favor of ValuesFiles, for backwards compatibility
1125 the file defined here is merged before the ValuesFiles items.
1126 Ignored when omitted.
1127 type: string
1128 valuesFiles:
1129 description: Alternative list of values files to use as the
1130 chart values (values.yaml is not included by default), expected
1131 to be a relative path in the SourceRef. Values files are
1132 merged in the order of this list with the last file overriding
1133 the first. Ignored when omitted.
1134 items:
1135 type: string
1136 type: array
1137 version:
1138 default: '*'
1139 description: Version semver expression, ignored for charts
1140 from v1beta1.GitRepository and v1beta1.Bucket sources. Defaults
1141 to latest when omitted.
1142 type: string
1143 required:
1144 - chart
1145 - sourceRef
1146 type: object
1147 required:
1148 - spec
1149 type: object
1150 dependsOn:
1151 description: DependsOn may contain a dependency.CrossNamespaceDependencyReference
1152 slice with references to HelmRelease resources that must be ready
1153 before this HelmRelease can be reconciled.
1154 items:
1155 description: CrossNamespaceDependencyReference holds the reference
1156 to a dependency.
1157 properties:
1158 name:
1159 description: Name holds the name reference of a dependency.
1160 type: string
1161 namespace:
1162 description: Namespace holds the namespace reference of a dependency.
1163 type: string
1164 required:
1165 - name
1166 type: object
1167 type: array
1168 install:
1169 description: Install holds the configuration for Helm install actions
1170 for this HelmRelease.
1171 properties:
1172 crds:
1173 description: "CRDs upgrade CRDs from the Helm Chart's crds directory
1174 according to the CRD upgrade policy provided here. Valid values
1175 are `Skip`, `Create` or `CreateReplace`. Default is `Create`
1176 and if omitted CRDs are installed but not updated. \n Skip:
1177 do neither install nor replace (update) any CRDs. \n Create:
1178 new CRDs are created, existing CRDs are neither updated nor
1179 deleted. \n CreateReplace: new CRDs are created, existing CRDs
1180 are updated (replaced) but not deleted. \n By default, CRDs
1181 are applied (installed) during Helm install action. With this
1182 option users can opt-in to CRD replace existing CRDs on Helm
1183 install actions, which is not (yet) natively supported by Helm.
1184 https://helm.sh/docs/chart_best_practices/custom_resource_definitions."
1185 enum:
1186 - Skip
1187 - Create
1188 - CreateReplace
1189 type: string
1190 createNamespace:
1191 description: CreateNamespace tells the Helm install action to
1192 create the HelmReleaseSpec.TargetNamespace if it does not exist
1193 yet. On uninstall, the namespace will not be garbage collected.
1194 type: boolean
1195 disableHooks:
1196 description: DisableHooks prevents hooks from running during the
1197 Helm install action.
1198 type: boolean
1199 disableOpenAPIValidation:
1200 description: DisableOpenAPIValidation prevents the Helm install
1201 action from validating rendered templates against the Kubernetes
1202 OpenAPI Schema.
1203 type: boolean
1204 disableWait:
1205 description: DisableWait disables the waiting for resources to
1206 be ready after a Helm install has been performed.
1207 type: boolean
1208 disableWaitForJobs:
1209 description: DisableWaitForJobs disables waiting for jobs to complete
1210 after a Helm install has been performed.
1211 type: boolean
1212 remediation:
1213 description: Remediation holds the remediation configuration for
1214 when the Helm install action for the HelmRelease fails. The
1215 default is to not perform any action.
1216 properties:
1217 ignoreTestFailures:
1218 description: IgnoreTestFailures tells the controller to skip
1219 remediation when the Helm tests are run after an install
1220 action but fail. Defaults to 'Test.IgnoreFailures'.
1221 type: boolean
1222 remediateLastFailure:
1223 description: RemediateLastFailure tells the controller to
1224 remediate the last failure, when no retries remain. Defaults
1225 to 'false'.
1226 type: boolean
1227 retries:
1228 description: Retries is the number of retries that should
1229 be attempted on failures before bailing. Remediation, using
1230 an uninstall, is performed between each attempt. Defaults
1231 to '0', a negative integer equals to unlimited retries.
1232 type: integer
1233 type: object
1234 replace:
1235 description: Replace tells the Helm install action to re-use the
1236 'ReleaseName', but only if that name is a deleted release which
1237 remains in the history.
1238 type: boolean
1239 skipCRDs:
1240 description: "SkipCRDs tells the Helm install action to not install
1241 any CRDs. By default, CRDs are installed if not already present.
1242 \n Deprecated use CRD policy (`crds`) attribute with value `Skip`
1243 instead."
1244 type: boolean
1245 timeout:
1246 description: Timeout is the time to wait for any individual Kubernetes
1247 operation (like Jobs for hooks) during the performance of a
1248 Helm install action. Defaults to 'HelmReleaseSpec.Timeout'.
1249 type: string
1250 type: object
1251 interval:
1252 description: Interval at which to reconcile the Helm release.
1253 type: string
1254 kubeConfig:
1255 description: KubeConfig for reconciling the HelmRelease on a remote
1256 cluster. When specified, KubeConfig takes precedence over ServiceAccountName.
1257 properties:
1258 secretRef:
1259 description: SecretRef holds the name to a secret that contains
1260 a 'value' key with the kubeconfig file as the value. It must
1261 be in the same namespace as the HelmRelease. It is recommended
1262 that the kubeconfig is self-contained, and the secret is regularly
1263 updated if credentials such as a cloud-access-token expire.
1264 Cloud specific `cmd-path` auth helpers will not function without
1265 adding binaries and credentials to the Pod that is responsible
1266 for reconciling the HelmRelease.
1267 properties:
1268 name:
1269 description: Name of the referent
1270 type: string
1271 required:
1272 - name
1273 type: object
1274 type: object
1275 maxHistory:
1276 description: MaxHistory is the number of revisions saved by Helm for
1277 this HelmRelease. Use '0' for an unlimited number of revisions;
1278 defaults to '10'.
1279 type: integer
1280 postRenderers:
1281 description: PostRenderers holds an array of Helm PostRenderers, which
1282 will be applied in order of their definition.
1283 items:
1284 description: PostRenderer contains a Helm PostRenderer specification.
1285 properties:
1286 kustomize:
1287 description: Kustomization to apply as PostRenderer.
1288 properties:
1289 images:
1290 description: Images is a list of (image name, new name,
1291 new tag or digest) for changing image names, tags or digests.
1292 This can also be achieved with a patch, but this operator
1293 is simpler to specify.
1294 items:
1295 description: Image contains an image name, a new name,
1296 a new tag or digest, which will replace the original
1297 name and tag.
1298 properties:
1299 digest:
1300 description: Digest is the value used to replace the
1301 original image tag. If digest is present NewTag
1302 value is ignored.
1303 type: string
1304 name:
1305 description: Name is a tag-less image name.
1306 type: string
1307 newName:
1308 description: NewName is the value used to replace
1309 the original name.
1310 type: string
1311 newTag:
1312 description: NewTag is the value used to replace the
1313 original tag.
1314 type: string
1315 required:
1316 - name
1317 type: object
1318 type: array
1319 patchesJson6902:
1320 description: JSON 6902 patches, defined as inline YAML objects.
1321 items:
1322 description: JSON6902Patch contains a JSON6902 patch and
1323 the target the patch should be applied to.
1324 properties:
1325 patch:
1326 description: Patch contains the JSON6902 patch document
1327 with an array of operation objects.
1328 items:
1329 description: JSON6902 is a JSON6902 operation object.
1330 https://tools.ietf.org/html/rfc6902#section-4
1331 properties:
1332 from:
1333 type: string
1334 op:
1335 enum:
1336 - test
1337 - remove
1338 - add
1339 - replace
1340 - move
1341 - copy
1342 type: string
1343 path:
1344 type: string
1345 value:
1346 x-kubernetes-preserve-unknown-fields: true
1347 required:
1348 - op
1349 - path
1350 type: object
1351 type: array
1352 target:
1353 description: Target points to the resources that the
1354 patch document should be applied to.
1355 properties:
1356 annotationSelector:
1357 description: AnnotationSelector is a string that
1358 follows the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1359 It matches with the resource annotations.
1360 type: string
1361 group:
1362 description: Group is the API group to select
1363 resources from. Together with Version and Kind
1364 it is capable of unambiguously identifying and/or
1365 selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1366 type: string
1367 kind:
1368 description: Kind of the API Group to select resources
1369 from. Together with Group and Version it is
1370 capable of unambiguously identifying and/or
1371 selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1372 type: string
1373 labelSelector:
1374 description: LabelSelector is a string that follows
1375 the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
1376 It matches with the resource labels.
1377 type: string
1378 name:
1379 description: Name to match resources with.
1380 type: string
1381 namespace:
1382 description: Namespace to select resources from.
1383 type: string
1384 version:
1385 description: Version of the API Group to select
1386 resources from. Together with Group and Kind
1387 it is capable of unambiguously identifying and/or
1388 selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
1389 type: string
1390 type: object
1391 required:
1392 - patch
1393 - target
1394 type: object
1395 type: array
1396 patchesStrategicMerge:
1397 description: Strategic merge patches, defined as inline
1398 YAML objects.
1399 items:
1400 x-kubernetes-preserve-unknown-fields: true
1401 type: array
1402 type: object
1403 type: object
1404 type: array
1405 releaseName:
1406 description: ReleaseName used for the Helm release. Defaults to a
1407 composition of '[TargetNamespace-]Name'.
1408 maxLength: 53
1409 minLength: 1
1410 type: string
1411 rollback:
1412 description: Rollback holds the configuration for Helm rollback actions
1413 for this HelmRelease.
1414 properties:
1415 cleanupOnFail:
1416 description: CleanupOnFail allows deletion of new resources created
1417 during the Helm rollback action when it fails.
1418 type: boolean
1419 disableHooks:
1420 description: DisableHooks prevents hooks from running during the
1421 Helm rollback action.
1422 type: boolean
1423 disableWait:
1424 description: DisableWait disables the waiting for resources to
1425 be ready after a Helm rollback has been performed.
1426 type: boolean
1427 disableWaitForJobs:
1428 description: DisableWaitForJobs disables waiting for jobs to complete
1429 after a Helm rollback has been performed.
1430 type: boolean
1431 force:
1432 description: Force forces resource updates through a replacement
1433 strategy.
1434 type: boolean
1435 recreate:
1436 description: Recreate performs pod restarts for the resource if
1437 applicable.
1438 type: boolean
1439 timeout:
1440 description: Timeout is the time to wait for any individual Kubernetes
1441 operation (like Jobs for hooks) during the performance of a
1442 Helm rollback action. Defaults to 'HelmReleaseSpec.Timeout'.
1443 type: string
1444 type: object
1445 serviceAccountName:
1446 description: The name of the Kubernetes service account to impersonate
1447 when reconciling this HelmRelease.
1448 type: string
1449 storageNamespace:
1450 description: StorageNamespace used for the Helm storage. Defaults
1451 to the namespace of the HelmRelease.
1452 maxLength: 63
1453 minLength: 1
1454 type: string
1455 suspend:
1456 description: Suspend tells the controller to suspend reconciliation
1457 for this HelmRelease, it does not apply to already started reconciliations.
1458 Defaults to false.
1459 type: boolean
1460 targetNamespace:
1461 description: TargetNamespace to target when performing operations
1462 for the HelmRelease. Defaults to the namespace of the HelmRelease.
1463 maxLength: 63
1464 minLength: 1
1465 type: string
1466 test:
1467 description: Test holds the configuration for Helm test actions for
1468 this HelmRelease.
1469 properties:
1470 enable:
1471 description: Enable enables Helm test actions for this HelmRelease
1472 after an Helm install or upgrade action has been performed.
1473 type: boolean
1474 ignoreFailures:
1475 description: IgnoreFailures tells the controller to skip remediation
1476 when the Helm tests are run but fail. Can be overwritten for
1477 tests run after install or upgrade actions in 'Install.IgnoreTestFailures'
1478 and 'Upgrade.IgnoreTestFailures'.
1479 type: boolean
1480 timeout:
1481 description: Timeout is the time to wait for any individual Kubernetes
1482 operation during the performance of a Helm test action. Defaults
1483 to 'HelmReleaseSpec.Timeout'.
1484 type: string
1485 type: object
1486 timeout:
1487 description: Timeout is the time to wait for any individual Kubernetes
1488 operation (like Jobs for hooks) during the performance of a Helm
1489 action. Defaults to '5m0s'.
1490 type: string
1491 uninstall:
1492 description: Uninstall holds the configuration for Helm uninstall
1493 actions for this HelmRelease.
1494 properties:
1495 disableHooks:
1496 description: DisableHooks prevents hooks from running during the
1497 Helm rollback action.
1498 type: boolean
1499 keepHistory:
1500 description: KeepHistory tells Helm to remove all associated resources
1501 and mark the release as deleted, but retain the release history.
1502 type: boolean
1503 timeout:
1504 description: Timeout is the time to wait for any individual Kubernetes
1505 operation (like Jobs for hooks) during the performance of a
1506 Helm uninstall action. Defaults to 'HelmReleaseSpec.Timeout'.
1507 type: string
1508 type: object
1509 upgrade:
1510 description: Upgrade holds the configuration for Helm upgrade actions
1511 for this HelmRelease.
1512 properties:
1513 cleanupOnFail:
1514 description: CleanupOnFail allows deletion of new resources created
1515 during the Helm upgrade action when it fails.
1516 type: boolean
1517 crds:
1518 description: "CRDs upgrade CRDs from the Helm Chart's crds directory
1519 according to the CRD upgrade policy provided here. Valid values
1520 are `Skip`, `Create` or `CreateReplace`. Default is `Skip` and
1521 if omitted CRDs are neither installed nor upgraded. \n Skip:
1522 do neither install nor replace (update) any CRDs. \n Create:
1523 new CRDs are created, existing CRDs are neither updated nor
1524 deleted. \n CreateReplace: new CRDs are created, existing CRDs
1525 are updated (replaced) but not deleted. \n By default, CRDs
1526 are not applied during Helm upgrade action. With this option
1527 users can opt-in to CRD upgrade, which is not (yet) natively
1528 supported by Helm. https://helm.sh/docs/chart_best_practices/custom_resource_definitions."
1529 enum:
1530 - Skip
1531 - Create
1532 - CreateReplace
1533 type: string
1534 disableHooks:
1535 description: DisableHooks prevents hooks from running during the
1536 Helm upgrade action.
1537 type: boolean
1538 disableOpenAPIValidation:
1539 description: DisableOpenAPIValidation prevents the Helm upgrade
1540 action from validating rendered templates against the Kubernetes
1541 OpenAPI Schema.
1542 type: boolean
1543 disableWait:
1544 description: DisableWait disables the waiting for resources to
1545 be ready after a Helm upgrade has been performed.
1546 type: boolean
1547 disableWaitForJobs:
1548 description: DisableWaitForJobs disables waiting for jobs to complete
1549 after a Helm upgrade has been performed.
1550 type: boolean
1551 force:
1552 description: Force forces resource updates through a replacement
1553 strategy.
1554 type: boolean
1555 preserveValues:
1556 description: PreserveValues will make Helm reuse the last release's
1557 values and merge in overrides from 'Values'. Setting this flag
1558 makes the HelmRelease non-declarative.
1559 type: boolean
1560 remediation:
1561 description: Remediation holds the remediation configuration for
1562 when the Helm upgrade action for the HelmRelease fails. The
1563 default is to not perform any action.
1564 properties:
1565 ignoreTestFailures:
1566 description: IgnoreTestFailures tells the controller to skip
1567 remediation when the Helm tests are run after an upgrade
1568 action but fail. Defaults to 'Test.IgnoreFailures'.
1569 type: boolean
1570 remediateLastFailure:
1571 description: RemediateLastFailure tells the controller to
1572 remediate the last failure, when no retries remain. Defaults
1573 to 'false' unless 'Retries' is greater than 0.
1574 type: boolean
1575 retries:
1576 description: Retries is the number of retries that should
1577 be attempted on failures before bailing. Remediation, using
1578 'Strategy', is performed between each attempt. Defaults
1579 to '0', a negative integer equals to unlimited retries.
1580 type: integer
1581 strategy:
1582 description: Strategy to use for failure remediation. Defaults
1583 to 'rollback'.
1584 enum:
1585 - rollback
1586 - uninstall
1587 type: string
1588 type: object
1589 timeout:
1590 description: Timeout is the time to wait for any individual Kubernetes
1591 operation (like Jobs for hooks) during the performance of a
1592 Helm upgrade action. Defaults to 'HelmReleaseSpec.Timeout'.
1593 type: string
1594 type: object
1595 values:
1596 description: Values holds the values for this Helm release.
1597 x-kubernetes-preserve-unknown-fields: true
1598 valuesFrom:
1599 description: ValuesFrom holds references to resources containing Helm
1600 values for this HelmRelease, and information about how they should
1601 be merged.
1602 items:
1603 description: ValuesReference contains a reference to a resource
1604 containing Helm values, and optionally the key they can be found
1605 at.
1606 properties:
1607 kind:
1608 description: Kind of the values referent, valid values are ('Secret',
1609 'ConfigMap').
1610 enum:
1611 - Secret
1612 - ConfigMap
1613 type: string
1614 name:
1615 description: Name of the values referent. Should reside in the
1616 same namespace as the referring resource.
1617 maxLength: 253
1618 minLength: 1
1619 type: string
1620 optional:
1621 description: Optional marks this ValuesReference as optional.
1622 When set, a not found error for the values reference is ignored,
1623 but any ValuesKey, TargetPath or transient error will still
1624 result in a reconciliation failure.
1625 type: boolean
1626 targetPath:
1627 description: TargetPath is the YAML dot notation path the value
1628 should be merged at. When set, the ValuesKey is expected to
1629 be a single flat value. Defaults to 'None', which results
1630 in the values getting merged at the root.
1631 type: string
1632 valuesKey:
1633 description: ValuesKey is the data key where the values.yaml
1634 or a specific value can be found at. Defaults to 'values.yaml'.
1635 type: string
1636 required:
1637 - kind
1638 - name
1639 type: object
1640 type: array
1641 required:
1642 - chart
1643 - interval
1644 type: object
1645 status:
1646 default:
1647 observedGeneration: -1
1648 description: HelmReleaseStatus defines the observed state of a HelmRelease.
1649 properties:
1650 conditions:
1651 description: Conditions holds the conditions for the HelmRelease.
1652 items:
1653 description: "Condition contains details for one aspect of the current
1654 state of this API Resource. --- This struct is intended for direct
1655 use as an array at the field path .status.conditions. For example,
1656 type FooStatus struct{ // Represents the observations of a
1657 foo's current state. // Known .status.conditions.type are:
1658 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
1659 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
1660 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
1661 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
1662 \n // other fields }"
1663 properties:
1664 lastTransitionTime:
1665 description: lastTransitionTime is the last time the condition
1666 transitioned from one status to another. This should be when
1667 the underlying condition changed. If that is not known, then
1668 using the time when the API field changed is acceptable.
1669 format: date-time
1670 type: string
1671 message:
1672 description: message is a human readable message indicating
1673 details about the transition. This may be an empty string.
1674 maxLength: 32768
1675 type: string
1676 observedGeneration:
1677 description: observedGeneration represents the .metadata.generation
1678 that the condition was set based upon. For instance, if .metadata.generation
1679 is currently 12, but the .status.conditions[x].observedGeneration
1680 is 9, the condition is out of date with respect to the current
1681 state of the instance.
1682 format: int64
1683 minimum: 0
1684 type: integer
1685 reason:
1686 description: reason contains a programmatic identifier indicating
1687 the reason for the condition's last transition. Producers
1688 of specific condition types may define expected values and
1689 meanings for this field, and whether the values are considered
1690 a guaranteed API. The value should be a CamelCase string.
1691 This field may not be empty.
1692 maxLength: 1024
1693 minLength: 1
1694 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1695 type: string
1696 status:
1697 description: status of the condition, one of True, False, Unknown.
1698 enum:
1699 - "True"
1700 - "False"
1701 - Unknown
1702 type: string
1703 type:
1704 description: type of condition in CamelCase or in foo.example.com/CamelCase.
1705 --- Many .condition.type values are consistent across resources
1706 like Available, but because arbitrary conditions can be useful
1707 (see .node.status.conditions), the ability to deconflict is
1708 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
1709 maxLength: 316
1710 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])$
1711 type: string
1712 required:
1713 - lastTransitionTime
1714 - message
1715 - reason
1716 - status
1717 - type
1718 type: object
1719 type: array
1720 failures:
1721 description: Failures is the reconciliation failure count against
1722 the latest desired state. It is reset after a successful reconciliation.
1723 format: int64
1724 type: integer
1725 helmChart:
1726 description: HelmChart is the namespaced name of the HelmChart resource
1727 created by the controller for the HelmRelease.
1728 type: string
1729 installFailures:
1730 description: InstallFailures is the install failure count against
1731 the latest desired state. It is reset after a successful reconciliation.
1732 format: int64
1733 type: integer
1734 lastAppliedRevision:
1735 description: LastAppliedRevision is the revision of the last successfully
1736 applied source.
1737 type: string
1738 lastAttemptedRevision:
1739 description: LastAttemptedRevision is the revision of the last reconciliation
1740 attempt.
1741 type: string
1742 lastAttemptedValuesChecksum:
1743 description: LastAttemptedValuesChecksum is the SHA1 checksum of the
1744 values of the last reconciliation attempt.
1745 type: string
1746 lastHandledReconcileAt:
1747 description: LastHandledReconcileAt holds the value of the most recent
1748 reconcile request value, so a change can be detected.
1749 type: string
1750 lastReleaseRevision:
1751 description: LastReleaseRevision is the revision of the last successful
1752 Helm release.
1753 type: integer
1754 observedGeneration:
1755 description: ObservedGeneration is the last observed generation.
1756 format: int64
1757 type: integer
1758 upgradeFailures:
1759 description: UpgradeFailures is the upgrade failure count against
1760 the latest desired state. It is reset after a successful reconciliation.
1761 format: int64
1762 type: integer
1763 type: object
1764 type: object
1765 served: true
1766 storage: true
1767 subresources:
1768 status: {}
1769status:
1770 acceptedNames:
1771 kind: ""
1772 plural: ""
1773 conditions: []
1774 storedVersions: []
1775---
1776apiVersion: apiextensions.k8s.io/v1
1777kind: CustomResourceDefinition
1778metadata:
1779 annotations:
1780 controller-gen.kubebuilder.io/version: v0.5.0
1781 creationTimestamp: null
1782 labels:
1783 app.kubernetes.io/instance: flux-system
1784 app.kubernetes.io/part-of: flux
1785 app.kubernetes.io/version: v0.17.2
1786 name: helmrepositories.source.toolkit.fluxcd.io
1787spec:
1788 group: source.toolkit.fluxcd.io
1789 names:
1790 kind: HelmRepository
1791 listKind: HelmRepositoryList
1792 plural: helmrepositories
1793 shortNames:
1794 - helmrepo
1795 singular: helmrepository
1796 scope: Namespaced
1797 versions:
1798 - additionalPrinterColumns:
1799 - jsonPath: .spec.url
1800 name: URL
1801 type: string
1802 - jsonPath: .status.conditions[?(@.type=="Ready")].status
1803 name: Ready
1804 type: string
1805 - jsonPath: .status.conditions[?(@.type=="Ready")].message
1806 name: Status
1807 type: string
1808 - jsonPath: .metadata.creationTimestamp
1809 name: Age
1810 type: date
1811 name: v1beta1
1812 schema:
1813 openAPIV3Schema:
1814 description: HelmRepository is the Schema for the helmrepositories API
1815 properties:
1816 apiVersion:
1817 description: 'APIVersion defines the versioned schema of this representation
1818 of an object. Servers should convert recognized schemas to the latest
1819 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
1820 type: string
1821 kind:
1822 description: 'Kind is a string value representing the REST resource this
1823 object represents. Servers may infer this from the endpoint the client
1824 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
1825 type: string
1826 metadata:
1827 type: object
1828 spec:
1829 description: HelmRepositorySpec defines the reference to a Helm repository.
1830 properties:
1831 interval:
1832 description: The interval at which to check the upstream for updates.
1833 type: string
1834 passCredentials:
1835 description: PassCredentials allows the credentials from the SecretRef
1836 to be passed on to a host that does not match the host as defined
1837 in URL. This may be required if the host of the advertised chart
1838 URLs in the index differ from the defined URL. Enabling this should
1839 be done with caution, as it can potentially result in credentials
1840 getting stolen in a MITM-attack.
1841 type: boolean
1842 secretRef:
1843 description: The name of the secret containing authentication credentials
1844 for the Helm repository. For HTTP/S basic auth the secret must contain
1845 username and password fields. For TLS the secret must contain a
1846 certFile and keyFile, and/or caCert fields.
1847 properties:
1848 name:
1849 description: Name of the referent
1850 type: string
1851 required:
1852 - name
1853 type: object
1854 suspend:
1855 description: This flag tells the controller to suspend the reconciliation
1856 of this source.
1857 type: boolean
1858 timeout:
1859 default: 60s
1860 description: The timeout of index downloading, defaults to 60s.
1861 type: string
1862 url:
1863 description: The Helm repository URL, a valid URL contains at least
1864 a protocol and host.
1865 type: string
1866 required:
1867 - interval
1868 - url
1869 type: object
1870 status:
1871 description: HelmRepositoryStatus defines the observed state of the HelmRepository.
1872 properties:
1873 artifact:
1874 description: Artifact represents the output of the last successful
1875 repository sync.
1876 properties:
1877 checksum:
1878 description: Checksum is the SHA1 checksum of the artifact.
1879 type: string
1880 lastUpdateTime:
1881 description: LastUpdateTime is the timestamp corresponding to
1882 the last update of this artifact.
1883 format: date-time
1884 type: string
1885 path:
1886 description: Path is the relative file path of this artifact.
1887 type: string
1888 revision:
1889 description: Revision is a human readable identifier traceable
1890 in the origin source system. It can be a Git commit SHA, Git
1891 tag, a Helm index timestamp, a Helm chart version, etc.
1892 type: string
1893 url:
1894 description: URL is the HTTP address of this artifact.
1895 type: string
1896 required:
1897 - path
1898 - url
1899 type: object
1900 conditions:
1901 description: Conditions holds the conditions for the HelmRepository.
1902 items:
1903 description: "Condition contains details for one aspect of the current
1904 state of this API Resource. --- This struct is intended for direct
1905 use as an array at the field path .status.conditions. For example,
1906 type FooStatus struct{ // Represents the observations of a
1907 foo's current state. // Known .status.conditions.type are:
1908 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
1909 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
1910 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
1911 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
1912 \n // other fields }"
1913 properties:
1914 lastTransitionTime:
1915 description: lastTransitionTime is the last time the condition
1916 transitioned from one status to another. This should be when
1917 the underlying condition changed. If that is not known, then
1918 using the time when the API field changed is acceptable.
1919 format: date-time
1920 type: string
1921 message:
1922 description: message is a human readable message indicating
1923 details about the transition. This may be an empty string.
1924 maxLength: 32768
1925 type: string
1926 observedGeneration:
1927 description: observedGeneration represents the .metadata.generation
1928 that the condition was set based upon. For instance, if .metadata.generation
1929 is currently 12, but the .status.conditions[x].observedGeneration
1930 is 9, the condition is out of date with respect to the current
1931 state of the instance.
1932 format: int64
1933 minimum: 0
1934 type: integer
1935 reason:
1936 description: reason contains a programmatic identifier indicating
1937 the reason for the condition's last transition. Producers
1938 of specific condition types may define expected values and
1939 meanings for this field, and whether the values are considered
1940 a guaranteed API. The value should be a CamelCase string.
1941 This field may not be empty.
1942 maxLength: 1024
1943 minLength: 1
1944 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
1945 type: string
1946 status:
1947 description: status of the condition, one of True, False, Unknown.
1948 enum:
1949 - "True"
1950 - "False"
1951 - Unknown
1952 type: string
1953 type:
1954 description: type of condition in CamelCase or in foo.example.com/CamelCase.
1955 --- Many .condition.type values are consistent across resources
1956 like Available, but because arbitrary conditions can be useful
1957 (see .node.status.conditions), the ability to deconflict is
1958 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
1959 maxLength: 316
1960 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])$
1961 type: string
1962 required:
1963 - lastTransitionTime
1964 - message
1965 - reason
1966 - status
1967 - type
1968 type: object
1969 type: array
1970 lastHandledReconcileAt:
1971 description: LastHandledReconcileAt holds the value of the most recent
1972 reconcile request value, so a change can be detected.
1973 type: string
1974 observedGeneration:
1975 description: ObservedGeneration is the last observed generation.
1976 format: int64
1977 type: integer
1978 url:
1979 description: URL is the download link for the last index fetched.
1980 type: string
1981 type: object
1982 type: object
1983 served: true
1984 storage: true
1985 subresources:
1986 status: {}
1987status:
1988 acceptedNames:
1989 kind: ""
1990 plural: ""
1991 conditions: []
1992 storedVersions: []
1993---
1994apiVersion: apiextensions.k8s.io/v1
1995kind: CustomResourceDefinition
1996metadata:
1997 annotations:
1998 controller-gen.kubebuilder.io/version: v0.5.0
1999 creationTimestamp: null
2000 labels:
2001 app.kubernetes.io/instance: flux-system
2002 app.kubernetes.io/part-of: flux
2003 app.kubernetes.io/version: v0.17.2
2004 name: kustomizations.kustomize.toolkit.fluxcd.io
2005spec:
2006 group: kustomize.toolkit.fluxcd.io
2007 names:
2008 kind: Kustomization
2009 listKind: KustomizationList
2010 plural: kustomizations
2011 shortNames:
2012 - ks
2013 singular: kustomization
2014 scope: Namespaced
2015 versions:
2016 - additionalPrinterColumns:
2017 - jsonPath: .status.conditions[?(@.type=="Ready")].status
2018 name: Ready
2019 type: string
2020 - jsonPath: .status.conditions[?(@.type=="Ready")].message
2021 name: Status
2022 type: string
2023 - jsonPath: .metadata.creationTimestamp
2024 name: Age
2025 type: date
2026 name: v1beta1
2027 schema:
2028 openAPIV3Schema:
2029 description: Kustomization is the Schema for the kustomizations API.
2030 properties:
2031 apiVersion:
2032 description: 'APIVersion defines the versioned schema of this representation
2033 of an object. Servers should convert recognized schemas to the latest
2034 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2035 type: string
2036 kind:
2037 description: 'Kind is a string value representing the REST resource this
2038 object represents. Servers may infer this from the endpoint the client
2039 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
2040 type: string
2041 metadata:
2042 type: object
2043 spec:
2044 description: KustomizationSpec defines the desired state of a kustomization.
2045 properties:
2046 decryption:
2047 description: Decrypt Kubernetes secrets before applying them on the
2048 cluster.
2049 properties:
2050 provider:
2051 description: Provider is the name of the decryption engine.
2052 enum:
2053 - sops
2054 type: string
2055 secretRef:
2056 description: The secret name containing the private OpenPGP keys
2057 used for decryption.
2058 properties:
2059 name:
2060 description: Name of the referent
2061 type: string
2062 required:
2063 - name
2064 type: object
2065 required:
2066 - provider
2067 type: object
2068 dependsOn:
2069 description: DependsOn may contain a dependency.CrossNamespaceDependencyReference
2070 slice with references to Kustomization resources that must be ready
2071 before this Kustomization can be reconciled.
2072 items:
2073 description: CrossNamespaceDependencyReference holds the reference
2074 to a dependency.
2075 properties:
2076 name:
2077 description: Name holds the name reference of a dependency.
2078 type: string
2079 namespace:
2080 description: Namespace holds the namespace reference of a dependency.
2081 type: string
2082 required:
2083 - name
2084 type: object
2085 type: array
2086 force:
2087 default: false
2088 description: Force instructs the controller to recreate resources
2089 when patching fails due to an immutable field change.
2090 type: boolean
2091 healthChecks:
2092 description: A list of resources to be included in the health assessment.
2093 items:
2094 description: NamespacedObjectKindReference contains enough information
2095 to let you locate the typed referenced object in any namespace
2096 properties:
2097 apiVersion:
2098 description: API version of the referent, if not specified the
2099 Kubernetes preferred version will be used
2100 type: string
2101 kind:
2102 description: Kind of the referent
2103 type: string
2104 name:
2105 description: Name of the referent
2106 type: string
2107 namespace:
2108 description: Namespace of the referent, when not specified it
2109 acts as LocalObjectReference
2110 type: string
2111 required:
2112 - kind
2113 - name
2114 type: object
2115 type: array
2116 images:
2117 description: Images is a list of (image name, new name, new tag or
2118 digest) for changing image names, tags or digests. This can also
2119 be achieved with a patch, but this operator is simpler to specify.
2120 items:
2121 description: Image contains an image name, a new name, a new tag
2122 or digest, which will replace the original name and tag.
2123 properties:
2124 digest:
2125 description: Digest is the value used to replace the original
2126 image tag. If digest is present NewTag value is ignored.
2127 type: string
2128 name:
2129 description: Name is a tag-less image name.
2130 type: string
2131 newName:
2132 description: NewName is the value used to replace the original
2133 name.
2134 type: string
2135 newTag:
2136 description: NewTag is the value used to replace the original
2137 tag.
2138 type: string
2139 required:
2140 - name
2141 type: object
2142 type: array
2143 interval:
2144 description: The interval at which to reconcile the Kustomization.
2145 type: string
2146 kubeConfig:
2147 description: The KubeConfig for reconciling the Kustomization on a
2148 remote cluster. When specified, KubeConfig takes precedence over
2149 ServiceAccountName.
2150 properties:
2151 secretRef:
2152 description: SecretRef holds the name to a secret that contains
2153 a 'value' key with the kubeconfig file as the value. It must
2154 be in the same namespace as the Kustomization. It is recommended
2155 that the kubeconfig is self-contained, and the secret is regularly
2156 updated if credentials such as a cloud-access-token expire.
2157 Cloud specific `cmd-path` auth helpers will not function without
2158 adding binaries and credentials to the Pod that is responsible
2159 for reconciling the Kustomization.
2160 properties:
2161 name:
2162 description: Name of the referent
2163 type: string
2164 required:
2165 - name
2166 type: object
2167 type: object
2168 patches:
2169 description: Strategic merge and JSON patches, defined as inline YAML
2170 objects, capable of targeting objects based on kind, label and annotation
2171 selectors.
2172 items:
2173 description: Patch contains either a StrategicMerge or a JSON6902
2174 patch, either a file or inline, and the target the patch should
2175 be applied to.
2176 properties:
2177 patch:
2178 description: Patch contains the JSON6902 patch document with
2179 an array of operation objects.
2180 type: string
2181 target:
2182 description: Target points to the resources that the patch document
2183 should be applied to.
2184 properties:
2185 annotationSelector:
2186 description: AnnotationSelector is a string that follows
2187 the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2188 It matches with the resource annotations.
2189 type: string
2190 group:
2191 description: Group is the API group to select resources
2192 from. Together with Version and Kind it is capable of
2193 unambiguously identifying and/or selecting resources.
2194 https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2195 type: string
2196 kind:
2197 description: Kind of the API Group to select resources from.
2198 Together with Group and Version it is capable of unambiguously
2199 identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2200 type: string
2201 labelSelector:
2202 description: LabelSelector is a string that follows the
2203 label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2204 It matches with the resource labels.
2205 type: string
2206 name:
2207 description: Name to match resources with.
2208 type: string
2209 namespace:
2210 description: Namespace to select resources from.
2211 type: string
2212 version:
2213 description: Version of the API Group to select resources
2214 from. Together with Group and Kind it is capable of unambiguously
2215 identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2216 type: string
2217 type: object
2218 type: object
2219 type: array
2220 patchesJson6902:
2221 description: JSON 6902 patches, defined as inline YAML objects.
2222 items:
2223 description: JSON6902Patch contains a JSON6902 patch and the target
2224 the patch should be applied to.
2225 properties:
2226 patch:
2227 description: Patch contains the JSON6902 patch document with
2228 an array of operation objects.
2229 items:
2230 description: JSON6902 is a JSON6902 operation object. https://tools.ietf.org/html/rfc6902#section-4
2231 properties:
2232 from:
2233 type: string
2234 op:
2235 enum:
2236 - test
2237 - remove
2238 - add
2239 - replace
2240 - move
2241 - copy
2242 type: string
2243 path:
2244 type: string
2245 value:
2246 x-kubernetes-preserve-unknown-fields: true
2247 required:
2248 - op
2249 - path
2250 type: object
2251 type: array
2252 target:
2253 description: Target points to the resources that the patch document
2254 should be applied to.
2255 properties:
2256 annotationSelector:
2257 description: AnnotationSelector is a string that follows
2258 the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2259 It matches with the resource annotations.
2260 type: string
2261 group:
2262 description: Group is the API group to select resources
2263 from. Together with Version and Kind it is capable of
2264 unambiguously identifying and/or selecting resources.
2265 https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2266 type: string
2267 kind:
2268 description: Kind of the API Group to select resources from.
2269 Together with Group and Version it is capable of unambiguously
2270 identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2271 type: string
2272 labelSelector:
2273 description: LabelSelector is a string that follows the
2274 label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
2275 It matches with the resource labels.
2276 type: string
2277 name:
2278 description: Name to match resources with.
2279 type: string
2280 namespace:
2281 description: Namespace to select resources from.
2282 type: string
2283 version:
2284 description: Version of the API Group to select resources
2285 from. Together with Group and Kind it is capable of unambiguously
2286 identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
2287 type: string
2288 type: object
2289 required:
2290 - patch
2291 - target
2292 type: object
2293 type: array
2294 patchesStrategicMerge:
2295 description: Strategic merge patches, defined as inline YAML objects.
2296 items:
2297 x-kubernetes-preserve-unknown-fields: true
2298 type: array
2299 path:
2300 description: Path to the directory containing the kustomization.yaml
2301 file, or the set of plain YAMLs a kustomization.yaml should be generated
2302 for. Defaults to 'None', which translates to the root path of the
2303 SourceRef.
2304 type: string
2305 postBuild:
2306 description: PostBuild describes which actions to perform on the YAML
2307 manifest generated by building the kustomize overlay.
2308 properties:
2309 substitute:
2310 additionalProperties:
2311 type: string
2312 description: Substitute holds a map of key/value pairs. The variables
2313 defined in your YAML manifests that match any of the keys defined
2314 in the map will be substituted with the set value. Includes
2315 support for bash string replacement functions e.g. ${var:=default},
2316 ${var:position} and ${var/substring/replacement}.
2317 type: object
2318 substituteFrom:
2319 description: SubstituteFrom holds references to ConfigMaps and
2320 Secrets containing the variables and their values to be substituted
2321 in the YAML manifests. The ConfigMap and the Secret data keys
2322 represent the var names and they must match the vars declared
2323 in the manifests for the substitution to happen.
2324 items:
2325 description: SubstituteReference contains a reference to a resource
2326 containing the variables name and value.
2327 properties:
2328 kind:
2329 description: Kind of the values referent, valid values are
2330 ('Secret', 'ConfigMap').
2331 enum:
2332 - Secret
2333 - ConfigMap
2334 type: string
2335 name:
2336 description: Name of the values referent. Should reside
2337 in the same namespace as the referring resource.
2338 maxLength: 253
2339 minLength: 1
2340 type: string
2341 required:
2342 - kind
2343 - name
2344 type: object
2345 type: array
2346 type: object
2347 prune:
2348 description: Prune enables garbage collection.
2349 type: boolean
2350 retryInterval:
2351 description: The interval at which to retry a previously failed reconciliation.
2352 When not specified, the controller uses the KustomizationSpec.Interval
2353 value to retry failures.
2354 type: string
2355 serviceAccountName:
2356 description: The name of the Kubernetes service account to impersonate
2357 when reconciling this Kustomization.
2358 type: string
2359 sourceRef:
2360 description: Reference of the source where the kustomization file
2361 is.
2362 properties:
2363 apiVersion:
2364 description: API version of the referent
2365 type: string
2366 kind:
2367 description: Kind of the referent
2368 enum:
2369 - GitRepository
2370 - Bucket
2371 type: string
2372 name:
2373 description: Name of the referent
2374 type: string
2375 namespace:
2376 description: Namespace of the referent, defaults to the Kustomization
2377 namespace
2378 type: string
2379 required:
2380 - kind
2381 - name
2382 type: object
2383 suspend:
2384 description: This flag tells the controller to suspend subsequent
2385 kustomize executions, it does not apply to already started executions.
2386 Defaults to false.
2387 type: boolean
2388 targetNamespace:
2389 description: TargetNamespace sets or overrides the namespace in the
2390 kustomization.yaml file.
2391 maxLength: 63
2392 minLength: 1
2393 type: string
2394 timeout:
2395 description: Timeout for validation, apply and health checking operations.
2396 Defaults to 'Interval' duration.
2397 type: string
2398 validation:
2399 description: Validate the Kubernetes objects before applying them
2400 on the cluster. The validation strategy can be 'client' (local dry-run),
2401 'server' (APIServer dry-run) or 'none'. When 'Force' is 'true',
2402 validation will fallback to 'client' if set to 'server' because
2403 server-side validation is not supported in this scenario.
2404 enum:
2405 - none
2406 - client
2407 - server
2408 type: string
2409 required:
2410 - interval
2411 - prune
2412 - sourceRef
2413 type: object
2414 status:
2415 default:
2416 observedGeneration: -1
2417 description: KustomizationStatus defines the observed state of a kustomization.
2418 properties:
2419 conditions:
2420 items:
2421 description: "Condition contains details for one aspect of the current
2422 state of this API Resource. --- This struct is intended for direct
2423 use as an array at the field path .status.conditions. For example,
2424 type FooStatus struct{ // Represents the observations of a
2425 foo's current state. // Known .status.conditions.type are:
2426 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
2427 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
2428 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
2429 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
2430 \n // other fields }"
2431 properties:
2432 lastTransitionTime:
2433 description: lastTransitionTime is the last time the condition
2434 transitioned from one status to another. This should be when
2435 the underlying condition changed. If that is not known, then
2436 using the time when the API field changed is acceptable.
2437 format: date-time
2438 type: string
2439 message:
2440 description: message is a human readable message indicating
2441 details about the transition. This may be an empty string.
2442 maxLength: 32768
2443 type: string
2444 observedGeneration:
2445 description: observedGeneration represents the .metadata.generation
2446 that the condition was set based upon. For instance, if .metadata.generation
2447 is currently 12, but the .status.conditions[x].observedGeneration
2448 is 9, the condition is out of date with respect to the current
2449 state of the instance.
2450 format: int64
2451 minimum: 0
2452 type: integer
2453 reason:
2454 description: reason contains a programmatic identifier indicating
2455 the reason for the condition's last transition. Producers
2456 of specific condition types may define expected values and
2457 meanings for this field, and whether the values are considered
2458 a guaranteed API. The value should be a CamelCase string.
2459 This field may not be empty.
2460 maxLength: 1024
2461 minLength: 1
2462 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
2463 type: string
2464 status:
2465 description: status of the condition, one of True, False, Unknown.
2466 enum:
2467 - "True"
2468 - "False"
2469 - Unknown
2470 type: string
2471 type:
2472 description: type of condition in CamelCase or in foo.example.com/CamelCase.
2473 --- Many .condition.type values are consistent across resources
2474 like Available, but because arbitrary conditions can be useful
2475 (see .node.status.conditions), the ability to deconflict is
2476 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
2477 maxLength: 316
2478 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])$
2479 type: string
2480 required:
2481 - lastTransitionTime
2482 - message
2483 - reason
2484 - status
2485 - type
2486 type: object
2487 type: array
2488 lastAppliedRevision:
2489 description: The last successfully applied revision. The revision
2490 format for Git sources is <branch|tag>/<commit-sha>.
2491 type: string
2492 lastAttemptedRevision:
2493 description: LastAttemptedRevision is the revision of the last reconciliation
2494 attempt.
2495 type: string
2496 lastHandledReconcileAt:
2497 description: LastHandledReconcileAt holds the value of the most recent
2498 reconcile request value, so a change can be detected.
2499 type: string
2500 observedGeneration:
2501 description: ObservedGeneration is the last reconciled generation.
2502 format: int64
2503 type: integer
2504 snapshot:
2505 description: The last successfully applied revision metadata.
2506 properties:
2507 checksum:
2508 description: The manifests sha1 checksum.
2509 type: string
2510 entries:
2511 description: A list of Kubernetes kinds grouped by namespace.
2512 items:
2513 description: Snapshot holds the metadata of namespaced Kubernetes
2514 objects
2515 properties:
2516 kinds:
2517 additionalProperties:
2518 type: string
2519 description: The list of Kubernetes kinds.
2520 type: object
2521 namespace:
2522 description: The namespace of this entry.
2523 type: string
2524 required:
2525 - kinds
2526 type: object
2527 type: array
2528 required:
2529 - checksum
2530 - entries
2531 type: object
2532 type: object
2533 type: object
2534 served: true
2535 storage: true
2536 subresources:
2537 status: {}
2538status:
2539 acceptedNames:
2540 kind: ""
2541 plural: ""
2542 conditions: []
2543 storedVersions: []
2544---
2545apiVersion: apiextensions.k8s.io/v1
2546kind: CustomResourceDefinition
2547metadata:
2548 annotations:
2549 controller-gen.kubebuilder.io/version: v0.5.0
2550 creationTimestamp: null
2551 labels:
2552 app.kubernetes.io/instance: flux-system
2553 app.kubernetes.io/part-of: flux
2554 app.kubernetes.io/version: v0.17.2
2555 name: providers.notification.toolkit.fluxcd.io
2556spec:
2557 group: notification.toolkit.fluxcd.io
2558 names:
2559 kind: Provider
2560 listKind: ProviderList
2561 plural: providers
2562 singular: provider
2563 scope: Namespaced
2564 versions:
2565 - additionalPrinterColumns:
2566 - jsonPath: .status.conditions[?(@.type=="Ready")].status
2567 name: Ready
2568 type: string
2569 - jsonPath: .status.conditions[?(@.type=="Ready")].message
2570 name: Status
2571 type: string
2572 - jsonPath: .metadata.creationTimestamp
2573 name: Age
2574 type: date
2575 name: v1beta1
2576 schema:
2577 openAPIV3Schema:
2578 description: Provider is the Schema for the providers API
2579 properties:
2580 apiVersion:
2581 description: 'APIVersion defines the versioned schema of this representation
2582 of an object. Servers should convert recognized schemas to the latest
2583 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2584 type: string
2585 kind:
2586 description: 'Kind is a string value representing the REST resource this
2587 object represents. Servers may infer this from the endpoint the client
2588 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
2589 type: string
2590 metadata:
2591 type: object
2592 spec:
2593 description: ProviderSpec defines the desired state of Provider
2594 properties:
2595 address:
2596 description: HTTP/S webhook address of this provider
2597 pattern: ^(http|https)://
2598 type: string
2599 certSecretRef:
2600 description: CertSecretRef can be given the name of a secret containing
2601 a PEM-encoded CA certificate (`caFile`)
2602 properties:
2603 name:
2604 description: Name of the referent
2605 type: string
2606 required:
2607 - name
2608 type: object
2609 channel:
2610 description: Alert channel for this provider
2611 type: string
2612 proxy:
2613 description: HTTP/S address of the proxy
2614 pattern: ^(http|https)://
2615 type: string
2616 secretRef:
2617 description: Secret reference containing the provider webhook URL
2618 using "address" as data key
2619 properties:
2620 name:
2621 description: Name of the referent
2622 type: string
2623 required:
2624 - name
2625 type: object
2626 type:
2627 description: Type of provider
2628 enum:
2629 - slack
2630 - discord
2631 - msteams
2632 - rocket
2633 - generic
2634 - github
2635 - gitlab
2636 - bitbucket
2637 - azuredevops
2638 - googlechat
2639 - webex
2640 - sentry
2641 - azureeventhub
2642 - telegram
2643 - lark
2644 - matrix
2645 type: string
2646 username:
2647 description: Bot username for this provider
2648 type: string
2649 required:
2650 - type
2651 type: object
2652 status:
2653 description: ProviderStatus defines the observed state of Provider
2654 properties:
2655 conditions:
2656 items:
2657 description: "Condition contains details for one aspect of the current
2658 state of this API Resource. --- This struct is intended for direct
2659 use as an array at the field path .status.conditions. For example,
2660 type FooStatus struct{ // Represents the observations of a
2661 foo's current state. // Known .status.conditions.type are:
2662 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
2663 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
2664 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
2665 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
2666 \n // other fields }"
2667 properties:
2668 lastTransitionTime:
2669 description: lastTransitionTime is the last time the condition
2670 transitioned from one status to another. This should be when
2671 the underlying condition changed. If that is not known, then
2672 using the time when the API field changed is acceptable.
2673 format: date-time
2674 type: string
2675 message:
2676 description: message is a human readable message indicating
2677 details about the transition. This may be an empty string.
2678 maxLength: 32768
2679 type: string
2680 observedGeneration:
2681 description: observedGeneration represents the .metadata.generation
2682 that the condition was set based upon. For instance, if .metadata.generation
2683 is currently 12, but the .status.conditions[x].observedGeneration
2684 is 9, the condition is out of date with respect to the current
2685 state of the instance.
2686 format: int64
2687 minimum: 0
2688 type: integer
2689 reason:
2690 description: reason contains a programmatic identifier indicating
2691 the reason for the condition's last transition. Producers
2692 of specific condition types may define expected values and
2693 meanings for this field, and whether the values are considered
2694 a guaranteed API. The value should be a CamelCase string.
2695 This field may not be empty.
2696 maxLength: 1024
2697 minLength: 1
2698 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
2699 type: string
2700 status:
2701 description: status of the condition, one of True, False, Unknown.
2702 enum:
2703 - "True"
2704 - "False"
2705 - Unknown
2706 type: string
2707 type:
2708 description: type of condition in CamelCase or in foo.example.com/CamelCase.
2709 --- Many .condition.type values are consistent across resources
2710 like Available, but because arbitrary conditions can be useful
2711 (see .node.status.conditions), the ability to deconflict is
2712 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
2713 maxLength: 316
2714 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])$
2715 type: string
2716 required:
2717 - lastTransitionTime
2718 - message
2719 - reason
2720 - status
2721 - type
2722 type: object
2723 type: array
2724 type: object
2725 type: object
2726 served: true
2727 storage: true
2728 subresources:
2729 status: {}
2730status:
2731 acceptedNames:
2732 kind: ""
2733 plural: ""
2734 conditions: []
2735 storedVersions: []
2736---
2737apiVersion: apiextensions.k8s.io/v1
2738kind: CustomResourceDefinition
2739metadata:
2740 annotations:
2741 controller-gen.kubebuilder.io/version: v0.5.0
2742 creationTimestamp: null
2743 labels:
2744 app.kubernetes.io/instance: flux-system
2745 app.kubernetes.io/part-of: flux
2746 app.kubernetes.io/version: v0.17.2
2747 name: receivers.notification.toolkit.fluxcd.io
2748spec:
2749 group: notification.toolkit.fluxcd.io
2750 names:
2751 kind: Receiver
2752 listKind: ReceiverList
2753 plural: receivers
2754 singular: receiver
2755 scope: Namespaced
2756 versions:
2757 - additionalPrinterColumns:
2758 - jsonPath: .status.conditions[?(@.type=="Ready")].status
2759 name: Ready
2760 type: string
2761 - jsonPath: .status.conditions[?(@.type=="Ready")].message
2762 name: Status
2763 type: string
2764 - jsonPath: .metadata.creationTimestamp
2765 name: Age
2766 type: date
2767 name: v1beta1
2768 schema:
2769 openAPIV3Schema:
2770 description: Receiver is the Schema for the receivers API
2771 properties:
2772 apiVersion:
2773 description: 'APIVersion defines the versioned schema of this representation
2774 of an object. Servers should convert recognized schemas to the latest
2775 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
2776 type: string
2777 kind:
2778 description: 'Kind is a string value representing the REST resource this
2779 object represents. Servers may infer this from the endpoint the client
2780 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
2781 type: string
2782 metadata:
2783 type: object
2784 spec:
2785 description: ReceiverSpec defines the desired state of Receiver
2786 properties:
2787 events:
2788 description: A list of events to handle, e.g. 'push' for GitHub or
2789 'Push Hook' for GitLab.
2790 items:
2791 type: string
2792 type: array
2793 resources:
2794 description: A list of resources to be notified about changes.
2795 items:
2796 description: CrossNamespaceObjectReference contains enough information
2797 to let you locate the typed referenced object at cluster level
2798 properties:
2799 apiVersion:
2800 description: API version of the referent
2801 type: string
2802 kind:
2803 description: Kind of the referent
2804 enum:
2805 - Bucket
2806 - GitRepository
2807 - Kustomization
2808 - HelmRelease
2809 - HelmChart
2810 - HelmRepository
2811 - ImageRepository
2812 - ImagePolicy
2813 - ImageUpdateAutomation
2814 type: string
2815 name:
2816 description: Name of the referent
2817 maxLength: 53
2818 minLength: 1
2819 type: string
2820 namespace:
2821 description: Namespace of the referent
2822 maxLength: 53
2823 minLength: 1
2824 type: string
2825 required:
2826 - name
2827 type: object
2828 type: array
2829 secretRef:
2830 description: Secret reference containing the token used to validate
2831 the payload authenticity
2832 properties:
2833 name:
2834 description: Name of the referent
2835 type: string
2836 required:
2837 - name
2838 type: object
2839 suspend:
2840 description: This flag tells the controller to suspend subsequent
2841 events handling. Defaults to false.
2842 type: boolean
2843 type:
2844 description: Type of webhook sender, used to determine the validation
2845 procedure and payload deserialization.
2846 enum:
2847 - generic
2848 - generic-hmac
2849 - github
2850 - gitlab
2851 - bitbucket
2852 - harbor
2853 - dockerhub
2854 - quay
2855 - gcr
2856 - nexus
2857 - acr
2858 type: string
2859 required:
2860 - resources
2861 - type
2862 type: object
2863 status:
2864 description: ReceiverStatus defines the observed state of Receiver
2865 properties:
2866 conditions:
2867 items:
2868 description: "Condition contains details for one aspect of the current
2869 state of this API Resource. --- This struct is intended for direct
2870 use as an array at the field path .status.conditions. For example,
2871 type FooStatus struct{ // Represents the observations of a
2872 foo's current state. // Known .status.conditions.type are:
2873 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
2874 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
2875 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
2876 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
2877 \n // other fields }"
2878 properties:
2879 lastTransitionTime:
2880 description: lastTransitionTime is the last time the condition
2881 transitioned from one status to another. This should be when
2882 the underlying condition changed. If that is not known, then
2883 using the time when the API field changed is acceptable.
2884 format: date-time
2885 type: string
2886 message:
2887 description: message is a human readable message indicating
2888 details about the transition. This may be an empty string.
2889 maxLength: 32768
2890 type: string
2891 observedGeneration:
2892 description: observedGeneration represents the .metadata.generation
2893 that the condition was set based upon. For instance, if .metadata.generation
2894 is currently 12, but the .status.conditions[x].observedGeneration
2895 is 9, the condition is out of date with respect to the current
2896 state of the instance.
2897 format: int64
2898 minimum: 0
2899 type: integer
2900 reason:
2901 description: reason contains a programmatic identifier indicating
2902 the reason for the condition's last transition. Producers
2903 of specific condition types may define expected values and
2904 meanings for this field, and whether the values are considered
2905 a guaranteed API. The value should be a CamelCase string.
2906 This field may not be empty.
2907 maxLength: 1024
2908 minLength: 1
2909 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
2910 type: string
2911 status:
2912 description: status of the condition, one of True, False, Unknown.
2913 enum:
2914 - "True"
2915 - "False"
2916 - Unknown
2917 type: string
2918 type:
2919 description: type of condition in CamelCase or in foo.example.com/CamelCase.
2920 --- Many .condition.type values are consistent across resources
2921 like Available, but because arbitrary conditions can be useful
2922 (see .node.status.conditions), the ability to deconflict is
2923 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
2924 maxLength: 316
2925 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])$
2926 type: string
2927 required:
2928 - lastTransitionTime
2929 - message
2930 - reason
2931 - status
2932 - type
2933 type: object
2934 type: array
2935 observedGeneration:
2936 description: ObservedGeneration is the last observed generation.
2937 format: int64
2938 type: integer
2939 url:
2940 description: Generated webhook URL in the format of '/hook/sha256sum(token+name+namespace)'.
2941 type: string
2942 type: object
2943 type: object
2944 served: true
2945 storage: true
2946 subresources:
2947 status: {}
2948status:
2949 acceptedNames:
2950 kind: ""
2951 plural: ""
2952 conditions: []
2953 storedVersions: []
2954---
2955apiVersion: v1
2956kind: ServiceAccount
2957metadata:
2958 labels:
2959 app.kubernetes.io/instance: flux-system
2960 app.kubernetes.io/part-of: flux
2961 app.kubernetes.io/version: v0.17.2
2962 name: helm-controller
2963 namespace: flux-system
2964---
2965apiVersion: v1
2966kind: ServiceAccount
2967metadata:
2968 labels:
2969 app.kubernetes.io/instance: flux-system
2970 app.kubernetes.io/part-of: flux
2971 app.kubernetes.io/version: v0.17.2
2972 name: kustomize-controller
2973 namespace: flux-system
2974---
2975apiVersion: v1
2976kind: ServiceAccount
2977metadata:
2978 labels:
2979 app.kubernetes.io/instance: flux-system
2980 app.kubernetes.io/part-of: flux
2981 app.kubernetes.io/version: v0.17.2
2982 name: notification-controller
2983 namespace: flux-system
2984---
2985apiVersion: v1
2986kind: ServiceAccount
2987metadata:
2988 labels:
2989 app.kubernetes.io/instance: flux-system
2990 app.kubernetes.io/part-of: flux
2991 app.kubernetes.io/version: v0.17.2
2992 name: source-controller
2993 namespace: flux-system
2994---
2995apiVersion: rbac.authorization.k8s.io/v1
2996kind: ClusterRole
2997metadata:
2998 labels:
2999 app.kubernetes.io/instance: flux-system
3000 app.kubernetes.io/part-of: flux
3001 app.kubernetes.io/version: v0.17.2
3002 name: crd-controller-flux-system
3003rules:
3004- apiGroups:
3005 - source.toolkit.fluxcd.io
3006 resources:
3007 - '*'
3008 verbs:
3009 - '*'
3010- apiGroups:
3011 - kustomize.toolkit.fluxcd.io
3012 resources:
3013 - '*'
3014 verbs:
3015 - '*'
3016- apiGroups:
3017 - helm.toolkit.fluxcd.io
3018 resources:
3019 - '*'
3020 verbs:
3021 - '*'
3022- apiGroups:
3023 - notification.toolkit.fluxcd.io
3024 resources:
3025 - '*'
3026 verbs:
3027 - '*'
3028- apiGroups:
3029 - image.toolkit.fluxcd.io
3030 resources:
3031 - '*'
3032 verbs:
3033 - '*'
3034- apiGroups:
3035 - ""
3036 resources:
3037 - secrets
3038 verbs:
3039 - get
3040 - list
3041 - watch
3042- apiGroups:
3043 - ""
3044 resources:
3045 - events
3046 verbs:
3047 - create
3048 - patch
3049- apiGroups:
3050 - ""
3051 resources:
3052 - configmaps
3053 - configmaps/status
3054 verbs:
3055 - get
3056 - list
3057 - watch
3058 - create
3059 - update
3060 - patch
3061 - delete
3062- apiGroups:
3063 - coordination.k8s.io
3064 resources:
3065 - leases
3066 verbs:
3067 - get
3068 - list
3069 - watch
3070 - create
3071 - update
3072 - patch
3073 - delete
3074---
3075apiVersion: rbac.authorization.k8s.io/v1
3076kind: ClusterRoleBinding
3077metadata:
3078 labels:
3079 app.kubernetes.io/instance: flux-system
3080 app.kubernetes.io/part-of: flux
3081 app.kubernetes.io/version: v0.17.2
3082 name: cluster-reconciler-flux-system
3083roleRef:
3084 apiGroup: rbac.authorization.k8s.io
3085 kind: ClusterRole
3086 name: cluster-admin
3087subjects:
3088- kind: ServiceAccount
3089 name: kustomize-controller
3090 namespace: flux-system
3091- kind: ServiceAccount
3092 name: helm-controller
3093 namespace: flux-system
3094---
3095apiVersion: rbac.authorization.k8s.io/v1
3096kind: ClusterRoleBinding
3097metadata:
3098 labels:
3099 app.kubernetes.io/instance: flux-system
3100 app.kubernetes.io/part-of: flux
3101 app.kubernetes.io/version: v0.17.2
3102 name: crd-controller-flux-system
3103roleRef:
3104 apiGroup: rbac.authorization.k8s.io
3105 kind: ClusterRole
3106 name: crd-controller-flux-system
3107subjects:
3108- kind: ServiceAccount
3109 name: kustomize-controller
3110 namespace: flux-system
3111- kind: ServiceAccount
3112 name: helm-controller
3113 namespace: flux-system
3114- kind: ServiceAccount
3115 name: source-controller
3116 namespace: flux-system
3117- kind: ServiceAccount
3118 name: notification-controller
3119 namespace: flux-system
3120- kind: ServiceAccount
3121 name: image-reflector-controller
3122 namespace: flux-system
3123- kind: ServiceAccount
3124 name: image-automation-controller
3125 namespace: flux-system
3126---
3127apiVersion: v1
3128kind: Service
3129metadata:
3130 labels:
3131 app.kubernetes.io/instance: flux-system
3132 app.kubernetes.io/part-of: flux
3133 app.kubernetes.io/version: v0.17.2
3134 control-plane: controller
3135 name: notification-controller
3136 namespace: flux-system
3137spec:
3138 ports:
3139 - name: http
3140 port: 80
3141 protocol: TCP
3142 targetPort: http
3143 selector:
3144 app: notification-controller
3145 type: ClusterIP
3146---
3147apiVersion: v1
3148kind: Service
3149metadata:
3150 labels:
3151 app.kubernetes.io/instance: flux-system
3152 app.kubernetes.io/part-of: flux
3153 app.kubernetes.io/version: v0.17.2
3154 control-plane: controller
3155 name: source-controller
3156 namespace: flux-system
3157spec:
3158 ports:
3159 - name: http
3160 port: 80
3161 protocol: TCP
3162 targetPort: http
3163 selector:
3164 app: source-controller
3165 type: ClusterIP
3166---
3167apiVersion: v1
3168kind: Service
3169metadata:
3170 labels:
3171 app.kubernetes.io/instance: flux-system
3172 app.kubernetes.io/part-of: flux
3173 app.kubernetes.io/version: v0.17.2
3174 control-plane: controller
3175 name: webhook-receiver
3176 namespace: flux-system
3177spec:
3178 ports:
3179 - name: http
3180 port: 80
3181 protocol: TCP
3182 targetPort: http-webhook
3183 selector:
3184 app: notification-controller
3185 type: ClusterIP
3186---
3187apiVersion: apps/v1
3188kind: Deployment
3189metadata:
3190 labels:
3191 app.kubernetes.io/instance: flux-system
3192 app.kubernetes.io/part-of: flux
3193 app.kubernetes.io/version: v0.17.2
3194 control-plane: controller
3195 name: helm-controller
3196 namespace: flux-system
3197spec:
3198 replicas: 1
3199 selector:
3200 matchLabels:
3201 app: helm-controller
3202 template:
3203 metadata:
3204 annotations:
3205 prometheus.io/port: "8080"
3206 prometheus.io/scrape: "true"
3207 labels:
3208 app: helm-controller
3209 spec:
3210 containers:
3211 - args:
3212 - --events-addr=http://notification-controller/
3213 - --watch-all-namespaces=true
3214 - --log-level=info
3215 - --log-encoding=json
3216 - --enable-leader-election
3217 env:
3218 - name: RUNTIME_NAMESPACE
3219 valueFrom:
3220 fieldRef:
3221 fieldPath: metadata.namespace
3222 image: ghcr.io/fluxcd/helm-controller:v0.11.2
3223 imagePullPolicy: IfNotPresent
3224 livenessProbe:
3225 httpGet:
3226 path: /healthz
3227 port: healthz
3228 name: manager
3229 ports:
3230 - containerPort: 8080
3231 name: http-prom
3232 - containerPort: 9440
3233 name: healthz
3234 protocol: TCP
3235 readinessProbe:
3236 httpGet:
3237 path: /readyz
3238 port: healthz
3239 resources:
3240 limits:
3241 cpu: 1000m
3242 memory: 1Gi
3243 requests:
3244 cpu: 100m
3245 memory: 64Mi
3246 securityContext:
3247 allowPrivilegeEscalation: false
3248 readOnlyRootFilesystem: true
3249 volumeMounts:
3250 - mountPath: /tmp
3251 name: temp
3252 nodeSelector:
3253 kubernetes.io/os: linux
3254 serviceAccountName: helm-controller
3255 terminationGracePeriodSeconds: 600
3256 volumes:
3257 - emptyDir: {}
3258 name: temp
3259---
3260apiVersion: apps/v1
3261kind: Deployment
3262metadata:
3263 labels:
3264 app.kubernetes.io/instance: flux-system
3265 app.kubernetes.io/part-of: flux
3266 app.kubernetes.io/version: v0.17.2
3267 control-plane: controller
3268 name: kustomize-controller
3269 namespace: flux-system
3270spec:
3271 replicas: 1
3272 selector:
3273 matchLabels:
3274 app: kustomize-controller
3275 template:
3276 metadata:
3277 annotations:
3278 prometheus.io/port: "8080"
3279 prometheus.io/scrape: "true"
3280 labels:
3281 app: kustomize-controller
3282 spec:
3283 containers:
3284 - args:
3285 - --events-addr=http://notification-controller/
3286 - --watch-all-namespaces=true
3287 - --log-level=info
3288 - --log-encoding=json
3289 - --enable-leader-election
3290 env:
3291 - name: RUNTIME_NAMESPACE
3292 valueFrom:
3293 fieldRef:
3294 fieldPath: metadata.namespace
3295 image: ghcr.io/fluxcd/kustomize-controller:v0.14.1
3296 imagePullPolicy: IfNotPresent
3297 livenessProbe:
3298 httpGet:
3299 path: /healthz
3300 port: healthz
3301 name: manager
3302 ports:
3303 - containerPort: 8080
3304 name: http-prom
3305 - containerPort: 9440
3306 name: healthz
3307 protocol: TCP
3308 readinessProbe:
3309 httpGet:
3310 path: /readyz
3311 port: healthz
3312 resources:
3313 limits:
3314 cpu: 1000m
3315 memory: 1Gi
3316 requests:
3317 cpu: 100m
3318 memory: 64Mi
3319 securityContext:
3320 allowPrivilegeEscalation: false
3321 readOnlyRootFilesystem: true
3322 volumeMounts:
3323 - mountPath: /tmp
3324 name: temp
3325 nodeSelector:
3326 kubernetes.io/os: linux
3327 securityContext:
3328 fsGroup: 1337
3329 serviceAccountName: kustomize-controller
3330 terminationGracePeriodSeconds: 60
3331 volumes:
3332 - emptyDir: {}
3333 name: temp
3334---
3335apiVersion: apps/v1
3336kind: Deployment
3337metadata:
3338 labels:
3339 app.kubernetes.io/instance: flux-system
3340 app.kubernetes.io/part-of: flux
3341 app.kubernetes.io/version: v0.17.2
3342 control-plane: controller
3343 name: notification-controller
3344 namespace: flux-system
3345spec:
3346 replicas: 1
3347 selector:
3348 matchLabels:
3349 app: notification-controller
3350 template:
3351 metadata:
3352 annotations:
3353 prometheus.io/port: "8080"
3354 prometheus.io/scrape: "true"
3355 labels:
3356 app: notification-controller
3357 spec:
3358 containers:
3359 - args:
3360 - --watch-all-namespaces=true
3361 - --log-level=info
3362 - --log-encoding=json
3363 - --enable-leader-election
3364 env:
3365 - name: RUNTIME_NAMESPACE
3366 valueFrom:
3367 fieldRef:
3368 fieldPath: metadata.namespace
3369 image: ghcr.io/fluxcd/notification-controller:v0.16.0
3370 imagePullPolicy: IfNotPresent
3371 livenessProbe:
3372 httpGet:
3373 path: /healthz
3374 port: healthz
3375 name: manager
3376 ports:
3377 - containerPort: 9090
3378 name: http
3379 - containerPort: 9292
3380 name: http-webhook
3381 - containerPort: 8080
3382 name: http-prom
3383 - containerPort: 9440
3384 name: healthz
3385 protocol: TCP
3386 readinessProbe:
3387 httpGet:
3388 path: /readyz
3389 port: healthz
3390 resources:
3391 limits:
3392 cpu: 1000m
3393 memory: 1Gi
3394 requests:
3395 cpu: 100m
3396 memory: 64Mi
3397 securityContext:
3398 allowPrivilegeEscalation: false
3399 readOnlyRootFilesystem: true
3400 volumeMounts:
3401 - mountPath: /tmp
3402 name: temp
3403 nodeSelector:
3404 kubernetes.io/os: linux
3405 serviceAccountName: notification-controller
3406 terminationGracePeriodSeconds: 10
3407 volumes:
3408 - emptyDir: {}
3409 name: temp
3410---
3411apiVersion: apps/v1
3412kind: Deployment
3413metadata:
3414 labels:
3415 app.kubernetes.io/instance: flux-system
3416 app.kubernetes.io/part-of: flux
3417 app.kubernetes.io/version: v0.17.2
3418 control-plane: controller
3419 name: source-controller
3420 namespace: flux-system
3421spec:
3422 replicas: 1
3423 selector:
3424 matchLabels:
3425 app: source-controller
3426 strategy:
3427 type: Recreate
3428 template:
3429 metadata:
3430 annotations:
3431 prometheus.io/port: "8080"
3432 prometheus.io/scrape: "true"
3433 labels:
3434 app: source-controller
3435 spec:
3436 containers:
3437 - args:
3438 - --events-addr=http://notification-controller/
3439 - --watch-all-namespaces=true
3440 - --log-level=info
3441 - --log-encoding=json
3442 - --enable-leader-election
3443 - --storage-path=/data
3444 - --storage-adv-addr=source-controller.$(RUNTIME_NAMESPACE).svc.cluster.local.
3445 env:
3446 - name: RUNTIME_NAMESPACE
3447 valueFrom:
3448 fieldRef:
3449 fieldPath: metadata.namespace
3450 image: ghcr.io/fluxcd/source-controller:v0.15.4
3451 imagePullPolicy: IfNotPresent
3452 livenessProbe:
3453 httpGet:
3454 path: /healthz
3455 port: healthz
3456 name: manager
3457 ports:
3458 - containerPort: 9090
3459 name: http
3460 - containerPort: 8080
3461 name: http-prom
3462 - containerPort: 9440
3463 name: healthz
3464 readinessProbe:
3465 httpGet:
3466 path: /
3467 port: http
3468 resources:
3469 limits:
3470 cpu: 1000m
3471 memory: 1Gi
3472 requests:
3473 cpu: 50m
3474 memory: 64Mi
3475 securityContext:
3476 allowPrivilegeEscalation: false
3477 readOnlyRootFilesystem: true
3478 volumeMounts:
3479 - mountPath: /data
3480 name: data
3481 - mountPath: /tmp
3482 name: tmp
3483 nodeSelector:
3484 kubernetes.io/os: linux
3485 securityContext:
3486 fsGroup: 1337
3487 serviceAccountName: source-controller
3488 terminationGracePeriodSeconds: 10
3489 volumes:
3490 - emptyDir: {}
3491 name: data
3492 - emptyDir: {}
3493 name: tmp
3494---
3495apiVersion: networking.k8s.io/v1
3496kind: NetworkPolicy
3497metadata:
3498 labels:
3499 app.kubernetes.io/instance: flux-system
3500 app.kubernetes.io/part-of: flux
3501 app.kubernetes.io/version: v0.17.2
3502 name: allow-egress
3503 namespace: flux-system
3504spec:
3505 egress:
3506 - {}
3507 ingress:
3508 - from:
3509 - podSelector: {}
3510 podSelector: {}
3511 policyTypes:
3512 - Ingress
3513 - Egress
3514---
3515apiVersion: networking.k8s.io/v1
3516kind: NetworkPolicy
3517metadata:
3518 labels:
3519 app.kubernetes.io/instance: flux-system
3520 app.kubernetes.io/part-of: flux
3521 app.kubernetes.io/version: v0.17.2
3522 name: allow-scraping
3523 namespace: flux-system
3524spec:
3525 ingress:
3526 - from:
3527 - namespaceSelector: {}
3528 ports:
3529 - port: 8080
3530 protocol: TCP
3531 podSelector: {}
3532 policyTypes:
3533 - Ingress
3534---
3535apiVersion: networking.k8s.io/v1
3536kind: NetworkPolicy
3537metadata:
3538 labels:
3539 app.kubernetes.io/instance: flux-system
3540 app.kubernetes.io/part-of: flux
3541 app.kubernetes.io/version: v0.17.2
3542 name: allow-webhooks
3543 namespace: flux-system
3544spec:
3545 ingress:
3546 - from:
3547 - namespaceSelector: {}
3548 podSelector:
3549 matchLabels:
3550 app: notification-controller
3551 policyTypes:
3552 - Ingress