Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sveltos to v0.49.0 #1144

Merged
merged 1 commit into from
Mar 5, 2025
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
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/K0rdent/kcm

go 1.23.5
go 1.23.6

require (
github.com/Masterminds/semver/v3 v3.3.1
Expand All @@ -15,8 +15,8 @@ require (
github.com/onsi/ginkgo/v2 v2.22.2
github.com/onsi/gomega v1.36.2
github.com/opencontainers/go-digest v1.0.1-0.20231025023718-d50d2fec9c98
github.com/projectsveltos/addon-controller v0.47.0
github.com/projectsveltos/libsveltos v0.48.1
github.com/projectsveltos/addon-controller v0.49.0
github.com/projectsveltos/libsveltos v0.49.0
github.com/robfig/cron/v3 v3.0.1
github.com/segmentio/analytics-go v3.1.0+incompatible
github.com/stretchr/testify v1.10.0
Expand Down Expand Up @@ -57,7 +57,7 @@ require (
github.com/dariubs/percent v1.0.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/cli v27.5.1+incompatible // indirect
github.com/docker/cli v28.0.0+incompatible // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/docker v27.5.0+incompatible // indirect
github.com/docker/docker-credential-helpers v0.8.2 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ github.com/distribution/distribution/v3 v3.0.0-beta.1 h1:X+ELTxPuZ1Xe5MsD3kp2wfG
github.com/distribution/distribution/v3 v3.0.0-beta.1/go.mod h1:O9O8uamhHzWWQVTjuQpyYUVm/ShPHPUDgvQMpHGVBDs=
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/cli v27.5.1+incompatible h1:JB9cieUT9YNiMITtIsguaN55PLOHhBSz3LKVc6cqWaY=
github.com/docker/cli v27.5.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/cli v28.0.0+incompatible h1:ido37VmLUqEp+5NFb9icd6BuBB+SNDgCn+5kPCr2buA=
github.com/docker/cli v28.0.0+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/docker v27.5.0+incompatible h1:um++2NcQtGRTz5eEgO6aJimo6/JxrTXC941hd05JO6U=
Expand Down Expand Up @@ -363,10 +363,10 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY=
github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg=
github.com/projectsveltos/addon-controller v0.47.0 h1:axcVAWm9roWanSDzlwRssFaDrbj35VACBQZsx1PXgfc=
github.com/projectsveltos/addon-controller v0.47.0/go.mod h1:IiPpyXpT7EF7AJspas99+lNnKffQoNxuNnrTg61lAdE=
github.com/projectsveltos/libsveltos v0.48.1 h1:SWtACXeVNehWNxh/jEeFB/Z1QqMd4HeSh5Z60czwJbQ=
github.com/projectsveltos/libsveltos v0.48.1/go.mod h1:9z2AUhSE2qzi+m5tqeQUMm+c4whMtbKH6oYOYY+0tbw=
github.com/projectsveltos/addon-controller v0.49.0 h1:y5+SgkmTBrW4fftV8vINVdG8XA9UXO+qQv3J3xC1SIs=
github.com/projectsveltos/addon-controller v0.49.0/go.mod h1:F9d+6kJ20nSBoGQQ3nmiyfJ5jIvqwRdeQuRfOh7mnsY=
github.com/projectsveltos/libsveltos v0.49.0 h1:mzbEzN1Ruu7lZ918gijf5mzG3QTGETaZ5doIu6iTH7U=
github.com/projectsveltos/libsveltos v0.49.0/go.mod h1:xne9qc5+gVpvTwJ7cXORfS2FRo27az2LDQY3oNTWY9M=
github.com/projectsveltos/lua-utils/glua-json v0.0.0-20250215155204-2e8364e9ce73 h1:Sgh71mZil6CXZXcRPrzfl7XuetK+CyvruWOajU95qhs=
github.com/projectsveltos/lua-utils/glua-json v0.0.0-20250215155204-2e8364e9ce73/go.mod h1:AIzg+JWbfrFWazyM5Ka2fX69r9aFr3+o2Mvn9SfKDYU=
github.com/projectsveltos/lua-utils/glua-runes v0.0.0-20250215155204-2e8364e9ce73 h1:VdjrXW3hU6JPP9kUtUC6K8ulW82uAjPyiMKf4iJGIXg=
Expand Down
2 changes: 1 addition & 1 deletion templates/provider/kcm-templates/files/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ spec:
- name: cluster-api-provider-docker
template: cluster-api-provider-docker-0-1-0
- name: projectsveltos
template: projectsveltos-0-47-0
template: projectsveltos-0-49-0
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: k0rdent.mirantis.com/v1alpha1
kind: ProviderTemplate
metadata:
name: projectsveltos-0-47-0
name: projectsveltos-0-49-0
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: projectsveltos
version: 0.47.0
version: 0.49.0
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,125 +13,6 @@ spec:
singular: accessrequest
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: AccessRequest is the Schema for the accessrequest 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: AccessRequestSpec defines the desired state of AccessRequest
properties:
controlPlaneEndpoint:
description: |-
ControlPlaneEndpoint represents the endpoint used to communicate with the
management cluster controlplane endpoint. It will be used when generating the
kubeconfig.
properties:
host:
description: The hostname on which the API server is serving.
type: string
port:
description: The port on which the API server is serving.
format: int32
type: integer
required:
- host
- port
type: object
name:
description: |-
Name is the name of the service account created
for this AccessRequest
type: string
namespace:
description: |-
Namespace is the namespace of the service account created
for this AccessRequest
type: string
type:
description: Type represent the type of the request
enum:
- SveltosAgent
- Different
type: string
required:
- controlPlaneEndpoint
- name
- namespace
- type
type: object
status:
description: AccessRequestStatus defines the status of AccessRequest
properties:
failureMessage:
description: FailureMessage provides more information if an error occurs.
type: string
secretRef:
description: SecretRef points to the Secret containing Kubeconfig
properties:
apiVersion:
description: API version of the referent.
type: string
fieldPath:
description: |-
If referring to a piece of an object instead of an entire object, this string
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
For example, if the object reference is to a container within a pod, this would take on a value like:
"spec.containers{name}" (where "name" refers to the name of the container that triggered
the event) or if no container name is specified "spec.containers[2]" (container with
index 2 in this pod). This syntax is chosen only to have some well-defined way of
referencing a part of an object.
type: string
kind:
description: |-
Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
name:
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type: string
namespace:
description: |-
Namespace of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
type: string
resourceVersion:
description: |-
Specific resourceVersion to which this reference is made, if any.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
type: string
uid:
description: |-
UID of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
type: string
type: object
x-kubernetes-map-type: atomic
type: object
type: object
served: true
storage: false
subresources:
status: {}
- name: v1beta1
schema:
openAPIV3Schema:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,76 +14,6 @@ spec:
singular: classifierreport
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ClassifierReport is the Schema for the classifierreports 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:
properties:
classifierName:
description: |-
ClassifierName is the name of the Classifier instance this report
is for.
type: string
clusterName:
description: |-
ClusterName is the name of the Cluster this ClusterReport
is for.
type: string
clusterNamespace:
description: |-
ClusterNamespace is the namespace of the Cluster this
ClusterReport is for.
type: string
clusterType:
description: ClusterType is the type of Cluster
type: string
match:
description: |-
Match indicates whether Cluster is currently a match for
the Classifier instance this report is for
type: boolean
required:
- classifierName
- clusterName
- clusterNamespace
- clusterType
- match
type: object
status:
description: ClassifierReportStatus defines the observed state of ClassifierReport
properties:
phase:
description: Phase represents the current phase of report.
enum:
- WaitingForDelivery
- Delivering
- Processed
type: string
type: object
type: object
served: true
storage: false
subresources:
status: {}
- name: v1beta1
schema:
openAPIV3Schema:
Expand Down
Loading