Skip to content

Commit

Permalink
Merge pull request #456 from gianlucam76/manifest
Browse files Browse the repository at this point in the history
Update manifest post release v0.46.0
  • Loading branch information
gianlucam76 authored Jan 30, 2025
2 parents 7ba004a + a116474 commit 28dc184
Show file tree
Hide file tree
Showing 28 changed files with 608 additions and 197 deletions.
1 change: 1 addition & 0 deletions kustomize/base/register-mgmt-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
containers:
- args:
- --labels=
- --service-account-token=false
image: docker.io/projectsveltos/register-mgmt-cluster:main
imagePullPolicy: IfNotPresent
name: register-mgmt-cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: accessrequests.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: classifierreports.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: classifiers.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: projectsveltos/projectsveltos-serving-cert
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: clusterhealthchecks.lib.projectsveltos.io
spec:
conversion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: projectsveltos/projectsveltos-serving-cert
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: clustersets.lib.projectsveltos.io
spec:
conversion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: debuggingconfigurations.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: eventreports.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down Expand Up @@ -157,6 +157,13 @@ spec:
type: object
spec:
properties:
cloudEvents:
description: CloudEvents contains a list of CloudEvents matching an
EventSource
items:
format: byte
type: string
type: array
clusterName:
description: |-
ClusterName is the name of the Cluster this EventReport
Expand All @@ -179,7 +186,7 @@ spec:
type: string
matchingResources:
description: MatchingResources contains a list of resources matching
an event
an EventSource
items:
description: ObjectReference contains enough information to let
you inspect or modify the referred object.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: eventsources.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down Expand Up @@ -173,8 +173,46 @@ spec:
CollectResources indicates whether matching resources need
to be collected and added to EventReport.
type: boolean
messagingMatchCriteria:
description: |-
MessagingMatchCriteria defines a list of MessagingMatchCriteria. Each criteria specifies
how to match CloudEvents received on specific NATS/JetStream subjects.
items:
description: |-
MessagingMatchCriteria defines criteria for matching CloudEvents received via NATS.
Sveltos listens to NATS/JetStream subjects, and the messages delivered on those
subjects are expected to be CloudEvents.
properties:
cloudEventSource:
description: |-
CloudEventSource filters CloudEvents based on their "source" attribute.
If specified, only CloudEvents with a matching source will be considered.
Regular expressions are supported.
type: string
cloudEventSubject:
description: |-
CloudEventSubject filters CloudEvents based on their "subject" attribute.
If specified, only CloudEvents with a matching subject will be considered.
Regular expressions are supported.
type: string
cloudEventType:
description: |-
CloudEventType filters CloudEvents based on their "type" attribute.
If specified, only CloudEvents with a matching type will be considered.
Regular expressions are supported.
type: string
subject:
description: |-
Subject is an optional NATS/JetStream subject filter. If specified, this criteria will
only consider CloudEvents received on this specific subject. Leaving it empty
means the criteria will match CloudEvents from any of the subjects Sveltos
is subscribed to. Regular expressions are supported.
type: string
type: object
type: array
resourceSelectors:
description: ResourceSelectors identifies what resources to select
description: ResourceSelectors identifies what Kubernetes resources
to select
items:
description: ResourceSelector defines what resources are a match
properties:
Expand Down Expand Up @@ -234,8 +272,6 @@ spec:
- version
type: object
type: array
required:
- resourceSelectors
type: object
type: object
served: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: healthcheckreports.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: healthchecks.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: reloaderreports.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: reloaders.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: projectsveltos/projectsveltos-serving-cert
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: rolerequests.lib.projectsveltos.io
spec:
conversion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: projectsveltos/projectsveltos-serving-cert
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: sets.lib.projectsveltos.io
spec:
conversion:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: sveltosclusters.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: techsupports.lib.projectsveltos.io
spec:
group: lib.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: clusterconfigurations.config.projectsveltos.io
spec:
group: config.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: projectsveltos/projectsveltos-serving-cert
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: clusterprofiles.config.projectsveltos.io
spec:
conversion:
Expand Down Expand Up @@ -583,9 +583,12 @@ spec:
- OneTime means, first time a workload cluster matches the ClusterProfile,
features will be deployed in such cluster. Any subsequent feature configuration
change won't be applied into the matching workload clusters;
- Continuous means first time a workload cluster matches the ClusterProfile,
features will be deployed in such a cluster. Any subsequent feature configuration
change will be applied into the matching workload clusters.
- Continuous mode ensures that the first time a workload cluster matches a ClusterProfile,
the specified features are deployed. Subsequent changes to the feature configuration are also
automatically applied to all matching workload clusters.
_ SyncModeContinuousWithDriftDetection operates similarly to Continuous mode, but also monitors
matching managed clusters for configuration drift. If drift is detected, a reconciliation is
triggered to ensure the managed cluster's configuration aligns with the ClusterProfile.
- DryRun means no change will be propagated to any matching cluster. A report
instead will be generated summarizing what would happen in any matching cluster
because of the changes made to ClusterProfile while in DryRun mode.
Expand Down Expand Up @@ -1054,6 +1057,14 @@ spec:
If set to true, Sveltos will attempt to deploy remaining resources in the ClusterProfile even
if conflicts are detected for previous resources.
type: boolean
continueOnError:
default: false
description: |-
By default (when ContinueOnError is unset or set to false), Sveltos stops deployment after
encountering the first error.
If set to true, Sveltos will attempt to deploy remaining resources in the ClusterProfile even
if errors are detected for previous resources.
type: boolean
dependsOn:
description: |-
DependsOn specifies a list of other ClusterProfiles that this instance depends on.
Expand Down Expand Up @@ -1747,9 +1758,12 @@ spec:
- OneTime means, first time a workload cluster matches the ClusterProfile,
features will be deployed in such cluster. Any subsequent feature configuration
change won't be applied into the matching workload clusters;
- Continuous means first time a workload cluster matches the ClusterProfile,
features will be deployed in such a cluster. Any subsequent feature configuration
change will be applied into the matching workload clusters.
- Continuous mode ensures that the first time a workload cluster matches a ClusterProfile,
the specified features are deployed. Subsequent changes to the feature configuration are also
automatically applied to all matching workload clusters.
_ SyncModeContinuousWithDriftDetection operates similarly to Continuous mode, but also monitors
matching managed clusters for configuration drift. If drift is detected, a reconciliation is
triggered to ensure the managed cluster's configuration aligns with the ClusterProfile.
- DryRun means no change will be propagated to any matching cluster. A report
instead will be generated summarizing what would happen in any matching cluster
because of the changes made to ClusterProfile while in DryRun mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: clusterreports.config.projectsveltos.io
spec:
group: config.projectsveltos.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: projectsveltos/projectsveltos-serving-cert
controller-gen.kubebuilder.io/version: v0.17.0
controller-gen.kubebuilder.io/version: v0.17.1
name: clustersummaries.config.projectsveltos.io
spec:
conversion:
Expand Down Expand Up @@ -597,9 +597,12 @@ spec:
- OneTime means, first time a workload cluster matches the ClusterProfile,
features will be deployed in such cluster. Any subsequent feature configuration
change won't be applied into the matching workload clusters;
- Continuous means first time a workload cluster matches the ClusterProfile,
features will be deployed in such a cluster. Any subsequent feature configuration
change will be applied into the matching workload clusters.
- Continuous mode ensures that the first time a workload cluster matches a ClusterProfile,
the specified features are deployed. Subsequent changes to the feature configuration are also
automatically applied to all matching workload clusters.
_ SyncModeContinuousWithDriftDetection operates similarly to Continuous mode, but also monitors
matching managed clusters for configuration drift. If drift is detected, a reconciliation is
triggered to ensure the managed cluster's configuration aligns with the ClusterProfile.
- DryRun means no change will be propagated to any matching cluster. A report
instead will be generated summarizing what would happen in any matching cluster
because of the changes made to ClusterProfile while in DryRun mode.
Expand Down Expand Up @@ -1068,6 +1071,14 @@ spec:
If set to true, Sveltos will attempt to deploy remaining resources in the ClusterProfile even
if conflicts are detected for previous resources.
type: boolean
continueOnError:
default: false
description: |-
By default (when ContinueOnError is unset or set to false), Sveltos stops deployment after
encountering the first error.
If set to true, Sveltos will attempt to deploy remaining resources in the ClusterProfile even
if errors are detected for previous resources.
type: boolean
dependsOn:
description: |-
DependsOn specifies a list of other ClusterProfiles that this instance depends on.
Expand Down Expand Up @@ -1761,9 +1772,12 @@ spec:
- OneTime means, first time a workload cluster matches the ClusterProfile,
features will be deployed in such cluster. Any subsequent feature configuration
change won't be applied into the matching workload clusters;
- Continuous means first time a workload cluster matches the ClusterProfile,
features will be deployed in such a cluster. Any subsequent feature configuration
change will be applied into the matching workload clusters.
- Continuous mode ensures that the first time a workload cluster matches a ClusterProfile,
the specified features are deployed. Subsequent changes to the feature configuration are also
automatically applied to all matching workload clusters.
_ SyncModeContinuousWithDriftDetection operates similarly to Continuous mode, but also monitors
matching managed clusters for configuration drift. If drift is detected, a reconciliation is
triggered to ensure the managed cluster's configuration aligns with the ClusterProfile.
- DryRun means no change will be propagated to any matching cluster. A report
instead will be generated summarizing what would happen in any matching cluster
because of the changes made to ClusterProfile while in DryRun mode.
Expand Down
Loading

0 comments on commit 28dc184

Please sign in to comment.