diff --git a/charts/flux2-sync/Chart.yaml b/charts/flux2-sync/Chart.yaml index 13666dd..6f25791 100644 --- a/charts/flux2-sync/Chart.yaml +++ b/charts/flux2-sync/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: flux2-sync -version: "0.2.0" +version: "0.2.1" description: A Helm chart for flux2 GitRepository to sync with sources: diff --git a/charts/flux2-sync/README.md b/charts/flux2-sync/README.md index 8baf1be..5b0a6f3 100644 --- a/charts/flux2-sync/README.md +++ b/charts/flux2-sync/README.md @@ -1,6 +1,6 @@ # flux2-sync -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for flux2 GitRepository to sync with @@ -16,12 +16,12 @@ A Helm chart for flux2 GitRepository to sync with | gitRepository.spec.ignore | string | `""` | (Optional) Ignore overrides the set of excluded patterns in the .sourceignore format (which is the same as .gitignore). If not provided, a default will be used, consult the documentation for your version to find out what those are. | | gitRepository.spec.include | list | `[]` | (Optional) Extra git repositories to map into the repository | | gitRepository.spec.interval | string | `"5m"` | The interval at which to check for repository updates. | -| gitRepository.spec.recurseSubmodules | string | `""` | (Optional) When enabled, after the clone is created, initializes all submodules within, using their default settings. This option is available only when using the ‘go-git’ GitImplementation. | -| gitRepository.spec.ref | string | `""` | (Optional) The Git reference to checkout and monitor for changes, defaults to master branch. | +| gitRepository.spec.recurseSubmodules | bool | `false` | (Optional) When enabled, after the clone is created, initializes all submodules within, using their default settings. This option is available only when using the ‘go-git’ GitImplementation. | +| gitRepository.spec.ref | object | `{"branch":"master"}` | (Optional) The Git reference to checkout and monitor for changes, defaults to master branch. | | gitRepository.spec.secretRef | object | `{}` | (Optional) The secret name containing the Git credentials. For HTTPS repositories the secret must contain username and password fields. For SSH repositories the secret must contain identity, identity.pub and known_hosts fields. | | gitRepository.spec.suspend | string | `""` | (Optional) This flag tells the controller to suspend the reconciliation of this source. | | gitRepository.spec.timeout | string | `""` | (Optional) The timeout for remote Git operations like cloning, defaults to 20s. | -| gitRepository.spec.url | string | `""` | The repository URL, can be a HTTP/S or SSH address. | +| gitRepository.spec.url | string | `""` | The repository URL, can be an HTTP/S or SSH address. | | gitRepository.spec.verify | object | `{}` | (Optional) Verify OpenPGP signature for the Git commit HEAD points to. | | kustomization.spec.decryption | object | `{}` | (Optional) Decrypt Kubernetes secrets before applying them on the cluster. | | kustomization.spec.dependsOn | list | `[]` | (Optional) DependsOn may contain a dependency.CrossNamespaceDependencyReference slice with references to Kustomization resources that must be ready before this Kustomization can be reconciled. | @@ -29,14 +29,14 @@ A Helm chart for flux2 GitRepository to sync with | kustomization.spec.healthChecks | list | `[]` | (Optional) A list of resources to be included in the health assessment. | | kustomization.spec.images | list | `[]` | (Optional) Images is a list of (image name, new name, new tag or digest) for changing image names, tags or digests. This can also be achieved with a patch, but this operator is simpler to specify. | | kustomization.spec.interval | string | `"5m"` | The interval at which to reconcile the Kustomization. | -| kustomization.spec.kubeConfig | string | `""` | (Optional) The KubeConfig for reconciling the Kustomization on a remote cluster. When specified, KubeConfig takes precedence over ServiceAccountName. | +| kustomization.spec.kubeConfig | object | `{}` | (Optional) The KubeConfig for reconciling the Kustomization on a remote cluster. When specified, KubeConfig takes precedence over ServiceAccountName. | | kustomization.spec.patches | list | `[]` | (Optional) Strategic merge and JSON patches, defined as inline YAML objects, capable of targeting objects based on kind, label and annotation selectors. | | kustomization.spec.path | string | `""` | (Optional) Path to the directory containing the kustomization.yaml file, or the set of plain YAMLs a kustomization.yaml should be generated for. Defaults to ‘None’, which translates to the root path of the SourceRef. | | kustomization.spec.postBuild | object | `{}` | (Optional) PostBuild describes which actions to perform on the YAML manifest generated by building the kustomize overlay. | | kustomization.spec.prune | bool | `true` | Prune enables garbage collection. Defaults to true. | | kustomization.spec.retryInterval | string | `""` | (Optional) The interval at which to retry a previously failed reconciliation. When not specified, the controller uses the KustomizationSpec.Interval value to retry failures. | | kustomization.spec.serviceAccountName | string | `""` | (Optional) The name of the Kubernetes service account to impersonate when reconciling this Kustomization. | -| kustomization.spec.suspend | bool | `false` | (Optional) This flag tells the controller to suspend subsequent kustomize executions, it does not apply to already started executions. Defaults to false. | +| kustomization.spec.suspend | string | `""` | (Optional) This flag tells the controller to suspend subsequent kustomize executions, it does not apply to already started executions. Defaults to false. | | kustomization.spec.targetNamespace | string | `""` | (Optional) TargetNamespace sets or overrides the namespace in the kustomization.yaml file. | | kustomization.spec.timeout | string | `""` | (Optional) Timeout for validation, apply and health checking operations. Defaults to ‘Interval’ duration | | kustomization.spec.wait | bool | `false` | (Optional) Wait instructs the controller to check the health of all the reconciled resources. When enabled, the HealthChecks are ignored. Defaults to false. | diff --git a/charts/flux2/Chart.yaml b/charts/flux2/Chart.yaml index ac048e9..bde62b1 100644 --- a/charts/flux2/Chart.yaml +++ b/charts/flux2/Chart.yaml @@ -3,6 +3,6 @@ name: flux2 description: A Helm chart for flux2 type: application -version: "0.5.0" +version: "0.6.0" -appVersion: "0.23.0" +appVersion: "0.24.0" diff --git a/charts/flux2/README.md b/charts/flux2/README.md index 5be3e6f..13e0060 100644 --- a/charts/flux2/README.md +++ b/charts/flux2/README.md @@ -1,6 +1,6 @@ # flux2 -![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.23.0](https://img.shields.io/badge/AppVersion-0.23.0-informational?style=flat-square) +![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.24.0](https://img.shields.io/badge/AppVersion-0.24.0-informational?style=flat-square) A Helm chart for flux2 @@ -8,9 +8,9 @@ A Helm chart for flux2 | Key | Type | Default | Description | |-----|------|---------|-------------| -| eventsaddr | string | `"http://notification-controller/"` | Maybe you need to use full domain name here, if you deploy flux in environments that use http proxy. In such environments they normally add `.cluster.local` and `.local` suffixes to `no_proxy` variable in order to prevent cluster-local traffic from going through http proxy. Without fully specified domain they need to mention `notifications-controller` explicitly in `no_proxy` variable after debugging http proxy logs eg: http://notification-controller.[NAMESPACE].svc.[CLUSTERDOMAIN] | | cli.image | string | `"ghcr.io/fluxcd/flux-cli"` | | | cli.tag | string | `"v0.24.0"` | | +| eventsaddr | string | `"http://notification-controller/"` | Maybe you need to use full domain name here, if you deploy flux in environments that use http proxy. In such environments they normally add `.cluster.local` and `.local` suffixes to `no_proxy` variable in order to prevent cluster-local traffic from going through http proxy. Without fully specified domain they need to mention `notifications-controller` explicitly in `no_proxy` variable after debugging http proxy logs eg: http://notification-controller.[NAMESPACE].svc.[CLUSTERDOMAIN] | | helmcontroller.affinity | object | `{}` | | | helmcontroller.annotations."prometheus.io/port" | string | `"8080"` | | | helmcontroller.annotations."prometheus.io/scrape" | string | `"true"` | | @@ -24,7 +24,7 @@ A Helm chart for flux2 | helmcontroller.resources.requests.memory | string | `"64Mi"` | | | helmcontroller.serviceaccount.annotations | object | `{}` | | | helmcontroller.serviceaccount.create | bool | `true` | | -| helmcontroller.tag | string | `"v0.13.0"` | | +| helmcontroller.tag | string | `"v0.14.0"` | | | helmcontroller.tolerations | list | `[]` | | | imageautomationcontroller.affinity | object | `{}` | | | imageautomationcontroller.annotations."prometheus.io/port" | string | `"8080"` | | @@ -39,7 +39,7 @@ A Helm chart for flux2 | imageautomationcontroller.resources.requests.memory | string | `"64Mi"` | | | imageautomationcontroller.serviceaccount.annotations | object | `{}` | | | imageautomationcontroller.serviceaccount.create | bool | `true` | | -| imageautomationcontroller.tag | string | `"v0.17.1"` | | +| imageautomationcontroller.tag | string | `"v0.18.0"` | | | imageautomationcontroller.tolerations | list | `[]` | | | imagereflectorcontroller.affinity | object | `{}` | | | imagereflectorcontroller.annotations."prometheus.io/port" | string | `"8080"` | | @@ -54,7 +54,7 @@ A Helm chart for flux2 | imagereflectorcontroller.resources.requests.memory | string | `"64Mi"` | | | imagereflectorcontroller.serviceaccount.annotations | object | `{}` | | | imagereflectorcontroller.serviceaccount.create | bool | `true` | | -| imagereflectorcontroller.tag | string | `"v0.13.2"` | | +| imagereflectorcontroller.tag | string | `"v0.14.0"` | | | imagereflectorcontroller.tolerations | list | `[]` | | | installCRDs | bool | `true` | | | kustomizecontroller.affinity | object | `{}` | | @@ -71,7 +71,7 @@ A Helm chart for flux2 | kustomizecontroller.resources.requests.memory | string | `"64Mi"` | | | kustomizecontroller.serviceaccount.annotations | object | `{}` | | | kustomizecontroller.serviceaccount.create | bool | `true` | | -| kustomizecontroller.tag | string | `"v0.18.0"` | | +| kustomizecontroller.tag | string | `"v0.18.1"` | | | kustomizecontroller.tolerations | list | `[]` | | | notificationcontroller.affinity | object | `{}` | | | notificationcontroller.annotations."prometheus.io/port" | string | `"8080"` | | @@ -86,7 +86,7 @@ A Helm chart for flux2 | notificationcontroller.resources.requests.memory | string | `"64Mi"` | | | notificationcontroller.serviceaccount.annotations | object | `{}` | | | notificationcontroller.serviceaccount.create | bool | `true` | | -| notificationcontroller.tag | string | `"v0.18.1"` | | +| notificationcontroller.tag | string | `"v0.19.0"` | | | notificationcontroller.tolerations | list | `[]` | | | policies.create | bool | `true` | | | rbac.create | bool | `true` | | @@ -103,7 +103,7 @@ A Helm chart for flux2 | sourcecontroller.resources.requests.memory | string | `"64Mi"` | | | sourcecontroller.serviceaccount.annotations | object | `{}` | | | sourcecontroller.serviceaccount.create | bool | `true` | | -| sourcecontroller.tag | string | `"v0.18.0"` | | +| sourcecontroller.tag | string | `"v0.19.0"` | | | sourcecontroller.tolerations | list | `[]` | | ---------------------------------------------- diff --git a/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap index eeb83ae..d8a6275 100644 --- a/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/helm-controller_test.yaml.snap @@ -20,6 +20,8 @@ should match snapshot of default values: prometheus.io/scrape: "true" labels: app: helm-controller + labeltestkey: labeltestvalue + labeltestkey2: labeltestvalue2 spec: containers: - args: @@ -33,7 +35,7 @@ should match snapshot of default values: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/helm-controller:v0.13.0 + image: ghcr.io/fluxcd/helm-controller:v0.14.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap index b05d47e..ffcae36 100644 --- a/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/image-automation-controller_test.yaml.snap @@ -33,7 +33,7 @@ should match snapshot of default values: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/image-automation-controller:v0.17.1 + image: ghcr.io/fluxcd/image-automation-controller:v0.18.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap index 768748c..1e2ffd8 100644 --- a/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/image-reflector-controller_test.yaml.snap @@ -33,7 +33,7 @@ should match snapshot of default values: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/image-reflector-controller:v0.13.2 + image: ghcr.io/fluxcd/image-reflector-controller:v0.14.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap index 99cb9cb..93dde60 100644 --- a/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/kustomize-controller_test.yaml.snap @@ -33,7 +33,7 @@ should match snapshot of default values: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/kustomize-controller:v0.18.0 + image: ghcr.io/fluxcd/kustomize-controller:v0.18.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap index bf53bf9..6edafb1 100644 --- a/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/notification-controller_test.yaml.snap @@ -32,7 +32,7 @@ should match snapshot of default values: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/notification-controller:v0.18.1 + image: ghcr.io/fluxcd/notification-controller:v0.19.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap b/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap index 97f8791..89a529c 100644 --- a/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap +++ b/charts/flux2/tests/__snapshot__/source-controller_test.yaml.snap @@ -37,7 +37,7 @@ should match snapshot of default values: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/source-controller:v0.18.0 + image: ghcr.io/fluxcd/source-controller:v0.19.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/charts/flux2/tests/helm-controller_test.yaml b/charts/flux2/tests/helm-controller_test.yaml index 88a8dca..a8eb7a3 100644 --- a/charts/flux2/tests/helm-controller_test.yaml +++ b/charts/flux2/tests/helm-controller_test.yaml @@ -12,6 +12,10 @@ tests: capabilities: majorVersion: 1 minorVersion: 19 + set: + helmcontroller.labels: + labeltestkey: labeltestvalue + labeltestkey2: labeltestvalue2 asserts: - hasDocuments: count: 1 @@ -22,3 +26,7 @@ tests: - it: should match snapshot of default values asserts: - matchSnapshot: { } + set: + helmcontroller.labels: + labeltestkey: labeltestvalue + labeltestkey2: labeltestvalue2 diff --git a/charts/flux2/values.yaml b/charts/flux2/values.yaml index b0a0daf..f55cddd 100644 --- a/charts/flux2/values.yaml +++ b/charts/flux2/values.yaml @@ -22,7 +22,7 @@ cli: helmcontroller: create: true image: ghcr.io/fluxcd/helm-controller - tag: v0.13.0 + tag: v0.14.0 resources: limits: cpu: 1000m @@ -62,7 +62,7 @@ helmcontroller: imageautomationcontroller: create: true image: ghcr.io/fluxcd/image-automation-controller - tag: v0.17.1 + tag: v0.18.0 resources: limits: cpu: 1000m @@ -84,7 +84,7 @@ imageautomationcontroller: imagereflectorcontroller: create: true image: ghcr.io/fluxcd/image-reflector-controller - tag: v0.13.2 + tag: v0.14.0 resources: limits: cpu: 1000m @@ -106,7 +106,7 @@ imagereflectorcontroller: kustomizecontroller: create: true image: ghcr.io/fluxcd/kustomize-controller - tag: v0.18.0 + tag: v0.18.1 resources: limits: cpu: 1000m @@ -135,7 +135,7 @@ kustomizecontroller: notificationcontroller: create: true image: ghcr.io/fluxcd/notification-controller - tag: v0.18.1 + tag: v0.19.0 resources: limits: cpu: 1000m @@ -157,7 +157,7 @@ notificationcontroller: sourcecontroller: create: true image: ghcr.io/fluxcd/source-controller - tag: v0.18.0 + tag: v0.19.0 resources: limits: cpu: 1000m