File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 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)
57FROM hugomods/hugo:0.140.2
68RUN apk add git && \
79 git config --global --add safe.directory /src
Original file line number Diff line number Diff 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 :
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"
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
You can’t perform that action at this time.
0 commit comments