forked from fluxcd/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct several problems with fluxy-in-k8s and document
The image did not include ssh, which git wants to be present. If you mount a secret to get the private key, it will have the wrong permissions and ssh will ignore it. So, copy the key into the working directory, and make sure it has the right permissions. Elaborated instructions on making keys for trying it out with a config.
- Loading branch information
Showing
5 changed files
with
99 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: fluxy | ||
spec: | ||
ports: | ||
- port: 3030 | ||
selector: | ||
name: fluxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM alpine:3.3 | ||
WORKDIR /home/flux | ||
RUN apk add --no-cache git | ||
RUN apk add --no-cache git openssh | ||
ADD ./kubectl /home/flux/ | ||
COPY ./ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
COPY ./fluxd /home/flux/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters