Skip to content

Commit 2fa56fc

Browse files
authored
k8s make volumesnapshot crd name shorter (#1284)
<!-- Thank you for making a contribution! Here are some tips for you: - Start the PR title with the [label] of Cozystack component: - For system components: [platform], [system], [linstor], [cilium], [kube-ovn], [dashboard], [cluster-api], etc. - For managed apps: [apps], [tenant], [kubernetes], [postgres], [virtual-machine] etc. - For development and maintenance: [tests], [ci], [docs], [maintenance]. - If it's a work in progress, consider creating this PR as a draft. - Don't hesistate to ask for opinion and review in the community chats, even if it's still a draft. - Add the label `backport` if it's a bugfix that needs to be backported to a previous version. --> ## What this PR does ### Release note <!-- Write a release note: - Explain what has changed internally and for users. - Start with the same [label] as in the PR title - Follow the guidelines at https://github.com/kubernetes/community/blob/master/contributors/guide/release-notes.md. --> ```release-note - k8s make volumesnapshot crd name shorter ``` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated chart version for the Kubernetes application. * Changed Helm chart and namespace references to use a new, shorter name. * Updated version mapping to reflect the latest Kubernetes package version. * Renamed the Helm chart for volume snapshot resources to a shorter name. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
2 parents cb3cb99 + efb2c63 commit 2fa56fc

6 files changed

Lines changed: 11 additions & 10 deletions

File tree

‎packages/apps/kubernetes/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: application
1616
# This is the chart version. This version number should be incremented each time you make changes
1717
# to the chart and its templates, including the app version.
1818
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19-
version: 0.26.1
19+
version: 0.26.2
2020

2121
# This is the version number of the application being deployed. This version number should be
2222
# incremented each time you make changes to the application. Versions are not expected to

‎packages/apps/kubernetes/templates/helmreleases/csi.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
storageClass: "{{ . }}"
3636
{{- end }}
3737
dependsOn:
38-
- name: {{ .Release.Name }}-volumesnapshot-crd-for-tenant-k8s
38+
- name: {{ .Release.Name }}-vsnap-crd
3939
namespace: {{ .Release.Namespace }}
4040
{{- if lookup "helm.toolkit.fluxcd.io/v2" "HelmRelease" .Release.Namespace .Release.Name }}
4141
- name: {{ .Release.Name }}

‎packages/apps/kubernetes/templates/helmreleases/volumesnapshot_crd.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
apiVersion: helm.toolkit.fluxcd.io/v2
22
kind: HelmRelease
33
metadata:
4-
name: {{ .Release.Name }}-volumesnapshot-crd-for-tenant-k8s
4+
name: {{ .Release.Name }}-vsnap-crd
55
labels:
66
cozystack.io/repository: system
77
cozystack.io/target-cluster-name: {{ .Release.Name }}
88
spec:
99
interval: 5m
10-
releaseName: volumesnapshot-crd-for-tenant-k8s
10+
releaseName: vsnap-crd
1111
chart:
1212
spec:
13-
chart: cozy-volumesnapshot-crd-for-tenant-k8s
13+
chart: cozy-vsnap-crd
1414
reconcileStrategy: Revision
1515
sourceRef:
1616
kind: HelmRepository
@@ -21,8 +21,8 @@ spec:
2121
secretRef:
2222
name: {{ .Release.Name }}-admin-kubeconfig
2323
key: super-admin.svc
24-
targetNamespace: cozy-volumesnapshot-crd-for-tenant-k8s
25-
storageNamespace: cozy-volumesnapshot-crd-for-tenant-k8s
24+
targetNamespace: cozy-vsnap-crd
25+
storageNamespace: cozy-vsnap-crd
2626
install:
2727
createNamespace: true
2828
remediation:

‎packages/apps/versions_map‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ kubernetes 0.25.0 70f82667
6262
kubernetes 0.25.1 acd4663a
6363
kubernetes 0.25.2 08cb7c0f
6464
kubernetes 0.26.0 9584e5f5
65-
kubernetes 0.26.1 HEAD
65+
kubernetes 0.26.1 0e47e1e8
66+
kubernetes 0.26.2 HEAD
6667
mysql 0.1.0 263e47be
6768
mysql 0.2.0 c24a103f
6869
mysql 0.3.0 53f2365e
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
apiVersion: v2
2-
name: cozy-volumesnapshot-crd-for-tenant-k8s
2+
name: cozy-vsnap-crd
33
version: 0.0.0 # Placeholder, the actual version will be automatically set during the build process

‎packages/system/volumesnapshot-crd-for-tenant-k8s/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export NAME=volumesnapshot-crd-for-tenant-k8s
1+
export NAME=vsnap-crd
22
export NAMESPACE=cozy-$(NAME)
33

44
include ../../../scripts/package.mk

0 commit comments

Comments
 (0)