1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 controller-gen.kubebuilder.io/version: v0.5.0
6 creationTimestamp: null
7 name: helmreleases.helm.toolkit.fluxcd.io
8spec:
9 group: helm.toolkit.fluxcd.io
10 names:
11 kind: HelmRelease
12 listKind: HelmReleaseList
13 plural: helmreleases
14 shortNames:
15 - hr
16 singular: helmrelease
17 scope: Namespaced
18 versions:
19 - additionalPrinterColumns:
20 - jsonPath: .status.conditions[?(@.type=="Ready")].status
21 name: Ready
22 type: string
23 - jsonPath: .status.conditions[?(@.type=="Ready")].message
24 name: Status
25 type: string
26 - jsonPath: .metadata.creationTimestamp
27 name: Age
28 type: date
29 name: v2beta1
30 schema:
31 openAPIV3Schema:
32 description: HelmRelease is the Schema for the helmreleases API
33 properties:
34 apiVersion:
35 description: 'APIVersion defines the versioned schema of this representation
36 of an object. Servers should convert recognized schemas to the latest
37 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
38 type: string
39 kind:
40 description: 'Kind is a string value representing the REST resource this
41 object represents. Servers may infer this from the endpoint the client
42 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
43 type: string
44 metadata:
45 type: object
46 spec:
47 description: HelmReleaseSpec defines the desired state of a Helm release.
48 properties:
49 chart:
50 description: Chart defines the template of the v1beta1.HelmChart that
51 should be created for this HelmRelease.
52 properties:
53 spec:
54 description: Spec holds the template for the v1beta1.HelmChartSpec
55 for this HelmRelease.
56 properties:
57 chart:
58 description: The name or path the Helm chart is available
59 at in the SourceRef.
60 type: string
61 interval:
62 description: Interval at which to check the v1beta1.Source
63 for updates. Defaults to 'HelmReleaseSpec.Interval'.
64 type: string
65 reconcileStrategy:
66 default: ChartVersion
67 description: Determines what enables the creation of a new
68 artifact. Valid values are ('ChartVersion', 'Revision').
69 See the documentation of the values for an explanation on
70 their behavior. Defaults to ChartVersion when omitted.
71 enum:
72 - ChartVersion
73 - Revision
74 type: string
75 sourceRef:
76 description: The name and namespace of the v1beta1.Source
77 the chart is available at.
78 properties:
79 apiVersion:
80 description: APIVersion of the referent.
81 type: string
82 kind:
83 description: Kind of the referent.
84 enum:
85 - HelmRepository
86 - GitRepository
87 - Bucket
88 type: string
89 name:
90 description: Name of the referent.
91 maxLength: 253
92 minLength: 1
93 type: string
94 namespace:
95 description: Namespace of the referent.
96 maxLength: 63
97 minLength: 1
98 type: string
99 required:
100 - name
101 type: object
102 valuesFile:
103 description: Alternative values file to use as the default
104 chart values, expected to be a relative path in the SourceRef.
105 Deprecated in favor of ValuesFiles, for backwards compatibility
106 the file defined here is merged before the ValuesFiles items.
107 Ignored when omitted.
108 type: string
109 valuesFiles:
110 description: Alternative list of values files to use as the
111 chart values (values.yaml is not included by default), expected
112 to be a relative path in the SourceRef. Values files are
113 merged in the order of this list with the last file overriding
114 the first. Ignored when omitted.
115 items:
116 type: string
117 type: array
118 version:
119 default: '*'
120 description: Version semver expression, ignored for charts
121 from v1beta1.GitRepository and v1beta1.Bucket sources. Defaults
122 to latest when omitted.
123 type: string
124 required:
125 - chart
126 - sourceRef
127 type: object
128 required:
129 - spec
130 type: object
131 dependsOn:
132 description: DependsOn may contain a dependency.CrossNamespaceDependencyReference
133 slice with references to HelmRelease resources that must be ready
134 before this HelmRelease can be reconciled.
135 items:
136 description: CrossNamespaceDependencyReference holds the reference
137 to a dependency.
138 properties:
139 name:
140 description: Name holds the name reference of a dependency.
141 type: string
142 namespace:
143 description: Namespace holds the namespace reference of a dependency.
144 type: string
145 required:
146 - name
147 type: object
148 type: array
149 install:
150 description: Install holds the configuration for Helm install actions
151 for this HelmRelease.
152 properties:
153 crds:
154 description: "CRDs upgrade CRDs from the Helm Chart's crds directory
155 according to the CRD upgrade policy provided here. Valid values
156 are `Skip`, `Create` or `CreateReplace`. Default is `Create`
157 and if omitted CRDs are installed but not updated. \n Skip:
158 do neither install nor replace (update) any CRDs. \n Create:
159 new CRDs are created, existing CRDs are neither updated nor
160 deleted. \n CreateReplace: new CRDs are created, existing CRDs
161 are updated (replaced) but not deleted. \n By default, CRDs
162 are applied (installed) during Helm install action. With this
163 option users can opt-in to CRD replace existing CRDs on Helm
164 install actions, which is not (yet) natively supported by Helm.
165 https://helm.sh/docs/chart_best_practices/custom_resource_definitions."
166 enum:
167 - Skip
168 - Create
169 - CreateReplace
170 type: string
171 createNamespace:
172 description: CreateNamespace tells the Helm install action to
173 create the HelmReleaseSpec.TargetNamespace if it does not exist
174 yet. On uninstall, the namespace will not be garbage collected.
175 type: boolean
176 disableHooks:
177 description: DisableHooks prevents hooks from running during the
178 Helm install action.
179 type: boolean
180 disableOpenAPIValidation:
181 description: DisableOpenAPIValidation prevents the Helm install
182 action from validating rendered templates against the Kubernetes
183 OpenAPI Schema.
184 type: boolean
185 disableWait:
186 description: DisableWait disables the waiting for resources to
187 be ready after a Helm install has been performed.
188 type: boolean
189 disableWaitForJobs:
190 description: DisableWaitForJobs disables waiting for jobs to complete
191 after a Helm install has been performed.
192 type: boolean
193 remediation:
194 description: Remediation holds the remediation configuration for
195 when the Helm install action for the HelmRelease fails. The
196 default is to not perform any action.
197 properties:
198 ignoreTestFailures:
199 description: IgnoreTestFailures tells the controller to skip
200 remediation when the Helm tests are run after an install
201 action but fail. Defaults to 'Test.IgnoreFailures'.
202 type: boolean
203 remediateLastFailure:
204 description: RemediateLastFailure tells the controller to
205 remediate the last failure, when no retries remain. Defaults
206 to 'false'.
207 type: boolean
208 retries:
209 description: Retries is the number of retries that should
210 be attempted on failures before bailing. Remediation, using
211 an uninstall, is performed between each attempt. Defaults
212 to '0', a negative integer equals to unlimited retries.
213 type: integer
214 type: object
215 replace:
216 description: Replace tells the Helm install action to re-use the
217 'ReleaseName', but only if that name is a deleted release which
218 remains in the history.
219 type: boolean
220 skipCRDs:
221 description: "SkipCRDs tells the Helm install action to not install
222 any CRDs. By default, CRDs are installed if not already present.
223 \n Deprecated use CRD policy (`crds`) attribute with value `Skip`
224 instead."
225 type: boolean
226 timeout:
227 description: Timeout is the time to wait for any individual Kubernetes
228 operation (like Jobs for hooks) during the performance of a
229 Helm install action. Defaults to 'HelmReleaseSpec.Timeout'.
230 type: string
231 type: object
232 interval:
233 description: Interval at which to reconcile the Helm release.
234 type: string
235 kubeConfig:
236 description: KubeConfig for reconciling the HelmRelease on a remote
237 cluster. When specified, KubeConfig takes precedence over ServiceAccountName.
238 properties:
239 secretRef:
240 description: SecretRef holds the name to a secret that contains
241 a 'value' key with the kubeconfig file as the value. It must
242 be in the same namespace as the HelmRelease. It is recommended
243 that the kubeconfig is self-contained, and the secret is regularly
244 updated if credentials such as a cloud-access-token expire.
245 Cloud specific `cmd-path` auth helpers will not function without
246 adding binaries and credentials to the Pod that is responsible
247 for reconciling the HelmRelease.
248 properties:
249 name:
250 description: Name of the referent
251 type: string
252 required:
253 - name
254 type: object
255 type: object
256 maxHistory:
257 description: MaxHistory is the number of revisions saved by Helm for
258 this HelmRelease. Use '0' for an unlimited number of revisions;
259 defaults to '10'.
260 type: integer
261 postRenderers:
262 description: PostRenderers holds an array of Helm PostRenderers, which
263 will be applied in order of their definition.
264 items:
265 description: PostRenderer contains a Helm PostRenderer specification.
266 properties:
267 kustomize:
268 description: Kustomization to apply as PostRenderer.
269 properties:
270 images:
271 description: Images is a list of (image name, new name,
272 new tag or digest) for changing image names, tags or digests.
273 This can also be achieved with a patch, but this operator
274 is simpler to specify.
275 items:
276 description: Image contains an image name, a new name,
277 a new tag or digest, which will replace the original
278 name and tag.
279 properties:
280 digest:
281 description: Digest is the value used to replace the
282 original image tag. If digest is present NewTag
283 value is ignored.
284 type: string
285 name:
286 description: Name is a tag-less image name.
287 type: string
288 newName:
289 description: NewName is the value used to replace
290 the original name.
291 type: string
292 newTag:
293 description: NewTag is the value used to replace the
294 original tag.
295 type: string
296 required:
297 - name
298 type: object
299 type: array
300 patchesJson6902:
301 description: JSON 6902 patches, defined as inline YAML objects.
302 items:
303 description: JSON6902Patch contains a JSON6902 patch and
304 the target the patch should be applied to.
305 properties:
306 patch:
307 description: Patch contains the JSON6902 patch document
308 with an array of operation objects.
309 items:
310 description: JSON6902 is a JSON6902 operation object.
311 https://tools.ietf.org/html/rfc6902#section-4
312 properties:
313 from:
314 type: string
315 op:
316 enum:
317 - test
318 - remove
319 - add
320 - replace
321 - move
322 - copy
323 type: string
324 path:
325 type: string
326 value:
327 x-kubernetes-preserve-unknown-fields: true
328 required:
329 - op
330 - path
331 type: object
332 type: array
333 target:
334 description: Target points to the resources that the
335 patch document should be applied to.
336 properties:
337 annotationSelector:
338 description: AnnotationSelector is a string that
339 follows the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
340 It matches with the resource annotations.
341 type: string
342 group:
343 description: Group is the API group to select
344 resources from. Together with Version and Kind
345 it is capable of unambiguously identifying and/or
346 selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
347 type: string
348 kind:
349 description: Kind of the API Group to select resources
350 from. Together with Group and Version it is
351 capable of unambiguously identifying and/or
352 selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
353 type: string
354 labelSelector:
355 description: LabelSelector is a string that follows
356 the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api
357 It matches with the resource labels.
358 type: string
359 name:
360 description: Name to match resources with.
361 type: string
362 namespace:
363 description: Namespace to select resources from.
364 type: string
365 version:
366 description: Version of the API Group to select
367 resources from. Together with Group and Kind
368 it is capable of unambiguously identifying and/or
369 selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md
370 type: string
371 type: object
372 required:
373 - patch
374 - target
375 type: object
376 type: array
377 patchesStrategicMerge:
378 description: Strategic merge patches, defined as inline
379 YAML objects.
380 items:
381 x-kubernetes-preserve-unknown-fields: true
382 type: array
383 type: object
384 type: object
385 type: array
386 releaseName:
387 description: ReleaseName used for the Helm release. Defaults to a
388 composition of '[TargetNamespace-]Name'.
389 maxLength: 53
390 minLength: 1
391 type: string
392 rollback:
393 description: Rollback holds the configuration for Helm rollback actions
394 for this HelmRelease.
395 properties:
396 cleanupOnFail:
397 description: CleanupOnFail allows deletion of new resources created
398 during the Helm rollback action when it fails.
399 type: boolean
400 disableHooks:
401 description: DisableHooks prevents hooks from running during the
402 Helm rollback action.
403 type: boolean
404 disableWait:
405 description: DisableWait disables the waiting for resources to
406 be ready after a Helm rollback has been performed.
407 type: boolean
408 disableWaitForJobs:
409 description: DisableWaitForJobs disables waiting for jobs to complete
410 after a Helm rollback has been performed.
411 type: boolean
412 force:
413 description: Force forces resource updates through a replacement
414 strategy.
415 type: boolean
416 recreate:
417 description: Recreate performs pod restarts for the resource if
418 applicable.
419 type: boolean
420 timeout:
421 description: Timeout is the time to wait for any individual Kubernetes
422 operation (like Jobs for hooks) during the performance of a
423 Helm rollback action. Defaults to 'HelmReleaseSpec.Timeout'.
424 type: string
425 type: object
426 serviceAccountName:
427 description: The name of the Kubernetes service account to impersonate
428 when reconciling this HelmRelease.
429 type: string
430 storageNamespace:
431 description: StorageNamespace used for the Helm storage. Defaults
432 to the namespace of the HelmRelease.
433 maxLength: 63
434 minLength: 1
435 type: string
436 suspend:
437 description: Suspend tells the controller to suspend reconciliation
438 for this HelmRelease, it does not apply to already started reconciliations.
439 Defaults to false.
440 type: boolean
441 targetNamespace:
442 description: TargetNamespace to target when performing operations
443 for the HelmRelease. Defaults to the namespace of the HelmRelease.
444 maxLength: 63
445 minLength: 1
446 type: string
447 test:
448 description: Test holds the configuration for Helm test actions for
449 this HelmRelease.
450 properties:
451 enable:
452 description: Enable enables Helm test actions for this HelmRelease
453 after an Helm install or upgrade action has been performed.
454 type: boolean
455 ignoreFailures:
456 description: IgnoreFailures tells the controller to skip remediation
457 when the Helm tests are run but fail. Can be overwritten for
458 tests run after install or upgrade actions in 'Install.IgnoreTestFailures'
459 and 'Upgrade.IgnoreTestFailures'.
460 type: boolean
461 timeout:
462 description: Timeout is the time to wait for any individual Kubernetes
463 operation during the performance of a Helm test action. Defaults
464 to 'HelmReleaseSpec.Timeout'.
465 type: string
466 type: object
467 timeout:
468 description: Timeout is the time to wait for any individual Kubernetes
469 operation (like Jobs for hooks) during the performance of a Helm
470 action. Defaults to '5m0s'.
471 type: string
472 uninstall:
473 description: Uninstall holds the configuration for Helm uninstall
474 actions for this HelmRelease.
475 properties:
476 disableHooks:
477 description: DisableHooks prevents hooks from running during the
478 Helm rollback action.
479 type: boolean
480 keepHistory:
481 description: KeepHistory tells Helm to remove all associated resources
482 and mark the release as deleted, but retain the release history.
483 type: boolean
484 timeout:
485 description: Timeout is the time to wait for any individual Kubernetes
486 operation (like Jobs for hooks) during the performance of a
487 Helm uninstall action. Defaults to 'HelmReleaseSpec.Timeout'.
488 type: string
489 type: object
490 upgrade:
491 description: Upgrade holds the configuration for Helm upgrade actions
492 for this HelmRelease.
493 properties:
494 cleanupOnFail:
495 description: CleanupOnFail allows deletion of new resources created
496 during the Helm upgrade action when it fails.
497 type: boolean
498 crds:
499 description: "CRDs upgrade CRDs from the Helm Chart's crds directory
500 according to the CRD upgrade policy provided here. Valid values
501 are `Skip`, `Create` or `CreateReplace`. Default is `Skip` and
502 if omitted CRDs are neither installed nor upgraded. \n Skip:
503 do neither install nor replace (update) any CRDs. \n Create:
504 new CRDs are created, existing CRDs are neither updated nor
505 deleted. \n CreateReplace: new CRDs are created, existing CRDs
506 are updated (replaced) but not deleted. \n By default, CRDs
507 are not applied during Helm upgrade action. With this option
508 users can opt-in to CRD upgrade, which is not (yet) natively
509 supported by Helm. https://helm.sh/docs/chart_best_practices/custom_resource_definitions."
510 enum:
511 - Skip
512 - Create
513 - CreateReplace
514 type: string
515 disableHooks:
516 description: DisableHooks prevents hooks from running during the
517 Helm upgrade action.
518 type: boolean
519 disableOpenAPIValidation:
520 description: DisableOpenAPIValidation prevents the Helm upgrade
521 action from validating rendered templates against the Kubernetes
522 OpenAPI Schema.
523 type: boolean
524 disableWait:
525 description: DisableWait disables the waiting for resources to
526 be ready after a Helm upgrade has been performed.
527 type: boolean
528 disableWaitForJobs:
529 description: DisableWaitForJobs disables waiting for jobs to complete
530 after a Helm upgrade has been performed.
531 type: boolean
532 force:
533 description: Force forces resource updates through a replacement
534 strategy.
535 type: boolean
536 preserveValues:
537 description: PreserveValues will make Helm reuse the last release's
538 values and merge in overrides from 'Values'. Setting this flag
539 makes the HelmRelease non-declarative.
540 type: boolean
541 remediation:
542 description: Remediation holds the remediation configuration for
543 when the Helm upgrade action for the HelmRelease fails. The
544 default is to not perform any action.
545 properties:
546 ignoreTestFailures:
547 description: IgnoreTestFailures tells the controller to skip
548 remediation when the Helm tests are run after an upgrade
549 action but fail. Defaults to 'Test.IgnoreFailures'.
550 type: boolean
551 remediateLastFailure:
552 description: RemediateLastFailure tells the controller to
553 remediate the last failure, when no retries remain. Defaults
554 to 'false' unless 'Retries' is greater than 0.
555 type: boolean
556 retries:
557 description: Retries is the number of retries that should
558 be attempted on failures before bailing. Remediation, using
559 'Strategy', is performed between each attempt. Defaults
560 to '0', a negative integer equals to unlimited retries.
561 type: integer
562 strategy:
563 description: Strategy to use for failure remediation. Defaults
564 to 'rollback'.
565 enum:
566 - rollback
567 - uninstall
568 type: string
569 type: object
570 timeout:
571 description: Timeout is the time to wait for any individual Kubernetes
572 operation (like Jobs for hooks) during the performance of a
573 Helm upgrade action. Defaults to 'HelmReleaseSpec.Timeout'.
574 type: string
575 type: object
576 values:
577 description: Values holds the values for this Helm release.
578 x-kubernetes-preserve-unknown-fields: true
579 valuesFrom:
580 description: ValuesFrom holds references to resources containing Helm
581 values for this HelmRelease, and information about how they should
582 be merged.
583 items:
584 description: ValuesReference contains a reference to a resource
585 containing Helm values, and optionally the key they can be found
586 at.
587 properties:
588 kind:
589 description: Kind of the values referent, valid values are ('Secret',
590 'ConfigMap').
591 enum:
592 - Secret
593 - ConfigMap
594 type: string
595 name:
596 description: Name of the values referent. Should reside in the
597 same namespace as the referring resource.
598 maxLength: 253
599 minLength: 1
600 type: string
601 optional:
602 description: Optional marks this ValuesReference as optional.
603 When set, a not found error for the values reference is ignored,
604 but any ValuesKey, TargetPath or transient error will still
605 result in a reconciliation failure.
606 type: boolean
607 targetPath:
608 description: TargetPath is the YAML dot notation path the value
609 should be merged at. When set, the ValuesKey is expected to
610 be a single flat value. Defaults to 'None', which results
611 in the values getting merged at the root.
612 type: string
613 valuesKey:
614 description: ValuesKey is the data key where the values.yaml
615 or a specific value can be found at. Defaults to 'values.yaml'.
616 type: string
617 required:
618 - kind
619 - name
620 type: object
621 type: array
622 required:
623 - chart
624 - interval
625 type: object
626 status:
627 default:
628 observedGeneration: -1
629 description: HelmReleaseStatus defines the observed state of a HelmRelease.
630 properties:
631 conditions:
632 description: Conditions holds the conditions for the HelmRelease.
633 items:
634 description: "Condition contains details for one aspect of the current
635 state of this API Resource. --- This struct is intended for direct
636 use as an array at the field path .status.conditions. For example,
637 type FooStatus struct{ // Represents the observations of a
638 foo's current state. // Known .status.conditions.type are:
639 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type
640 \ // +patchStrategy=merge // +listType=map // +listMapKey=type
641 \ Conditions []metav1.Condition `json:\"conditions,omitempty\"
642 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`
643 \n // other fields }"
644 properties:
645 lastTransitionTime:
646 description: lastTransitionTime is the last time the condition
647 transitioned from one status to another. This should be when
648 the underlying condition changed. If that is not known, then
649 using the time when the API field changed is acceptable.
650 format: date-time
651 type: string
652 message:
653 description: message is a human readable message indicating
654 details about the transition. This may be an empty string.
655 maxLength: 32768
656 type: string
657 observedGeneration:
658 description: observedGeneration represents the .metadata.generation
659 that the condition was set based upon. For instance, if .metadata.generation
660 is currently 12, but the .status.conditions[x].observedGeneration
661 is 9, the condition is out of date with respect to the current
662 state of the instance.
663 format: int64
664 minimum: 0
665 type: integer
666 reason:
667 description: reason contains a programmatic identifier indicating
668 the reason for the condition's last transition. Producers
669 of specific condition types may define expected values and
670 meanings for this field, and whether the values are considered
671 a guaranteed API. The value should be a CamelCase string.
672 This field may not be empty.
673 maxLength: 1024
674 minLength: 1
675 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
676 type: string
677 status:
678 description: status of the condition, one of True, False, Unknown.
679 enum:
680 - "True"
681 - "False"
682 - Unknown
683 type: string
684 type:
685 description: type of condition in CamelCase or in foo.example.com/CamelCase.
686 --- Many .condition.type values are consistent across resources
687 like Available, but because arbitrary conditions can be useful
688 (see .node.status.conditions), the ability to deconflict is
689 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
690 maxLength: 316
691 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])$
692 type: string
693 required:
694 - lastTransitionTime
695 - message
696 - reason
697 - status
698 - type
699 type: object
700 type: array
701 failures:
702 description: Failures is the reconciliation failure count against
703 the latest desired state. It is reset after a successful reconciliation.
704 format: int64
705 type: integer
706 helmChart:
707 description: HelmChart is the namespaced name of the HelmChart resource
708 created by the controller for the HelmRelease.
709 type: string
710 installFailures:
711 description: InstallFailures is the install failure count against
712 the latest desired state. It is reset after a successful reconciliation.
713 format: int64
714 type: integer
715 lastAppliedRevision:
716 description: LastAppliedRevision is the revision of the last successfully
717 applied source.
718 type: string
719 lastAttemptedRevision:
720 description: LastAttemptedRevision is the revision of the last reconciliation
721 attempt.
722 type: string
723 lastAttemptedValuesChecksum:
724 description: LastAttemptedValuesChecksum is the SHA1 checksum of the
725 values of the last reconciliation attempt.
726 type: string
727 lastHandledReconcileAt:
728 description: LastHandledReconcileAt holds the value of the most recent
729 reconcile request value, so a change can be detected.
730 type: string
731 lastReleaseRevision:
732 description: LastReleaseRevision is the revision of the last successful
733 Helm release.
734 type: integer
735 observedGeneration:
736 description: ObservedGeneration is the last observed generation.
737 format: int64
738 type: integer
739 upgradeFailures:
740 description: UpgradeFailures is the upgrade failure count against
741 the latest desired state. It is reset after a successful reconciliation.
742 format: int64
743 type: integer
744 type: object
745 type: object
746 served: true
747 storage: true
748 subresources:
749 status: {}
750status:
751 acceptedNames:
752 kind: ""
753 plural: ""
754 conditions: []
755 storedVersions: []
756---
757apiVersion: v1
758kind: ServiceAccount
759metadata:
760 name: helm-controller
761---
762apiVersion: apps/v1
763kind: Deployment
764metadata:
765 labels:
766 control-plane: controller
767 name: helm-controller
768spec:
769 replicas: 1
770 selector:
771 matchLabels:
772 app: helm-controller
773 template:
774 metadata:
775 annotations:
776 prometheus.io/port: "8080"
777 prometheus.io/scrape: "true"
778 labels:
779 app: helm-controller
780 spec:
781 containers:
782 - args:
783 - --events-addr=http://notification-controller/
784 - --watch-all-namespaces
785 - --log-level=info
786 - --log-encoding=json
787 - --enable-leader-election
788 env:
789 - name: RUNTIME_NAMESPACE
790 valueFrom:
791 fieldRef:
792 fieldPath: metadata.namespace
793 image: fluxcd/helm-controller:v0.12.1
794 imagePullPolicy: IfNotPresent
795 livenessProbe:
796 httpGet:
797 path: /healthz
798 port: healthz
799 name: manager
800 ports:
801 - containerPort: 8080
802 name: http-prom
803 - containerPort: 9440
804 name: healthz
805 protocol: TCP
806 readinessProbe:
807 httpGet:
808 path: /readyz
809 port: healthz
810 resources:
811 limits:
812 cpu: 1000m
813 memory: 1Gi
814 requests:
815 cpu: 100m
816 memory: 64Mi
817 securityContext:
818 allowPrivilegeEscalation: false
819 readOnlyRootFilesystem: true
820 volumeMounts:
821 - mountPath: /tmp
822 name: temp
823 serviceAccountName: helm-controller
824 terminationGracePeriodSeconds: 600
825 volumes:
826 - emptyDir: {}
827 name: temp
View as plain text