File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,43 @@ Simple tool that will add all your working clusters to you Codefresh account
7
7
# Run
8
8
Run ` stevedore create --token {Codefresh JWT token} ` to add all cluster from your ` $HOME/.kube/config `
9
9
10
+ # Run as docker container
11
+ ```
12
+ docker run \
13
+ -t \
14
+ -e KUBECONFIG=/config \
15
+ -e CODEFRESH_TOKEN=${PASTE_CODEFRESH_TOKEN} \
16
+ -e GOOGLE_APPLICATION_CREDENTIALS=/.config/gcloud/application_default_credentials.json \
17
+ -v ~/.kube/config:/config \
18
+ -v ~/.config/gcloud/:/.config/gcloud \
19
+ stevedore create
20
+ ```
21
+ GOOGLE_APPLICATION_CREDENTIALS - needed when you have clusters that are hosted in Google
22
+
10
23
# Find you Codefresh JWT token
11
24
* Go to ` https://g.codefresh.io/api/ `
12
25
* Copy the token on the right side
13
26
14
27
## More functionallity
15
28
` stevedore create --token {Codefresh token} --config {another kube config valid file} `
16
29
17
-
18
30
# Todo:
19
31
* [ ] Tests!
20
32
* [ ] Support interactive mode
21
33
* [X] Support verbose/debug mode
22
- * [ ] Support service-accounts from not default namespace
34
+ * [ ] Support service-accounts from not default namespace
35
+ * [ ] Dry run
36
+
37
+
38
+ # Run as docker container
39
+ ```
40
+ docker run \
41
+ -t \
42
+ -e KUBECONFIG=/config \
43
+ -e CODEFRESH_TOKEN=${PASTE_CODEFRESH_TOKEN} \
44
+ -e GOOGLE_APPLICATION_CREDENTIALS=/.config/gcloud/application_default_credentials.json \
45
+ -v ~/.kube/config:/config \
46
+ -v ~/.config/gcloud/:/.config/gcloud \
47
+ stevedore create
48
+ ```
49
+ GOOGLE_APPLICATION_CREDENTIALS - needed when you have clusters that are hosted in Google
You can’t perform that action at this time.
0 commit comments