Skip to content

Commit bcc2ce5

Browse files
committed
Merge branch 'release-1.3.6' into stable
2 parents cf35967 + ae2cfe0 commit bcc2ce5

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

33
## 1.3.6
4+
- Keepalived version 1.3.6
5+
- Remove keepalived_script script user, to run scripts with root user
6+
7+
## 1.3.5-1
48
- Fix startup.sh and finish.sh ip address removal
59
- Use linux alpine
610
- Add keepalived_script script user

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME = osixia/keepalived
2-
VERSION = 1.3.5-1
2+
VERSION = 1.3.6
33

44
.PHONY: build build-nocache test tag-latest push push-latest release git-tag-version
55

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
[hub]: https://hub.docker.com/r/osixia/keepalived/
88

9-
Latest release: 1.3.5-1 - Keepalived 1.3.5 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/keepalived/) 
9+
Latest release: 1.3.6 - Keepalived 1.3.6 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/keepalived/) 
1010

1111
**A docker image to run Keepalived.**
1212
> [keepalived.org](http://keepalived.org/)
@@ -22,7 +22,7 @@ Latest release: 1.3.5-1 - Keepalived 1.3.5 - [Changelog](CHANGELOG.md) | [Docker
2222
- [Link environment file](#link-environment-file)
2323
- [Make your own image or extend this image](#make-your-own-image-or-extend-this-image)
2424
- [Advanced User Guide](#advanced-user-guide)
25-
- [Extend osixia/keepalived:1.3.5-1 image](#extend-osixiakeepalived135-1-image)
25+
- [Extend osixia/keepalived:1.3.6 image](#extend-osixiakeepalived136-image)
2626
- [Make your own keepalived image](#make-your-own-keepalived-image)
2727
- [Tests](#tests)
2828
- [Under the hood: osixia/light-baseimage](#under-the-hood-osixialight-baseimage)
@@ -32,7 +32,7 @@ Latest release: 1.3.5-1 - Keepalived 1.3.5 - [Changelog](CHANGELOG.md) | [Docker
3232

3333
This image require the kernel module ip_vs loaded on the host (`modprobe ip_vs`) and need to be run with : --cap-add=NET_ADMIN --net=host
3434

35-
docker run --cap-add=NET_ADMIN --net=host -d osixia/keepalived:1.3.5-1
35+
docker run --cap-add=NET_ADMIN --net=host -d osixia/keepalived:1.3.6
3636

3737
## Beginner Guide
3838

@@ -42,7 +42,7 @@ but setting your own keepalived.conf is possible. 2 options:
4242

4343
- Link your config file at run time to `/container/service/keepalived/assets/keepalived.conf` :
4444

45-
docker run --volume /data/my-keepalived.conf:/container/service/keepalived/assets/keepalived.conf --detach osixia/keepalived:1.3.5-1
45+
docker run --volume /data/my-keepalived.conf:/container/service/keepalived/assets/keepalived.conf --detach osixia/keepalived:1.3.6
4646

4747
- Add your config file by extending or cloning this image, please refer to the [Advanced User Guide](#advanced-user-guide)
4848

@@ -52,7 +52,7 @@ You may have some problems with mounted files on some systems. The startup scrip
5252

5353
To fix that run the container with `--copy-service` argument :
5454

55-
docker run [your options] osixia/keepalived:1.3.5-1 --copy-service
55+
docker run [your options] osixia/keepalived:1.3.6 --copy-service
5656

5757
### Debug
5858

@@ -61,11 +61,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
6161

6262
Example command to run the container in `debug` mode:
6363

64-
docker run --detach osixia/keepalived:1.3.5-1 --loglevel debug
64+
docker run --detach osixia/keepalived:1.3.6 --loglevel debug
6565

6666
See all command line options:
6767

68-
docker run osixia/keepalived:1.3.5-1 --help
68+
docker run osixia/keepalived:1.3.6 --help
6969

7070

7171
## Environment Variables
@@ -85,7 +85,7 @@ See how to [set your own environment variables](#set-your-own-environment-variab
8585

8686
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
8787

88-
docker run --env KEEPALIVED_UNICAST_PEERS="#PYTHON2BASH:['192.168.1.10', '192.168.1.11']" --detach osixia/keepalived:1.3.5-1
88+
docker run --env KEEPALIVED_UNICAST_PEERS="#PYTHON2BASH:['192.168.1.10', '192.168.1.11']" --detach osixia/keepalived:1.3.6
8989

9090
To convert yaml to python online : http://yaml-online-parser.appspot.com/
9191

@@ -107,15 +107,15 @@ See how to [set your own environment variables](#set-your-own-environment-variab
107107
Environment variables can be set by adding the --env argument in the command line, for example:
108108

109109
docker run --env KEEPALIVED_INTERFACE="eno1" --env KEEPALIVED_PASSWORD="password!" \
110-
--env KEEPALIVED_PRIORITY="100" --detach osixia/keepalived:1.3.5-1
110+
--env KEEPALIVED_PRIORITY="100" --detach osixia/keepalived:1.3.6
111111

112112

113113
#### Link environment file
114114

115115
For example if your environment file is in : /data/environment/my-env.yaml
116116

117117
docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
118-
--detach osixia/keepalived:1.3.5-1
118+
--detach osixia/keepalived:1.3.6
119119

120120
Take care to link your environment file to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).
121121

@@ -125,13 +125,13 @@ This is the best solution if you have a private registry. Please refer to the [A
125125

126126
## Advanced User Guide
127127

128-
### Extend osixia/keepalived:1.3.5-1 image
128+
### Extend osixia/keepalived:1.3.6 image
129129

130130
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
131131

132132
Dockerfile example:
133133

134-
FROM osixia/keepalived:1.3.5-1
134+
FROM osixia/keepalived:1.3.6
135135
MAINTAINER Your Name <[email protected]>
136136

137137
ADD keepalived.conf /container/service/keepalived/assets/keepalived.conf

image/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ FROM osixia/alpine-light-baseimage:0.1.4
44
MAINTAINER Bertrand Gouny <[email protected]>
55

66
# Keepalived version
7-
ARG KEEPALIVED_VERSION=1.3.5
8-
9-
RUN addgroup -S keepalived_script && adduser -D -S -G keepalived_script keepalived_script
7+
ARG KEEPALIVED_VERSION=1.3.6
108

119
# Download, build and install Keepalived
1210
RUN apk --no-cache add \

image/service/keepalived/startup.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ if [ ! -e "$FIRST_START_DONE" ]; then
1717

1818
if [ -n "$KEEPALIVED_NOTIFY" ]; then
1919
sed -i "s|{{ KEEPALIVED_NOTIFY }}|notify \"$KEEPALIVED_NOTIFY\"|g" ${CONTAINER_SERVICE_DIR}/keepalived/assets/keepalived.conf
20-
chown keepalived_script:keepalived_script $KEEPALIVED_NOTIFY
2120
chmod +x $KEEPALIVED_NOTIFY
2221
else
2322
sed -i "/{{ KEEPALIVED_NOTIFY }}/d" ${CONTAINER_SERVICE_DIR}/keepalived/assets/keepalived.conf

0 commit comments

Comments
 (0)