Browse Source

Update kubernetes deployment manifests

Adam Harrison 2 years ago
parent
commit
1d8301f7ac
2 changed files with 10 additions and 2 deletions
  1. 4
    2
      deploy/flux-deployment.yaml
  2. 6
    0
      deploy/flux-secret.yaml

+ 4
- 2
deploy/flux-deployment.yaml View File

@@ -22,7 +22,7 @@ spec:
22 22
         imagePullPolicy: IfNotPresent
23 23
         volumeMounts:
24 24
         - name: git-key
25
-          mountPath: /secrets/flux/git
25
+          mountPath: /etc/fluxd/ssh
26 26
         args:
27 27
         # if you deployed memcached, you can supply these arguments to
28 28
         # tell fluxd to use it. You may need to change the namespace
@@ -33,9 +33,11 @@ spec:
33 33
         - --registry-cache-expiry=20m
34 34
         # replace (at least) the following URL
35 35
         - --git-url=git@github.com:weaveworks/flux-example
36
-        - --git-key=/secrets/flux/git/id-rsa-flux
37 36
         - --git-branch=master
38 37
         # include these to connect to an "upstream" service (e.g.,
39 38
         # Weave Cloud). The token is particular to the service.
40 39
         # - --connect=ws://cloud.weave.works/api/flux
41 40
         # - --token=abc123abc123abc123abc123
41
+        # override -b and -t arguments to ssh-keygen
42
+        # - --ssh-keygen-bits=2048
43
+        - --ssh-keygen-type=ed25519

+ 6
- 0
deploy/flux-secret.yaml View File

@@ -0,0 +1,6 @@
1
+---
2
+apiVersion: v1
3
+kind: Secret
4
+metadata:
5
+  name: flux-git-deploy
6
+type: Opaque

Loading…
Cancel
Save