Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
1750b40d
Commit
1750b40d
authored
Nov 05, 2021
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the name of the controller binary.
Purely cosmetic, but now it really sounds like a viking controller.
parent
b0bf05e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
deployment.yaml
charts/viking-controller/templates/deployment.yaml
+1
-1
Dockerfile.controller
container/Dockerfile.controller
+3
-3
No files found.
charts/viking-controller/templates/deployment.yaml
View file @
1750b40d
...
...
@@ -82,7 +82,7 @@ spec:
-
/usr/bin/pgrep
-
-P
-
"
0"
-
k8s-ingress
-
vikingctrl
{{
- range $k
,
$v
:
= .Values.vikingController.livenessProbeConfig
}}
{{
$k
}}:
{{
$v
}}
{{
- end
}}
...
...
container/Dockerfile.controller
View file @
1750b40d
...
...
@@ -23,7 +23,7 @@ COPY ./cmd/ /go/src/code.uplex.de/uplex-varnish/k8s-ingress/cmd/
COPY ./.git/ /go/src/code.uplex.de/uplex-varnish/k8s-ingress/.git/
RUN go generate ./cmd/... && go build ./pkg/... ./cmd/... && \
CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o
k8s-ingress
cmd/*.go
CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o
vikingctrl
cmd/*.go
FROM alpine:3.14.2
ENV USER=controller UID=10001
...
...
@@ -33,7 +33,7 @@ RUN adduser --disabled-password --gecos "viking controller" \
--uid "${UID}" \
"${USER}"
COPY --from=builder /go/src/code.uplex.de/uplex-varnish/k8s-ingress/
k8s-ingress /k8s-ingress
COPY --from=builder /go/src/code.uplex.de/uplex-varnish/k8s-ingress/
vikingctrl /usr/bin/
USER controller:controller
ENTRYPOINT ["/
k8s-ingress
"]
ENTRYPOINT ["/
usr/bin/vikingctrl
"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment