Skip to content

Commit 7381b6d

Browse files
committed
fresh release of the ocd image
1 parent 735bcd8 commit 7381b6d

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
# ghcr.io/consol/omd-consol-de/ocd:0.140.2.1
1+
# ghcr.io/consol-monitoring/ocd:0.140.2-1
22
# consol's image will get the tag from hugomods/hugo
3-
# plus an extra minor release number in case there are
4-
# any changes here in this Dockerfile.
3+
# plus an extra prerelease number in case there are
4+
# any changes here in this Dockerfile. (it is not actually a pre-release,
5+
# but the tag has to conform to the semver scheme, whre only 3 numbers
6+
# are allowed)
57
FROM hugomods/hugo:0.140.2
68
RUN apk add git && \
79
git config --global --add safe.directory /src

deployment/ocd-05-deployment.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ spec:
4343
spec:
4444
initContainers:
4545
- name: git-sync-init
46-
image: k8s.gcr.io/git-sync/git-sync:v3.2.2
46+
image: k8s.gcr.io/git-sync/git-sync:v4.4.0
4747
args:
48-
- "-repo=$(GIT_REPO_URL)"
49-
- "-branch=$(GIT_BRANCH)"
50-
- "-one-time"
51-
- "-root=/tmp/git"
52-
- "-dest=ocd"
48+
- "--repo=$(GIT_REPO_URL)"
49+
- "--branch=$(GIT_BRANCH)"
50+
- "--one-time"
51+
- "--root=/tmp/git"
52+
- "--link=ocd"
5353
# clones into /tmp/git/rev-something
5454
# ln -s /tmp/git/rev-something /tmp/git/ocd
5555
envFrom:
@@ -74,7 +74,7 @@ spec:
7474
runAsGroup: 0
7575
allowPrivilegeEscalation: false
7676
- name: hugo
77-
image: ghcr.io/consol/omd-consol-de/ocd:latest
77+
image: ghcr.io/consol-monitoring/ocd:0.140.2-1
7878
args:
7979
- "--watch"
8080
- "--source"
@@ -84,9 +84,8 @@ spec:
8484
# writing files, hugo runs chtimes on all files including "."
8585
# and for "." it has no permissions.
8686
- "/tmp/public/html"
87-
env:
88-
- name: HUGO_ENVIRONMENT
89-
- value: "production"
87+
- "--environment"
88+
- "production"
9089
volumeMounts:
9190
- name: html
9291
mountPath: /tmp/public

0 commit comments

Comments
 (0)