Skip to content

Commit

Permalink
Merge pull request #71 from peng9808/main
Browse files Browse the repository at this point in the history
update chart v0.4.1
  • Loading branch information
peng9808 authored Apr 7, 2024
2 parents adc6dcc + 7532f43 commit b838b75
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 142 deletions.
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.0
CHART_VER ?= 0.4.1
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: 0 additions & 2 deletions docker-drbd9/Dockerfile.bionic
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ RUN apt-get update && apt-get install -y kmod gnupg wget make gcc patch curl &&
COPY /drbd.tar.gz /

COPY /pkgs /pkgs
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh
COPY /entry.sh /
RUN chmod +x /entry.sh

Expand Down
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.flatcar
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM gentoo/stage3
MAINTAINER Roland Kammerer <[email protected]>

COPY /drbd.tar.gz /
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh
COPY /entry.sh /
RUN chmod +x /entry.sh
ENTRYPOINT /entry.sh
Expand Down
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.focal
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ RUN apt-get update && apt-get install -y kmod gnupg wget make gcc patch curl &&
COPY /drbd.tar.gz /

COPY /pkgs /pkgs
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh

COPY /entry.sh /
RUN chmod +x /entry.sh
Expand Down
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.jammy
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ RUN apt-get update && apt-get install -y kmod gnupg wget make gcc patch elfutils
COPY /drbd.tar.gz /

COPY /pkgs /pkgs
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh

COPY /entry.sh /
RUN chmod +x /entry.sh
Expand Down
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.kylin10
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ RUN wget --no-check-certificate https://pkg.linbit.com/downloads/drbd/"$([[ $DRB
COPY /pkgs /pkgs
COPY /drbdUtils.tar.gz /
COPY /install-drbdutils.sh /
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh
COPY /entry.sh /
RUN chmod +x /entry.sh
ENTRYPOINT /entry.sh
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ RUN wget --no-check-certificate https://pkg.linbit.com/downloads/drbd/"$([[ $DRB
# =lbbuild COPY /drbd.tar.gz /

COPY /pkgs /pkgs
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh

COPY /entry.sh /
RUN chmod +x /entry.sh
Expand Down
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ RUN wget --no-check-certificate https://pkg.linbit.com/downloads/drbd/"$([[ $DRB
# these are now the kmod pkgs:
COPY /pkgs /pkgs

COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh
COPY /entry.sh /
RUN chmod +x /entry.sh

Expand Down
2 changes: 0 additions & 2 deletions docker-drbd9/Dockerfile.rhel9
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ RUN curl -fsSL https://pkg.linbit.com/downloads/drbd/"$([[ $DRBD_VERSION =~ ^9.0

# these are now the kmod pkgs:
COPY /pkgs /pkgs
COPY /entrypoint.adapter.sh /
RUN chmod +x /entrypoint.adapter.sh

COPY /entry.sh /
RUN chmod +x /entry.sh
Expand Down
121 changes: 0 additions & 121 deletions docker-drbd9/entrypoint.adapter.sh

This file was deleted.

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

type: application

version: v0.4.0
version: v0.4.1

appVersion: v9.0.32

##
###


2 changes: 1 addition & 1 deletion helm/drbd-adapter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ spec:
image: {{ $.Values.registry }}/drbd9-{{ $dist }}:{{ $tag }}
imagePullPolicy: {{ $.Values.imagePullPolicy }}
command:
- /entrypoint.adapter.sh
- /pkgs/entrypoint.adapter.sh
- {{ $kernelVersion }}
securityContext:
privileged: true
Expand Down
2 changes: 1 addition & 1 deletion helm/drbd-adapter/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
image: {{ $.Values.registry }}/drbd9-{{ $distro }}:{{ $tag }}
imagePullPolicy: {{ $.Values.imagePullPolicy }}
command:
- /entrypoint.adapter.sh
- /pkgs/entrypoint.adapter.sh
- {{ $kernelVersion }}
securityContext:
privileged: true
Expand Down

0 comments on commit b838b75

Please sign in to comment.