Skip to content

Commit

Permalink
update drbd v0.4.3
Browse files Browse the repository at this point in the history
Signed-off-by: peng9808 <[email protected]>
  • Loading branch information
peng9808 committed Oct 29, 2024
1 parent 848cb5b commit 85e6833
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions helm/operator/.relok8s-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
- "{{ .global.hwameistorImageRegistry }}/{{ .ui.imageRepository }}:{{ .ui.tag }}"
- "{{ .global.hwameistorImageRegistry }}/{{ .operator.imageRepository }}:{{ .operator.tag }}"
- "{{ .global.hwameistorImageRegistry }}/{{ .preHookJob.imageRepository }}:{{ .preHookJob.tag }}"
- "{{ .global.hwameistorImageRegistry }}/{{ .ha.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdRhel7.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdRhel8.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdRhel9.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdKylin10.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdBionic.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdFocal.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.2"
- "{{ .global.hwameistorImageRegistry }}/{{ .ha.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdRhel7.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdRhel8.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdRhel9.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdKylin10.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdBionic.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .drbdFocal.imageRepository }}:{{ .ha.drbdVersion }}_v0.4.3"
- "{{ .global.hwameistorImageRegistry }}/{{ .dataLoadManager.imageRepository }}:{{ .dataLoadManager.tag }}"
- "{{ .global.hwameistorImageRegistry }}/{{ .dataSetManager.imageRepository }}:{{ .dataSetManager.tag }}"
- "{{ .global.hwameistorImageRegistry }}/{{ .dataLoadInit.imageRepository }}:{{ .dataLoadInit.tag }}"
Expand Down
2 changes: 1 addition & 1 deletion helm/operator/templates/hwameistorcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ spec:
operator: DoesNotExist
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
chartVersion: "v0.4.2"
chartVersion: "v0.4.3"
storageClass:
allowVolumeExpansion: {{ $.Values.storageClass.allowVolumeExpansion }}
reclaimPolicy: {{ $.Values.storageClass.reclaimPolicy }}
Expand Down
2 changes: 1 addition & 1 deletion helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ ha:
deployOnMaster: "yes"
imageRepository: hwameistor/drbd9-shipper
drbdVersion: v9.0.32-1
shipperChar: v0.4.2
shipperChar: v0.4.3

drbdRhel7:
imageRepository: hwameistor/drbd9-rhel7
Expand Down
10 changes: 5 additions & 5 deletions pkg/install/drbd/drbd_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var defaultImageRegistry = "ghcr.io"
var defaultShipperRepository = "hwameistor/drbd9-shipper"
var defaultImagePullPolicy = "IfNotPresent"
var defaultDRBDVersion = "v9.0.32-1"
var defaultShipperChar = "v0.4.2"
var defaultShipperChar = "v0.4.3"
var defaultDRBDUpgrade = "no"
var defaultCheckHostName = "no"
var defaultUseAffinity = "no"
Expand All @@ -40,7 +40,7 @@ var defaultNodeSelectTerms = []corev1.NodeSelectorTerm{
},
},
}
var defaultChartVersion = "v0.4.2"
var defaultChartVersion = "v0.4.3"

var distroRegexMap = map[string]string{
"(red hat enterprise|centos|almalinux|rocky linux) .*?7(\\.|\\s|$)": "rhel7",
Expand Down Expand Up @@ -424,9 +424,9 @@ func GetDistro(node *corev1.Node) (string, bool) {
if matched {
distro = v
}
if distro == "jammy" {
tag = "v9.1.11"
}
//if distro == "jammy" {
// tag = "v9.1.11"
//}
}
if distro == "unsupported" {
return distro, false
Expand Down

0 comments on commit 85e6833

Please sign in to comment.