Skip to content

Commit

Permalink
Merge pull request #89 from peng9808/main
Browse files Browse the repository at this point in the history
update chart v0.4.3
  • Loading branch information
peng9808 authored Oct 29, 2024
2 parents 5733df9 + 3e42983 commit b159a40
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main
paths:
- "helm/drbd-adapter/Chart.yaml"
workflow_dispatch:

jobs:
release-chart:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL := /bin/bash
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))

CHART_VER ?= 0.4.2
CHART_VER ?= 0.4.3
DRBD_VER ?= 9.0.32-1# another tested value is: 9.1.11
DRBD_UTILS_VER ?= 9.12.1# another tested value is: 9.21.4

Expand Down
2 changes: 1 addition & 1 deletion docker-drbd9/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DRBD_VER=${1:-9.0.32-1}
ARCH=${2:-linux/amd64}
REG=${3:-daocloud.io/daocloud}
CHART_VER=${4:-0.4.2}
CHART_VER=${4:-0.4.3}

[ -z "$DRBD_VER" ] && echo "Need a DRBD version !" && exit 1

Expand Down
2 changes: 1 addition & 1 deletion helm/drbd-adapter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A DRBD kernel loader that auto-adapts OS distros

type: application

version: v0.4.2
version: v0.4.3

appVersion: v9.0.32

Expand Down
3 changes: 0 additions & 3 deletions helm/drbd-adapter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ spec:
{{- range $index, $dist := $distros | uniq }}
{{- if regexMatch "^(rhel[78]|bionic|focal|jammy)$" $dist }}
{{- $tag := $.Values.drbdVersion }}
{{- if eq $dist "jammy" }}
{{- $tag = "v9.1.11" }}
{{- end }}
- name: {{ $dist }}
image: {{ $.Values.registry }}/drbd9-{{ $dist }}:{{ $tag }}_{{ $.Chart.Version }}
imagePullPolicy: {{ $.Values.imagePullPolicy }}
Expand Down
1 change: 0 additions & 1 deletion helm/drbd-adapter/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
{{ $distro = "focal" }}
{{ else if regexMatch "ubuntu .*22([\\s\\-\\.]|$)" $osImage }}
{{ $distro = "jammy" }}
{{ $tag = "v9.1.11" }}
{{ else if regexMatch "kylin .*v10([\\s\\-\\.]|$)" $osImage }}
{{ $distro = "kylin10" }}
{{ end }}
Expand Down

0 comments on commit b159a40

Please sign in to comment.