Skip to content

Commit

Permalink
Remove k8s version and unused values per review
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewuolle committed Dec 22, 2024
1 parent a1a8af8 commit 5b42254
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 26 deletions.
2 changes: 1 addition & 1 deletion config/dev/adopted-clusterdeployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: adopted-dev
namespace: ${NAMESPACE}
spec:
template: adopted-cluster-0-0-4
template: adopted-cluster-0-0-1
credential: adopted-cluster-cred
config: {}
services:
Expand Down
2 changes: 1 addition & 1 deletion templates/cluster/adopted-cluster/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.4
version: 0.0.1
annotations:
cluster.x-k8s.io/provider: infrastructure-internal
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
apiVersion: lib.projectsveltos.io/v1beta1
kind: SveltosCluster
metadata:
labels:
projectsveltos.io/k8s-version: v1.31.1
name: {{ include "cluster.name" . }}
namespace: {{ .Release.Namespace }}
spec:
consecutiveFailureThreshold: {{ .Values.consecutiveFailureThreshold }}
kubeconfigName: {{ .Values.clusterIdentity.name }}
18 changes: 0 additions & 18 deletions templates/cluster/adopted-cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,6 @@
"description": "The number of the failures prior to setting the status condition",
"type": "integer",
"minimum": 1
},
"clusterIdentity": {
"type": "object",
"description": "Adopted Cluster Identity object reference",
"required": [
"name",
"kind"
],
"properties": {
"name": {
"description": "Adopted ClusterIdentity object name",
"type": "string"
},
"kind": {
"description": "Adopted ClusterIdentity object kind",
"type": "string"
}
}
}
}
}
1 change: 0 additions & 1 deletion templates/cluster/adopted-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@

clusterIdentity:
name: "adopted-cluster-identity"
kind: "Secret"

consecutiveFailureThreshold: 3
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: hmc.mirantis.com/v1alpha1
kind: ClusterTemplate
metadata:
name: adopted-cluster-0-0-4
name: adopted-cluster-0-0-1
annotations:
helm.sh/resource-policy: keep
spec:
helm:
chartSpec:
chart: adopted-cluster
version: 0.0.4
version: 0.0.1
interval: 10m0s
sourceRef:
kind: HelmRepository
Expand Down

0 comments on commit 5b42254

Please sign in to comment.