Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/linters/.codespellrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[codespell]
# AKS = Azure Kubernetes Service (valid acronym)
# notin = Kubernetes matchExpression operator "NotIn"
ignore-words-list = aks,notin
# requestor = valid alternate spelling of "requester", used in ConfigurationGroup's RequestorHash field
ignore-words-list = aks,notin,requestor
4 changes: 2 additions & 2 deletions charts/projectsveltos/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v2
name: projectsveltos
description: Projectsveltos helm chart for Kubernetes
type: application
version: 1.12.8
version: 1.13.0
# renovate: docker=docker.io/projectsveltos/addon-controller
appVersion: "v1.12.0"
appVersion: "v1.13.0"
kubeVersion: ">=1.25.0-0"
home: https://projectsveltos.github.io/helm-charts/
sources:
Expand Down
274 changes: 130 additions & 144 deletions charts/projectsveltos/README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions charts/projectsveltos/crds/clusterconfiguration-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ spec:
type: object
type: array
featureID:
description: FeatureID is an indentifier of the feature
description: FeatureID is an identifier of the feature
whose status is reported
enum:
- Resources
Expand Down Expand Up @@ -227,7 +227,7 @@ spec:
type: object
type: array
featureID:
description: FeatureID is an indentifier of the feature
description: FeatureID is an identifier of the feature
whose status is reported
enum:
- Resources
Expand Down
94 changes: 85 additions & 9 deletions charts/projectsveltos/crds/clusterprofile-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,17 @@ spec:
description: PassCredentialsAll is the flag to pass credentials
to all domains
type: boolean
postRenderStrategy:
description: |-
PostRenderStrategy controls whether Helm hooks are included when Patches/PatchesFrom
are applied as a post-renderer during this chart's install/upgrade. Only relevant
when Patches or PatchesFrom is set on the Spec; ignored otherwise. Defaults to
Helm's own default (combined) when unset.
enum:
- combined
- separate
- nohooks
type: string
runTests:
default: false
description: |-
Expand Down Expand Up @@ -753,11 +764,20 @@ spec:
- Local
- Remote
type: string
force:
default: false
description: |-
Force indicates whether Sveltos should delete and recreate a resource defined in this
KustomizationRef when an update is rejected with an error that only a delete+recreate
can resolve (eg an invalid combination of fields, or a field enforced as immutable).
By default, such errors are surfaced instead of recreating the resource.
type: boolean
kind:
description: |-
Kind of the resource. Supported kinds are:
- flux GitRepository;OCIRepository;Bucket
- ConfigMap/Secret
Required when RemoteURL is not set.
enum:
- GitRepository
- OCIRepository
Expand All @@ -769,7 +789,7 @@ spec:
description: |-
Name of the referenced resource.
Name can be expressed as a template and instantiate using any cluster field.
minLength: 1
Required when RemoteURL is not set.
type: string
namespace:
description: |-
Expand All @@ -778,6 +798,7 @@ spec:
be implicit set to cluster's namespace.
For Profile namespace must be left empty. The Profile namespace will be used.
Namespace can be expressed as a template and instantiate using any cluster field.
Not used when RemoteURL is set.
type: string
optional:
default: false
Expand All @@ -795,6 +816,54 @@ spec:
When expressed as templates, the values are filled in using information from
resources within the management cluster before deployment (Cluster)
type: string
remoteURL:
description: |-
RemoteURL configures fetching the Kustomize directory content from an HTTP/HTTPS
endpoint or an OCI registry, without requiring a Flux GitRepository/OCIRepository/Bucket
or a ConfigMap/Secret.
When set, Kind/Name/Namespace must be omitted.
properties:
interval:
description: |-
Interval defines how often Sveltos re-fetches the source to detect changes.
Defaults to 5 minutes.
type: string
secretRef:
description: |-
SecretRef references a Secret in the management cluster containing optional
credentials for fetching the source. Both Name and Namespace must be set,
allowing the Secret to live in any namespace (e.g. projectsveltos) so that
a single Secret can be shared across clusters without replication.
Supported Secret keys:
"token" — Bearer token (Authorization: Bearer <token>)
"username"+"password" — HTTP Basic Auth or OCI registry basic auth
"caFile" — PEM-encoded CA certificate for TLS verification
properties:
name:
description: name is unique within a namespace to reference
a secret resource.
type: string
namespace:
description: namespace defines the space within which
the secret name must be unique.
type: string
type: object
x-kubernetes-map-type: atomic
url:
description: |-
URL is the remote source serving the Kustomize directory content.
Sveltos fetches the content on every reconciliation and redeploys if the
content hash has changed.
Supported schemes:
"http://" or "https://" — HTTP/HTTPS endpoint serving a gzipped tarball
(.tar.gz) of the Kustomize directory
"oci://" — OCI registry artifact whose layers are extracted
the same way, preserving the directory tree
pattern: ^(https?|oci)://
type: string
required:
- url
type: object
skipNamespaceCreation:
default: false
description: |-
Expand Down Expand Up @@ -897,11 +966,10 @@ spec:
- name
type: object
type: array
required:
- kind
- name
- namespace
type: object
x-kubernetes-validations:
- message: either remoteURL or kind must be set, but not both
rule: has(self.remoteURL) != has(self.kind)
type: array
x-kubernetes-list-type: atomic
maxConsecutiveFailures:
Expand Down Expand Up @@ -1050,6 +1118,14 @@ spec:
- Local
- Remote
type: string
force:
default: false
description: |-
Force indicates whether Sveltos should delete and recreate a resource defined in this
PolicyRef when an update is rejected with an error that only a delete+recreate can
resolve (eg an invalid combination of fields, or a field enforced as immutable).
By default, such errors are surfaced instead of recreating the resource.
type: boolean
kind:
description: |-
Kind of the resource. Supported kinds are:
Expand Down Expand Up @@ -1207,7 +1283,7 @@ spec:
type: array
featureID:
description: |-
FeatureID is an indentifier of the feature (Helm/Kustomize/Resources)
FeatureID is an identifier of the feature (Helm/Kustomize/Resources)
This field indicates when to run this check.
For instance:
- if set to Helm this check will be run after all helm
Expand Down Expand Up @@ -1377,7 +1453,7 @@ spec:
type: array
featureID:
description: |-
FeatureID is an indentifier of the feature (Helm/Kustomize/Resources)
FeatureID is an identifier of the feature (Helm/Kustomize/Resources)
This field indicates when to run this check.
For instance:
- if set to Helm this check will be run after all helm
Expand Down Expand Up @@ -1547,7 +1623,7 @@ spec:
type: array
featureID:
description: |-
FeatureID is an indentifier of the feature (Helm/Kustomize/Resources)
FeatureID is an identifier of the feature (Helm/Kustomize/Resources)
This field indicates when to run this check.
For instance:
- if set to Helm this check will be run after all helm
Expand Down Expand Up @@ -1873,7 +1949,7 @@ spec:
type: array
featureID:
description: |-
FeatureID is an indentifier of the feature (Helm/Kustomize/Resources)
FeatureID is an identifier of the feature (Helm/Kustomize/Resources)
This field indicates when to run this check.
For instance:
- if set to Helm this check will be run after all helm
Expand Down
Loading
Loading