From 7662433844c2834893a78b3e5429966823ab1728 Mon Sep 17 00:00:00 2001 From: mesosphere-teamcity Date: Sun, 16 Jul 2023 12:03:26 +0000 Subject: [PATCH] feat: Upgrade flux to 2.0.1 --- .tool-versions | 2 +- .../{0.41.2 => 2.0.1}/defaults/cm.yaml | 2 +- .../defaults/kustomization.yaml | 0 .../{0.41.2 => 2.0.1}/kustomization.yaml | 0 .../patch-proxy-env-vars.yaml | 0 .../patch-source-ctrl-network-policy.yaml | 0 ...alerts.notification.toolkit.fluxcd.io.yaml | 33 +- ...tion_buckets.source.toolkit.fluxcd.io.yaml | 11 +- ...repositories.source.toolkit.fluxcd.io.yaml | 409 +++++++++++++- ...n_helmcharts.source.toolkit.fluxcd.io.yaml | 11 +- ...n_helmreleases.helm.toolkit.fluxcd.io.yaml | 48 +- ...repositories.source.toolkit.fluxcd.io.yaml | 11 +- ...mizations.kustomize.toolkit.fluxcd.io.yaml | 515 +++++++++++++++++- ...repositories.source.toolkit.fluxcd.io.yaml | 11 +- ...viders.notification.toolkit.fluxcd.io.yaml | 15 +- ...eivers.notification.toolkit.fluxcd.io.yaml | 242 +++++++- .../apps_v1_deployment_helm-controller.yaml | 4 +- ...ps_v1_deployment_kustomize-controller.yaml | 4 +- ...v1_deployment_notification-controller.yaml | 4 +- .../apps_v1_deployment_source-controller.yaml | 4 +- .../templates/kustomization.yaml | 1 + ....k8s.io_v1_networkpolicy_allow-egress.yaml | 2 +- ...8s.io_v1_networkpolicy_allow-scraping.yaml | 2 +- ....k8s.io_v1_networkpolicy_allow-source.yaml | 0 ...8s.io_v1_networkpolicy_allow-webhooks.yaml | 2 +- ...terrole_crd-controller-kommander-flux.yaml | 2 +- ..._clusterrole_flux-edit-kommander-flux.yaml | 2 +- ..._clusterrole_flux-view-kommander-flux.yaml | 2 +- ...ing_cluster-reconciler-kommander-flux.yaml | 2 +- ...binding_crd-controller-kommander-flux.yaml | 2 +- .../v1_namespace_kommander-flux.yaml | 2 +- ...rcequota_critical-pods-kommander-flux.yaml | 19 + .../v1_service_notification-controller.yaml | 2 +- .../v1_service_source-controller.yaml | 2 +- .../v1_service_webhook-receiver.yaml | 2 +- .../v1_serviceaccount_helm-controller.yaml | 2 +- ...1_serviceaccount_kustomize-controller.yaml | 2 +- ...erviceaccount_notification-controller.yaml | 2 +- .../v1_serviceaccount_source-controller.yaml | 2 +- 39 files changed, 1281 insertions(+), 97 deletions(-) rename services/kommander-flux/{0.41.2 => 2.0.1}/defaults/cm.yaml (70%) rename services/kommander-flux/{0.41.2 => 2.0.1}/defaults/kustomization.yaml (100%) rename services/kommander-flux/{0.41.2 => 2.0.1}/kustomization.yaml (100%) rename services/kommander-flux/{0.41.2 => 2.0.1}/patch-proxy-env-vars.yaml (100%) rename services/kommander-flux/{0.41.2 => 2.0.1}/patch-source-ctrl-network-policy.yaml (100%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml (93%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml (98%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml (66%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml (98%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml (94%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml (98%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml (69%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml (98%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml (97%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml (64%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apps_v1_deployment_helm-controller.yaml (95%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apps_v1_deployment_kustomize-controller.yaml (95%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apps_v1_deployment_notification-controller.yaml (95%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/apps_v1_deployment_source-controller.yaml (96%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/kustomization.yaml (97%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml (89%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml (90%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/networking.k8s.io_v1_networkpolicy_allow-source.yaml (100%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml (90%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml (96%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml (93%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml (93%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml (92%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml (95%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_namespace_kommander-flux.yaml (86%) create mode 100644 services/kommander-flux/2.0.1/templates/v1_resourcequota_critical-pods-kommander-flux.yaml rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_service_notification-controller.yaml (91%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_service_source-controller.yaml (91%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_service_webhook-receiver.yaml (91%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_serviceaccount_helm-controller.yaml (86%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_serviceaccount_kustomize-controller.yaml (86%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_serviceaccount_notification-controller.yaml (86%) rename services/kommander-flux/{0.41.2 => 2.0.1}/templates/v1_serviceaccount_source-controller.yaml (86%) diff --git a/.tool-versions b/.tool-versions index 7bf442925b..5adedb9ebd 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,5 +1,5 @@ awscli 2.9.0 -flux2 0.41.2 +flux2 2.0.1 github-cli 2.20.2 golang 1.19.3 kustomize 4.5.7 diff --git a/services/kommander-flux/0.41.2/defaults/cm.yaml b/services/kommander-flux/2.0.1/defaults/cm.yaml similarity index 70% rename from services/kommander-flux/0.41.2/defaults/cm.yaml rename to services/kommander-flux/2.0.1/defaults/cm.yaml index 94a6e84d27..644a4cd1b0 100644 --- a/services/kommander-flux/0.41.2/defaults/cm.yaml +++ b/services/kommander-flux/2.0.1/defaults/cm.yaml @@ -4,5 +4,5 @@ data: --- kind: ConfigMap metadata: - name: kommander-flux-0.41.2-d2iq-defaults + name: kommander-flux-2.0.1-d2iq-defaults namespace: ${releaseNamespace} diff --git a/services/kommander-flux/0.41.2/defaults/kustomization.yaml b/services/kommander-flux/2.0.1/defaults/kustomization.yaml similarity index 100% rename from services/kommander-flux/0.41.2/defaults/kustomization.yaml rename to services/kommander-flux/2.0.1/defaults/kustomization.yaml diff --git a/services/kommander-flux/0.41.2/kustomization.yaml b/services/kommander-flux/2.0.1/kustomization.yaml similarity index 100% rename from services/kommander-flux/0.41.2/kustomization.yaml rename to services/kommander-flux/2.0.1/kustomization.yaml diff --git a/services/kommander-flux/0.41.2/patch-proxy-env-vars.yaml b/services/kommander-flux/2.0.1/patch-proxy-env-vars.yaml similarity index 100% rename from services/kommander-flux/0.41.2/patch-proxy-env-vars.yaml rename to services/kommander-flux/2.0.1/patch-proxy-env-vars.yaml diff --git a/services/kommander-flux/0.41.2/patch-source-ctrl-network-policy.yaml b/services/kommander-flux/2.0.1/patch-source-ctrl-network-policy.yaml similarity index 100% rename from services/kommander-flux/0.41.2/patch-source-ctrl-network-policy.yaml rename to services/kommander-flux/2.0.1/patch-source-ctrl-network-policy.yaml diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml similarity index 93% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml index e727a051b4..06ecd85b6b 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_alerts.notification.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: alerts.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -244,6 +243,16 @@ spec: description: AlertSpec defines an alerting rule for events involving a list of objects. properties: + eventMetadata: + additionalProperties: + type: string + description: EventMetadata is an optional field for adding metadata + to events dispatched by the controller. This can be used for enhancing + the context of the event. If a field would override one already + present on the original event as generated by the emitter, then + the override doesn't happen, i.e. the original value is preserved, + and an info log is printed. + type: object eventSeverity: default: info description: EventSeverity specifies how to filter events based on @@ -260,10 +269,10 @@ spec: to let you locate the typed referenced object at cluster level properties: apiVersion: - description: API version of the referent. + description: API version of the referent type: string kind: - description: Kind of the referent. + description: Kind of the referent enum: - Bucket - GitRepository @@ -283,19 +292,21 @@ spec: {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements - are ANDed. + are ANDed. MatchLabels requires the name to be set to `*`. type: object name: - description: Name of the referent. + description: Name of the referent If multiple resources are + targeted `*` may be set. maxLength: 53 minLength: 1 type: string namespace: - description: Namespace of the referent. + description: Namespace of the referent maxLength: 53 minLength: 1 type: string required: + - kind - name type: object type: array @@ -305,6 +316,12 @@ spec: items: type: string type: array + inclusionList: + description: InclusionList specifies a list of Golang regular expressions + to be used for including messages. + items: + type: string + type: array providerRef: description: ProviderRef specifies which Provider this Alert should use. diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml similarity index 98% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml index e3c20229c8..fbeb8d7a7b 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_buckets.source.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: buckets.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -380,10 +379,6 @@ spec: artifact: description: Artifact represents the last successful Bucket reconciliation. properties: - checksum: - description: 'Checksum is the SHA256 checksum of the Artifact - file. Deprecated: use Artifact.Digest instead.' - type: string digest: description: Digest is the digest of the file in the form of ':'. pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ @@ -419,7 +414,9 @@ spec: the Artifact contents. type: string required: + - lastUpdateTime - path + - revision - url type: object conditions: diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml similarity index 66% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml index 4c805aa816..3b5c248a85 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_gitrepositories.source.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: gitrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -21,6 +20,391 @@ spec: singular: gitrepository scope: Namespaced versions: + - additionalPrinterColumns: + - jsonPath: .spec.url + name: URL + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + description: GitRepository is the Schema for the gitrepositories API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: GitRepositorySpec specifies the required configuration to + produce an Artifact for a Git repository. + properties: + ignore: + description: 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. + type: string + include: + description: Include specifies a list of GitRepository resources which + Artifacts should be included in the Artifact produced for this GitRepository. + items: + description: GitRepositoryInclude specifies a local reference to + a GitRepository which Artifact (sub-)contents must be included, + and where they should be placed. + properties: + fromPath: + description: FromPath specifies the path to copy contents from, + defaults to the root of the Artifact. + type: string + repository: + description: GitRepositoryRef specifies the GitRepository which + Artifact contents must be included. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: ToPath specifies the path to copy contents to, + defaults to the name of the GitRepositoryRef. + type: string + required: + - repository + type: object + type: array + interval: + description: Interval at which to check the GitRepository for updates. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + recurseSubmodules: + description: RecurseSubmodules enables the initialization of all submodules + within the GitRepository as cloned from the URL, using their default + settings. + type: boolean + ref: + description: Reference specifies the Git reference to resolve and + monitor for changes, defaults to the 'master' branch. + properties: + branch: + description: Branch to check out, defaults to 'master' if no other + field is defined. + type: string + commit: + description: "Commit SHA to check out, takes precedence over all + reference fields. \n This can be combined with Branch to shallow + clone the branch, in which the commit is expected to exist." + type: string + name: + description: "Name of the reference to check out; takes precedence + over Branch, Tag and SemVer. \n It must be a valid Git reference: + https://git-scm.com/docs/git-check-ref-format#_description Examples: + \"refs/heads/main\", \"refs/tags/v0.1.0\", \"refs/pull/420/head\", + \"refs/merge-requests/1/head\"" + type: string + semver: + description: SemVer tag expression to check out, takes precedence + over Tag. + type: string + tag: + description: Tag to check out, takes precedence over Branch. + type: string + type: object + secretRef: + description: SecretRef specifies the Secret containing authentication + credentials for the GitRepository. For HTTPS repositories the Secret + must contain 'username' and 'password' fields for basic auth or + 'bearerToken' field for token auth. For SSH repositories the Secret + must contain 'identity' and 'known_hosts' fields. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: Suspend tells the controller to suspend the reconciliation + of this GitRepository. + type: boolean + timeout: + default: 60s + description: Timeout for Git operations like cloning, defaults to + 60s. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$ + type: string + url: + description: URL specifies the Git repository URL, it can be an HTTP/S + or SSH address. + pattern: ^(http|https|ssh)://.*$ + type: string + verify: + description: Verification specifies the configuration to verify the + Git commit signature(s). + properties: + mode: + description: Mode specifies what Git object should be verified, + currently ('head'). + enum: + - head + type: string + secretRef: + description: SecretRef specifies the Secret containing the public + keys of trusted Git authors. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - mode + - secretRef + type: object + required: + - interval + - url + type: object + status: + default: + observedGeneration: -1 + description: GitRepositoryStatus records the observed state of a Git repository. + properties: + artifact: + description: Artifact represents the last successful GitRepository + reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: LastUpdateTime is the timestamp corresponding to + the last update of the Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI annotations. + type: object + path: + description: Path is the relative file path of the Artifact. It + can be used to locate the file in the root of the Artifact storage + on the local file system of the controller managing the Source. + type: string + revision: + description: Revision is a human-readable identifier traceable + in the origin source system. It can be a Git commit SHA, Git + tag, a Helm chart version, etc. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: URL is the HTTP address of the Artifact as exposed + by the controller managing the Source. It can be used to retrieve + the Artifact for consumption, e.g. by another controller applying + the Artifact contents. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + conditions: + description: Conditions holds the conditions for the GitRepository. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource. --- This struct is intended for direct + use as an array at the field path .status.conditions. For example, + \n type FooStatus struct{ // Represents the observations of a + foo's current state. // Known .status.conditions.type are: \"Available\", + \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge + // +listType=map // +listMapKey=type Conditions []metav1.Condition + `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" + protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: lastTransitionTime is the last time the condition + transitioned from one status to another. This should be when + the underlying condition changed. If that is not known, then + using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: message is a human readable message indicating + details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: observedGeneration represents the .metadata.generation + that the condition was set based upon. For instance, if .metadata.generation + is currently 12, but the .status.conditions[x].observedGeneration + is 9, the condition is out of date with respect to the current + state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: reason contains a programmatic identifier indicating + the reason for the condition's last transition. Producers + of specific condition types may define expected values and + meanings for this field, and whether the values are considered + a guaranteed API. The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + --- Many .condition.type values are consistent across resources + like Available, but because arbitrary conditions can be useful + (see .node.status.conditions), the ability to deconflict is + important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + includedArtifacts: + description: IncludedArtifacts contains a list of the last successfully + included Artifacts as instructed by GitRepositorySpec.Include. + items: + description: Artifact represents the output of a Source reconciliation. + properties: + digest: + description: Digest is the digest of the file in the form of + ':'. + pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ + type: string + lastUpdateTime: + description: LastUpdateTime is the timestamp corresponding to + the last update of the Artifact. + format: date-time + type: string + metadata: + additionalProperties: + type: string + description: Metadata holds upstream information such as OCI + annotations. + type: object + path: + description: Path is the relative file path of the Artifact. + It can be used to locate the file in the root of the Artifact + storage on the local file system of the controller managing + the Source. + type: string + revision: + description: Revision is a human-readable identifier traceable + in the origin source system. It can be a Git commit SHA, Git + tag, a Helm chart version, etc. + type: string + size: + description: Size is the number of bytes in the file. + format: int64 + type: integer + url: + description: URL is the HTTP address of the Artifact as exposed + by the controller managing the Source. It can be used to retrieve + the Artifact for consumption, e.g. by another controller applying + the Artifact contents. + type: string + required: + - lastUpdateTime + - path + - revision + - url + type: object + type: array + lastHandledReconcileAt: + description: LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value can + be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation of + the GitRepository object. + format: int64 + type: integer + observedIgnore: + description: ObservedIgnore is the observed exclusion patterns used + for constructing the source artifact. + type: string + observedInclude: + description: ObservedInclude is the observed list of GitRepository + resources used to produce the current Artifact. + items: + description: GitRepositoryInclude specifies a local reference to + a GitRepository which Artifact (sub-)contents must be included, + and where they should be placed. + properties: + fromPath: + description: FromPath specifies the path to copy contents from, + defaults to the root of the Artifact. + type: string + repository: + description: GitRepositoryRef specifies the GitRepository which + Artifact contents must be included. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + toPath: + description: ToPath specifies the path to copy contents to, + defaults to the name of the GitRepositoryRef. + type: string + required: + - repository + type: object + type: array + observedRecurseSubmodules: + description: ObservedRecurseSubmodules is the observed resource submodules + configuration used to produce the current Artifact. + type: boolean + type: object + type: object + served: true + storage: true + subresources: + status: {} - additionalPrinterColumns: - jsonPath: .spec.url name: URL @@ -34,6 +418,8 @@ spec: - jsonPath: .metadata.creationTimestamp name: Age type: date + deprecated: true + deprecationWarning: v1beta1 GitRepository is deprecated, upgrade to v1 name: v1beta1 schema: openAPIV3Schema: @@ -364,6 +750,8 @@ spec: - jsonPath: .status.conditions[?(@.type=="Ready")].message name: Status type: string + deprecated: true + deprecationWarning: v1beta2 GitRepository is deprecated, upgrade to v1 name: v1beta2 schema: openAPIV3Schema: @@ -546,6 +934,7 @@ spec: type: object required: - mode + - secretRef type: object required: - interval @@ -560,10 +949,6 @@ spec: description: Artifact represents the last successful GitRepository reconciliation. properties: - checksum: - description: 'Checksum is the SHA256 checksum of the Artifact - file. Deprecated: use Artifact.Digest instead.' - type: string digest: description: Digest is the digest of the file in the form of ':'. pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ @@ -599,7 +984,9 @@ spec: the Artifact contents. type: string required: + - lastUpdateTime - path + - revision - url type: object conditions: @@ -687,10 +1074,6 @@ spec: items: description: Artifact represents the output of a Source reconciliation. properties: - checksum: - description: 'Checksum is the SHA256 checksum of the Artifact - file. Deprecated: use Artifact.Digest instead.' - type: string digest: description: Digest is the digest of the file in the form of ':'. @@ -729,7 +1112,9 @@ spec: the Artifact contents. type: string required: + - lastUpdateTime - path + - revision - url type: object type: array @@ -789,6 +1174,6 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: status: {} diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml similarity index 98% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml index 7916422a18..e2fef41119 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmcharts.source.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: helmcharts.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -455,10 +454,6 @@ spec: description: Artifact represents the output of the last successful reconciliation. properties: - checksum: - description: 'Checksum is the SHA256 checksum of the Artifact - file. Deprecated: use Artifact.Digest instead.' - type: string digest: description: Digest is the digest of the file in the form of ':'. pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ @@ -494,7 +489,9 @@ spec: the Artifact contents. type: string required: + - lastUpdateTime - path + - revision - url type: object conditions: diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml similarity index 94% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml index a921a20289..d0585ca779 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmreleases.helm.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: helmreleases.helm.toolkit.fluxcd.io spec: group: helm.toolkit.fluxcd.io @@ -55,6 +54,27 @@ spec: description: Chart defines the template of the v1beta2.HelmChart that should be created for this HelmRelease. properties: + metadata: + description: ObjectMeta holds the template for metadata like labels + and annotations. + properties: + annotations: + additionalProperties: + type: string + description: 'Annotations is an unstructured key value map + stored with a resource that may be set by external tools + to store and retrieve arbitrary metadata. They are not queryable + and should be preserved when modifying objects. More info: + https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/' + type: object + labels: + additionalProperties: + type: string + description: 'Map of string keys and values that can be used + to organize and categorize (scope and select) objects. More + info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/' + type: object + type: object spec: description: Spec holds the template for the v1beta2.HelmChartSpec for this HelmRelease. @@ -305,6 +325,17 @@ spec: this HelmRelease. Use '0' for an unlimited number of revisions; defaults to '10'. type: integer + persistentClient: + description: "PersistentClient tells the controller to use a persistent + Kubernetes client for this release. When enabled, the client will + be reused for the duration of the reconciliation, instead of being + created and destroyed for each (step of a) Helm action. \n This + can improve performance, but may cause issues with some Helm charts + that for example do create Custom Resource Definitions during installation + outside Helm's CRD lifecycle hooks, which are then not observed + to be available by e.g. post-install hooks. \n If not set, it defaults + to true." + type: boolean postRenderers: description: PostRenderers holds an array of Helm PostRenderers, which will be applied in order of their definition. @@ -397,6 +428,8 @@ spec: selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md type: string type: object + required: + - patch type: object type: array patchesJson6902: @@ -596,6 +629,15 @@ spec: description: Uninstall holds the configuration for Helm uninstall actions for this HelmRelease. properties: + deletionPropagation: + default: background + description: DeletionPropagation specifies the deletion propagation + policy when a Helm uninstall is performed. + enum: + - background + - foreground + - orphan + type: string disableHooks: description: DisableHooks prevents hooks from running during the Helm rollback action. diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml similarity index 98% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml index 8932fb4c06..debfb62355 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_helmrepositories.source.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: helmrepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -372,10 +371,6 @@ spec: description: Artifact represents the last successful HelmRepository reconciliation. properties: - checksum: - description: 'Checksum is the SHA256 checksum of the Artifact - file. Deprecated: use Artifact.Digest instead.' - type: string digest: description: Digest is the digest of the file in the form of ':'. pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ @@ -411,7 +406,9 @@ spec: the Artifact contents. type: string required: + - lastUpdateTime - path + - revision - url type: object conditions: diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml similarity index 69% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml index 623659c14d..1c11313e69 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_kustomizations.kustomize.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: kustomizations.kustomize.toolkit.fluxcd.io spec: group: kustomize.toolkit.fluxcd.io @@ -21,6 +20,488 @@ spec: singular: kustomization scope: Namespaced versions: + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + name: v1 + schema: + openAPIV3Schema: + description: Kustomization is the Schema for the kustomizations API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: KustomizationSpec defines the configuration to calculate + the desired state from a Source using Kustomize. + properties: + commonMetadata: + description: CommonMetadata specifies the common labels and annotations + that are applied to all resources. Any existing label or annotation + will be overridden if its key matches a common one. + properties: + annotations: + additionalProperties: + type: string + description: Annotations to be added to the object's metadata. + type: object + labels: + additionalProperties: + type: string + description: Labels to be added to the object's metadata. + type: object + type: object + components: + description: Components specifies relative paths to specifications + of other Components. + items: + type: string + type: array + decryption: + description: Decrypt Kubernetes secrets before applying them on the + cluster. + properties: + provider: + description: Provider is the name of the decryption engine. + enum: + - sops + type: string + secretRef: + description: The secret name containing the private OpenPGP keys + used for decryption. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + required: + - provider + type: object + dependsOn: + description: DependsOn may contain a meta.NamespacedObjectReference + slice with references to Kustomization resources that must be ready + before this Kustomization can be reconciled. + items: + description: NamespacedObjectReference contains enough information + to locate the referenced Kubernetes resource object in any namespace. + properties: + name: + description: Name of the referent. + type: string + namespace: + description: Namespace of the referent, when not specified it + acts as LocalObjectReference. + type: string + required: + - name + type: object + type: array + force: + default: false + description: Force instructs the controller to recreate resources + when patching fails due to an immutable field change. + type: boolean + healthChecks: + description: A list of resources to be included in the health assessment. + items: + description: NamespacedObjectKindReference contains enough information + to locate the typed referenced Kubernetes resource object in any + namespace. + properties: + apiVersion: + description: API version of the referent, if not specified the + Kubernetes preferred version will be used. + type: string + kind: + description: Kind of the referent. + type: string + name: + description: Name of the referent. + type: string + namespace: + description: Namespace of the referent, when not specified it + acts as LocalObjectReference. + type: string + required: + - kind + - name + type: object + type: array + images: + description: 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. + items: + description: Image contains an image name, a new name, a new tag + or digest, which will replace the original name and tag. + properties: + digest: + description: Digest is the value used to replace the original + image tag. If digest is present NewTag value is ignored. + type: string + name: + description: Name is a tag-less image name. + type: string + newName: + description: NewName is the value used to replace the original + name. + type: string + newTag: + description: NewTag is the value used to replace the original + tag. + type: string + required: + - name + type: object + type: array + interval: + description: The interval at which to reconcile the Kustomization. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + kubeConfig: + description: The KubeConfig for reconciling the Kustomization on a + remote cluster. When used in combination with KustomizationSpec.ServiceAccountName, + forces the controller to act on behalf of that Service Account at + the target cluster. If the --default-service-account flag is set, + its value will be used as a controller level fallback for when KustomizationSpec.ServiceAccountName + is empty. + properties: + secretRef: + description: SecretRef holds the name of a secret that contains + a key with the kubeconfig file as the value. If no key is set, + the key will default to 'value'. It is recommended that the + kubeconfig is self-contained, and the secret is regularly updated + if credentials such as a cloud-access-token expire. Cloud specific + `cmd-path` auth helpers will not function without adding binaries + and credentials to the Pod that is responsible for reconciling + Kubernetes resources. + properties: + key: + description: Key in the Secret, when not specified an implementation-specific + default key is used. + type: string + name: + description: Name of the Secret. + type: string + required: + - name + type: object + required: + - secretRef + type: object + patches: + description: Strategic merge and JSON patches, defined as inline YAML + objects, capable of targeting objects based on kind, label and annotation + selectors. + items: + description: Patch contains an inline StrategicMerge or JSON6902 + patch, and the target the patch should be applied to. + properties: + patch: + description: Patch contains an inline StrategicMerge patch or + an inline JSON6902 patch with an array of operation objects. + type: string + target: + description: Target points to the resources that the patch document + should be applied to. + properties: + annotationSelector: + description: AnnotationSelector is a string that follows + the label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api + It matches with the resource annotations. + type: string + group: + description: Group is the API group to select resources + from. Together with Version and Kind it is capable of + unambiguously identifying and/or selecting resources. + https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md + type: string + kind: + description: Kind of the API Group to select resources from. + Together with Group and Version it is capable of unambiguously + identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md + type: string + labelSelector: + description: LabelSelector is a string that follows the + label selection expression https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api + It matches with the resource labels. + type: string + name: + description: Name to match resources with. + type: string + namespace: + description: Namespace to select resources from. + type: string + version: + description: Version of the API Group to select resources + from. Together with Group and Kind it is capable of unambiguously + identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md + type: string + type: object + required: + - patch + type: object + type: array + path: + description: 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. + type: string + postBuild: + description: PostBuild describes which actions to perform on the YAML + manifest generated by building the kustomize overlay. + properties: + substitute: + additionalProperties: + type: string + description: Substitute holds a map of key/value pairs. The variables + defined in your YAML manifests that match any of the keys defined + in the map will be substituted with the set value. Includes + support for bash string replacement functions e.g. ${var:=default}, + ${var:position} and ${var/substring/replacement}. + type: object + substituteFrom: + description: SubstituteFrom holds references to ConfigMaps and + Secrets containing the variables and their values to be substituted + in the YAML manifests. The ConfigMap and the Secret data keys + represent the var names, and they must match the vars declared + in the manifests for the substitution to happen. + items: + description: SubstituteReference contains a reference to a resource + containing the variables name and value. + properties: + kind: + description: Kind of the values referent, valid values are + ('Secret', 'ConfigMap'). + enum: + - Secret + - ConfigMap + type: string + name: + description: Name of the values referent. Should reside + in the same namespace as the referring resource. + maxLength: 253 + minLength: 1 + type: string + optional: + default: false + description: Optional indicates whether the referenced resource + must exist, or whether to tolerate its absence. If true + and the referenced resource is absent, proceed as if the + resource was present but empty, without any variables + defined. + type: boolean + required: + - kind + - name + type: object + type: array + type: object + prune: + description: Prune enables garbage collection. + type: boolean + retryInterval: + description: The interval at which to retry a previously failed reconciliation. + When not specified, the controller uses the KustomizationSpec.Interval + value to retry failures. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + serviceAccountName: + description: The name of the Kubernetes service account to impersonate + when reconciling this Kustomization. + type: string + sourceRef: + description: Reference of the source where the kustomization file + is. + properties: + apiVersion: + description: API version of the referent. + type: string + kind: + description: Kind of the referent. + enum: + - OCIRepository + - GitRepository + - Bucket + type: string + name: + description: Name of the referent. + type: string + namespace: + description: Namespace of the referent, defaults to the namespace + of the Kubernetes resource object that contains the reference. + type: string + required: + - kind + - name + type: object + suspend: + description: This flag tells the controller to suspend subsequent + kustomize executions, it does not apply to already started executions. + Defaults to false. + type: boolean + targetNamespace: + description: TargetNamespace sets or overrides the namespace in the + kustomization.yaml file. + maxLength: 63 + minLength: 1 + type: string + timeout: + description: Timeout for validation, apply and health checking operations. + Defaults to 'Interval' duration. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + wait: + description: Wait instructs the controller to check the health of + all the reconciled resources. When enabled, the HealthChecks are + ignored. Defaults to false. + type: boolean + required: + - interval + - prune + - sourceRef + type: object + status: + default: + observedGeneration: -1 + description: KustomizationStatus defines the observed state of a kustomization. + properties: + conditions: + items: + description: "Condition contains details for one aspect of the current + state of this API Resource. --- This struct is intended for direct + use as an array at the field path .status.conditions. For example, + \n type FooStatus struct{ // Represents the observations of a + foo's current state. // Known .status.conditions.type are: \"Available\", + \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge + // +listType=map // +listMapKey=type Conditions []metav1.Condition + `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" + protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: lastTransitionTime is the last time the condition + transitioned from one status to another. This should be when + the underlying condition changed. If that is not known, then + using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: message is a human readable message indicating + details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: observedGeneration represents the .metadata.generation + that the condition was set based upon. For instance, if .metadata.generation + is currently 12, but the .status.conditions[x].observedGeneration + is 9, the condition is out of date with respect to the current + state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: reason contains a programmatic identifier indicating + the reason for the condition's last transition. Producers + of specific condition types may define expected values and + meanings for this field, and whether the values are considered + a guaranteed API. The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + --- Many .condition.type values are consistent across resources + like Available, but because arbitrary conditions can be useful + (see .node.status.conditions), the ability to deconflict is + important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + inventory: + description: Inventory contains the list of Kubernetes resource object + references that have been successfully applied. + properties: + entries: + description: Entries of Kubernetes resource object references. + items: + description: ResourceRef contains the information necessary + to locate a resource within a cluster. + properties: + id: + description: ID is the string representation of the Kubernetes + resource object's metadata, in the format '___'. + type: string + v: + description: Version is the API version of the Kubernetes + resource object's kind. + type: string + required: + - id + - v + type: object + type: array + required: + - entries + type: object + lastAppliedRevision: + description: The last successfully applied revision. Equals the Revision + of the applied Artifact from the referenced Source. + type: string + lastAttemptedRevision: + description: LastAttemptedRevision is the revision of the last reconciliation + attempt. + type: string + lastHandledReconcileAt: + description: LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value can + be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last reconciled generation. + format: int64 + type: integer + type: object + type: object + served: true + storage: true + subresources: + status: {} - additionalPrinterColumns: - jsonPath: .status.conditions[?(@.type=="Ready")].status name: Ready @@ -31,6 +512,8 @@ spec: - jsonPath: .metadata.creationTimestamp name: Age type: date + deprecated: true + deprecationWarning: v1beta1 Kustomization is deprecated, upgrade to v1 name: v1beta1 schema: openAPIV3Schema: @@ -224,6 +707,8 @@ spec: identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md type: string type: object + required: + - patch type: object type: array patchesJson6902: @@ -568,6 +1053,8 @@ spec: - jsonPath: .status.conditions[?(@.type=="Ready")].message name: Status type: string + deprecated: true + deprecationWarning: v1beta2 Kustomization is deprecated, upgrade to v1 name: v1beta2 schema: openAPIV3Schema: @@ -589,9 +1076,25 @@ spec: description: KustomizationSpec defines the configuration to calculate the desired state from a Source using Kustomize. properties: + commonMetadata: + description: CommonMetadata specifies the common labels and annotations + that are applied to all resources. Any existing label or annotation + will be overridden if its key matches a common one. + properties: + annotations: + additionalProperties: + type: string + description: Annotations to be added to the object's metadata. + type: object + labels: + additionalProperties: + type: string + description: Labels to be added to the object's metadata. + type: object + type: object components: description: Components specifies relative paths to specifications - of other Components + of other Components. items: type: string type: array @@ -778,6 +1281,8 @@ spec: identifying and/or selecting resources. https://github.com/kubernetes/community/blob/master/contributors/design-proposals/api-machinery/api-group.md type: string type: object + required: + - patch type: object type: array patchesJson6902: @@ -1121,6 +1626,6 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: status: {} diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml similarity index 98% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml index 838e0fac70..a44ec82570 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_ocirepositories.source.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: ocirepositories.source.toolkit.fluxcd.io spec: group: source.toolkit.fluxcd.io @@ -198,10 +197,6 @@ spec: description: Artifact represents the output of the last successful OCI Repository sync. properties: - checksum: - description: 'Checksum is the SHA256 checksum of the Artifact - file. Deprecated: use Artifact.Digest instead.' - type: string digest: description: Digest is the digest of the file in the form of ':'. pattern: ^[a-z0-9]+(?:[.+_-][a-z0-9]+)*:[a-zA-Z0-9=_-]+$ @@ -237,7 +232,9 @@ spec: the Artifact contents. type: string required: + - lastUpdateTime - path + - revision - url type: object conditions: diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml similarity index 97% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml index b7724f0af3..3c48e4fe3c 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_providers.notification.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: providers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -233,10 +232,12 @@ spec: description: ProviderSpec defines the desired state of the Provider. properties: address: - description: Address specifies the HTTP/S incoming webhook address - of this Provider. + description: Address specifies the endpoint, in a generic sense, to + where alerts are sent. What kind of endpoint depends on the specific + Provider type being used. For the generic Provider, for example, + this is an HTTP/S address. For other Provider types this could be + a project ID or a namespace. maxLength: 2048 - pattern: ^(http|https)://.*$ type: string certSecretRef: description: CertSecretRef specifies the Secret containing a PEM-encoded @@ -296,6 +297,7 @@ spec: - bitbucket - azuredevops - googlechat + - googlepubsub - webex - sentry - azureeventhub @@ -306,6 +308,7 @@ spec: - alertmanager - grafana - githubdispatch + - pagerduty type: string username: description: Username specifies the name under which events are posted. diff --git a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml similarity index 64% rename from services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml rename to services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml index e695c7c6d6..82a2f162a2 100644 --- a/services/kommander-flux/0.41.2/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml +++ b/services/kommander-flux/2.0.1/templates/apiextensions.k8s.io_v1_customresourcedefinition_receivers.notification.toolkit.fluxcd.io.yaml @@ -2,13 +2,12 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.11.1 - creationTimestamp: null + controller-gen.kubebuilder.io/version: v0.12.0 labels: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: receivers.notification.toolkit.fluxcd.io spec: group: notification.toolkit.fluxcd.io @@ -29,6 +28,227 @@ spec: - jsonPath: .status.conditions[?(@.type=="Ready")].message name: Status type: string + name: v1 + schema: + openAPIV3Schema: + description: Receiver is the Schema for the receivers API. + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ReceiverSpec defines the desired state of the Receiver. + properties: + events: + description: Events specifies the list of event types to handle, e.g. + 'push' for GitHub or 'Push Hook' for GitLab. + items: + type: string + type: array + interval: + default: 10m + description: Interval at which to reconcile the Receiver with its + Secret references. + pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$ + type: string + resources: + description: A list of resources to be notified about changes. + items: + description: CrossNamespaceObjectReference contains enough information + to let you locate the typed referenced object at cluster level + properties: + apiVersion: + description: API version of the referent + type: string + kind: + description: Kind of the referent + enum: + - Bucket + - GitRepository + - Kustomization + - HelmRelease + - HelmChart + - HelmRepository + - ImageRepository + - ImagePolicy + - ImageUpdateAutomation + - OCIRepository + type: string + matchLabels: + additionalProperties: + type: string + description: MatchLabels is a map of {key,value} pairs. A single + {key,value} in the matchLabels map is equivalent to an element + of matchExpressions, whose key field is "key", the operator + is "In", and the values array contains only "value". The requirements + are ANDed. MatchLabels requires the name to be set to `*`. + type: object + name: + description: Name of the referent If multiple resources are + targeted `*` may be set. + maxLength: 53 + minLength: 1 + type: string + namespace: + description: Namespace of the referent + maxLength: 53 + minLength: 1 + type: string + required: + - kind + - name + type: object + type: array + secretRef: + description: SecretRef specifies the Secret containing the token used + to validate the payload authenticity. + properties: + name: + description: Name of the referent. + type: string + required: + - name + type: object + suspend: + description: Suspend tells the controller to suspend subsequent events + handling for this receiver. + type: boolean + type: + description: Type of webhook sender, used to determine the validation + procedure and payload deserialization. + enum: + - generic + - generic-hmac + - github + - gitlab + - bitbucket + - harbor + - dockerhub + - quay + - gcr + - nexus + - acr + type: string + required: + - resources + - secretRef + - type + type: object + status: + default: + observedGeneration: -1 + description: ReceiverStatus defines the observed state of the Receiver. + properties: + conditions: + description: Conditions holds the conditions for the Receiver. + items: + description: "Condition contains details for one aspect of the current + state of this API Resource. --- This struct is intended for direct + use as an array at the field path .status.conditions. For example, + \n type FooStatus struct{ // Represents the observations of a + foo's current state. // Known .status.conditions.type are: \"Available\", + \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge + // +listType=map // +listMapKey=type Conditions []metav1.Condition + `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" + protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" + properties: + lastTransitionTime: + description: lastTransitionTime is the last time the condition + transitioned from one status to another. This should be when + the underlying condition changed. If that is not known, then + using the time when the API field changed is acceptable. + format: date-time + type: string + message: + description: message is a human readable message indicating + details about the transition. This may be an empty string. + maxLength: 32768 + type: string + observedGeneration: + description: observedGeneration represents the .metadata.generation + that the condition was set based upon. For instance, if .metadata.generation + is currently 12, but the .status.conditions[x].observedGeneration + is 9, the condition is out of date with respect to the current + state of the instance. + format: int64 + minimum: 0 + type: integer + reason: + description: reason contains a programmatic identifier indicating + the reason for the condition's last transition. Producers + of specific condition types may define expected values and + meanings for this field, and whether the values are considered + a guaranteed API. The value should be a CamelCase string. + This field may not be empty. + maxLength: 1024 + minLength: 1 + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ + type: string + status: + description: status of the condition, one of True, False, Unknown. + enum: + - "True" + - "False" + - Unknown + type: string + type: + description: type of condition in CamelCase or in foo.example.com/CamelCase. + --- Many .condition.type values are consistent across resources + like Available, but because arbitrary conditions can be useful + (see .node.status.conditions), the ability to deconflict is + important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) + maxLength: 316 + 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])$ + type: string + required: + - lastTransitionTime + - message + - reason + - status + - type + type: object + type: array + lastHandledReconcileAt: + description: LastHandledReconcileAt holds the value of the most recent + reconcile request value, so a change of the annotation value can + be detected. + type: string + observedGeneration: + description: ObservedGeneration is the last observed generation of + the Receiver object. + format: int64 + type: integer + webhookPath: + description: WebhookPath is the generated incoming webhook address + in the format of '/hook/sha256sum(token+name+namespace)'. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} + - additionalPrinterColumns: + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + - jsonPath: .status.conditions[?(@.type=="Ready")].status + name: Ready + type: string + - jsonPath: .status.conditions[?(@.type=="Ready")].message + name: Status + type: string + deprecated: true + deprecationWarning: v1beta1 Receiver is deprecated, upgrade to v1 name: v1beta1 schema: openAPIV3Schema: @@ -231,6 +451,8 @@ spec: - jsonPath: .status.conditions[?(@.type=="Ready")].message name: Status type: string + deprecated: true + deprecationWarning: v1beta2 Receiver is deprecated, upgrade to v1 name: v1beta2 schema: openAPIV3Schema: @@ -269,10 +491,10 @@ spec: to let you locate the typed referenced object at cluster level properties: apiVersion: - description: API version of the referent. + description: API version of the referent type: string kind: - description: Kind of the referent. + description: Kind of the referent enum: - Bucket - GitRepository @@ -292,19 +514,21 @@ spec: {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements - are ANDed. + are ANDed. MatchLabels requires the name to be set to `*`. type: object name: - description: Name of the referent. + description: Name of the referent If multiple resources are + targeted `*` may be set. maxLength: 53 minLength: 1 type: string namespace: - description: Namespace of the referent. + description: Namespace of the referent maxLength: 53 minLength: 1 type: string required: + - kind - name type: object type: array @@ -438,6 +662,6 @@ spec: type: object type: object served: true - storage: true + storage: false subresources: status: {} diff --git a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_helm-controller.yaml b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_helm-controller.yaml similarity index 95% rename from services/kommander-flux/0.41.2/templates/apps_v1_deployment_helm-controller.yaml rename to services/kommander-flux/2.0.1/templates/apps_v1_deployment_helm-controller.yaml index de567abb49..dfd30dc77d 100644 --- a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_helm-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_helm-controller.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: helm-controller namespace: kommander-flux @@ -35,7 +35,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/helm-controller:v0.31.2 + image: ghcr.io/fluxcd/helm-controller:v0.35.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_kustomize-controller.yaml b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_kustomize-controller.yaml similarity index 95% rename from services/kommander-flux/0.41.2/templates/apps_v1_deployment_kustomize-controller.yaml rename to services/kommander-flux/2.0.1/templates/apps_v1_deployment_kustomize-controller.yaml index 50b5714ef9..8be690977b 100644 --- a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_kustomize-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_kustomize-controller.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: kustomize-controller namespace: kommander-flux @@ -36,7 +36,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/kustomize-controller:v0.35.1 + image: ghcr.io/fluxcd/kustomize-controller:v1.0.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_notification-controller.yaml b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_notification-controller.yaml similarity index 95% rename from services/kommander-flux/0.41.2/templates/apps_v1_deployment_notification-controller.yaml rename to services/kommander-flux/2.0.1/templates/apps_v1_deployment_notification-controller.yaml index 5f1fcb40a8..379cefd994 100644 --- a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_notification-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_notification-controller.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: notification-controller namespace: kommander-flux @@ -33,7 +33,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: ghcr.io/fluxcd/notification-controller:v0.33.0 + image: ghcr.io/fluxcd/notification-controller:v1.0.0 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_source-controller.yaml b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_source-controller.yaml similarity index 96% rename from services/kommander-flux/0.41.2/templates/apps_v1_deployment_source-controller.yaml rename to services/kommander-flux/2.0.1/templates/apps_v1_deployment_source-controller.yaml index c13e44926e..9337c1e7d6 100644 --- a/services/kommander-flux/0.41.2/templates/apps_v1_deployment_source-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/apps_v1_deployment_source-controller.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: source-controller namespace: kommander-flux @@ -40,7 +40,7 @@ spec: fieldPath: metadata.namespace - name: TUF_ROOT value: /tmp/.sigstore - image: ghcr.io/fluxcd/source-controller:v0.36.1 + image: ghcr.io/fluxcd/source-controller:v1.0.1 imagePullPolicy: IfNotPresent livenessProbe: httpGet: diff --git a/services/kommander-flux/0.41.2/templates/kustomization.yaml b/services/kommander-flux/2.0.1/templates/kustomization.yaml similarity index 97% rename from services/kommander-flux/0.41.2/templates/kustomization.yaml rename to services/kommander-flux/2.0.1/templates/kustomization.yaml index fb7034dd16..e8b4f11e73 100644 --- a/services/kommander-flux/0.41.2/templates/kustomization.yaml +++ b/services/kommander-flux/2.0.1/templates/kustomization.yaml @@ -25,6 +25,7 @@ resources: - rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml - rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml - v1_namespace_kommander-flux.yaml +- v1_resourcequota_critical-pods-kommander-flux.yaml - v1_service_notification-controller.yaml - v1_service_source-controller.yaml - v1_service_webhook-receiver.yaml diff --git a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml similarity index 89% rename from services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml rename to services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml index 2781f797e0..3a94323f3a 100644 --- a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml +++ b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-egress.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: allow-egress namespace: kommander-flux spec: diff --git a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml similarity index 90% rename from services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml rename to services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml index 4331cd301f..47694a7f46 100644 --- a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml +++ b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-scraping.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: allow-scraping namespace: kommander-flux spec: diff --git a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-source.yaml b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-source.yaml similarity index 100% rename from services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-source.yaml rename to services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-source.yaml diff --git a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml similarity index 90% rename from services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml rename to services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml index 8f6d9c57b1..9d228eec65 100644 --- a/services/kommander-flux/0.41.2/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml +++ b/services/kommander-flux/2.0.1/templates/networking.k8s.io_v1_networkpolicy_allow-webhooks.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: allow-webhooks namespace: kommander-flux spec: diff --git a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml similarity index 96% rename from services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml rename to services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml index 642598a104..db7232bd3f 100644 --- a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml +++ b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_crd-controller-kommander-flux.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: crd-controller-kommander-flux rules: - apiGroups: diff --git a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml similarity index 93% rename from services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml rename to services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml index 44bd664177..7afa174020 100644 --- a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml +++ b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-edit-kommander-flux.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" name: flux-edit-kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml similarity index 93% rename from services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml rename to services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml index 485cb43569..4b9fff8116 100644 --- a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml +++ b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrole_flux-view-kommander-flux.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 rbac.authorization.k8s.io/aggregate-to-admin: "true" rbac.authorization.k8s.io/aggregate-to-edit: "true" rbac.authorization.k8s.io/aggregate-to-view: "true" diff --git a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml similarity index 92% rename from services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml rename to services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml index c710c9dc2d..81e0733b3c 100644 --- a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml +++ b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_cluster-reconciler-kommander-flux.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: cluster-reconciler-kommander-flux roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml similarity index 95% rename from services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml rename to services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml index 8cbeedf29b..9d8c333f76 100644 --- a/services/kommander-flux/0.41.2/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml +++ b/services/kommander-flux/2.0.1/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_crd-controller-kommander-flux.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: crd-controller-kommander-flux roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/services/kommander-flux/0.41.2/templates/v1_namespace_kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/v1_namespace_kommander-flux.yaml similarity index 86% rename from services/kommander-flux/0.41.2/templates/v1_namespace_kommander-flux.yaml rename to services/kommander-flux/2.0.1/templates/v1_namespace_kommander-flux.yaml index b4a72c0bd0..1e156175dd 100644 --- a/services/kommander-flux/0.41.2/templates/v1_namespace_kommander-flux.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_namespace_kommander-flux.yaml @@ -4,7 +4,7 @@ metadata: labels: app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 pod-security.kubernetes.io/warn: restricted pod-security.kubernetes.io/warn-version: latest name: kommander-flux diff --git a/services/kommander-flux/2.0.1/templates/v1_resourcequota_critical-pods-kommander-flux.yaml b/services/kommander-flux/2.0.1/templates/v1_resourcequota_critical-pods-kommander-flux.yaml new file mode 100644 index 0000000000..ade40746c1 --- /dev/null +++ b/services/kommander-flux/2.0.1/templates/v1_resourcequota_critical-pods-kommander-flux.yaml @@ -0,0 +1,19 @@ +apiVersion: v1 +kind: ResourceQuota +metadata: + labels: + app.kubernetes.io/instance: kommander-flux + app.kubernetes.io/part-of: flux + app.kubernetes.io/version: v2.0.1 + name: critical-pods-kommander-flux + namespace: kommander-flux +spec: + hard: + pods: "1000" + scopeSelector: + matchExpressions: + - operator: In + scopeName: PriorityClass + values: + - system-node-critical + - system-cluster-critical diff --git a/services/kommander-flux/0.41.2/templates/v1_service_notification-controller.yaml b/services/kommander-flux/2.0.1/templates/v1_service_notification-controller.yaml similarity index 91% rename from services/kommander-flux/0.41.2/templates/v1_service_notification-controller.yaml rename to services/kommander-flux/2.0.1/templates/v1_service_notification-controller.yaml index 15a85b11df..ce47d5e66d 100644 --- a/services/kommander-flux/0.41.2/templates/v1_service_notification-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_service_notification-controller.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: notification-controller namespace: kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/v1_service_source-controller.yaml b/services/kommander-flux/2.0.1/templates/v1_service_source-controller.yaml similarity index 91% rename from services/kommander-flux/0.41.2/templates/v1_service_source-controller.yaml rename to services/kommander-flux/2.0.1/templates/v1_service_source-controller.yaml index f398e48833..c91f89775e 100644 --- a/services/kommander-flux/0.41.2/templates/v1_service_source-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_service_source-controller.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: source-controller namespace: kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/v1_service_webhook-receiver.yaml b/services/kommander-flux/2.0.1/templates/v1_service_webhook-receiver.yaml similarity index 91% rename from services/kommander-flux/0.41.2/templates/v1_service_webhook-receiver.yaml rename to services/kommander-flux/2.0.1/templates/v1_service_webhook-receiver.yaml index ffe2ce34b7..20e9db90b6 100644 --- a/services/kommander-flux/0.41.2/templates/v1_service_webhook-receiver.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_service_webhook-receiver.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 control-plane: controller name: webhook-receiver namespace: kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_helm-controller.yaml b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_helm-controller.yaml similarity index 86% rename from services/kommander-flux/0.41.2/templates/v1_serviceaccount_helm-controller.yaml rename to services/kommander-flux/2.0.1/templates/v1_serviceaccount_helm-controller.yaml index 3f5813855a..6c0aa14f58 100644 --- a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_helm-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_helm-controller.yaml @@ -5,6 +5,6 @@ metadata: app.kubernetes.io/component: helm-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: helm-controller namespace: kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_kustomize-controller.yaml b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_kustomize-controller.yaml similarity index 86% rename from services/kommander-flux/0.41.2/templates/v1_serviceaccount_kustomize-controller.yaml rename to services/kommander-flux/2.0.1/templates/v1_serviceaccount_kustomize-controller.yaml index db849b1152..eed23128b5 100644 --- a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_kustomize-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_kustomize-controller.yaml @@ -5,6 +5,6 @@ metadata: app.kubernetes.io/component: kustomize-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: kustomize-controller namespace: kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_notification-controller.yaml b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_notification-controller.yaml similarity index 86% rename from services/kommander-flux/0.41.2/templates/v1_serviceaccount_notification-controller.yaml rename to services/kommander-flux/2.0.1/templates/v1_serviceaccount_notification-controller.yaml index c2864bfb37..a47bb51bfa 100644 --- a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_notification-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_notification-controller.yaml @@ -5,6 +5,6 @@ metadata: app.kubernetes.io/component: notification-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: notification-controller namespace: kommander-flux diff --git a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_source-controller.yaml b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_source-controller.yaml similarity index 86% rename from services/kommander-flux/0.41.2/templates/v1_serviceaccount_source-controller.yaml rename to services/kommander-flux/2.0.1/templates/v1_serviceaccount_source-controller.yaml index 3742e3bcc1..ebf3787bae 100644 --- a/services/kommander-flux/0.41.2/templates/v1_serviceaccount_source-controller.yaml +++ b/services/kommander-flux/2.0.1/templates/v1_serviceaccount_source-controller.yaml @@ -5,6 +5,6 @@ metadata: app.kubernetes.io/component: source-controller app.kubernetes.io/instance: kommander-flux app.kubernetes.io/part-of: flux - app.kubernetes.io/version: v0.41.2 + app.kubernetes.io/version: v2.0.1 name: source-controller namespace: kommander-flux