Skip to content

Commit 156058c

Browse files
Jake PageJake Page
authored andcommitted
added section and --multiple command
1 parent aa8b4ce commit 156058c

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This chart bootstraps a community edition Komiser instance.
1010

1111
- Kubernetes 1.6+
1212

13-
## Configuration (single AWS account)
13+
# Configuration (single AWS account)
1414

1515
**Enable service accounts to access AWS resources in three steps**
1616

@@ -20,7 +20,7 @@ This chart bootstraps a community edition Komiser instance.
2020

2121
3. Update [templates/service-account.yaml](templates/service-account.yaml) with the IAM role you've created previously.
2222

23-
## Configuration (multiple AWS accounts)
23+
# Configuration (multiple AWS accounts)
2424

2525
Steps for a container to access the resources in multiple AWS accounts. \
2626
*We are working with two example clusters, **ADMIN** and **DEV** cluster.*
@@ -48,19 +48,18 @@ Steps for a container to access the resources in multiple AWS accounts. \
4848

4949
7. **[Mount the ConfigMap to the Deployment manifest](docs/mount-cm-to-deployment.md)**
5050

51-
## Installing the chart
52-
To install the chart:
53-
54-
```bash
55-
$ helm install -f values.yaml komiser .
56-
```
57-
5851
**Tutorial walkthrough:**
5952

6053
<a href="https://www.loom.com/share/c3d283a0ff9844abab927a5c01cfbaa3">
6154
<p>Komiser- Multiple AWS accounts deployment to EKS - Watch Video</p>
6255
<img style="max-width:500px;" src="https://cdn.loom.com/sessions/thumbnails/c3d283a0ff9844abab927a5c01cfbaa3-with-play.gif">
6356
</a>
6457

65-
\
58+
# Installing the chart
59+
To install the chart:
60+
61+
```bash
62+
$ helm install -f values.yaml komiser .
63+
```
64+
6665
The above command deploys Komiser on the Kubernetes cluster in the default configuration.

docs/mount-cm-to-deployment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Mount the ConfigMap onto the deployment in order to be able to load the pod with the requiste AWS credentials.<a name="create-service-account-iam-role"></a>
22

33
1. Make sure not to change the mount path or internal volume path, paths should match the example below.
4+
2. Add the `command: ["--multiple"]` to the container to allow a multi account setup
45

56
```
67
apiVersion: apps/v1
@@ -22,6 +23,7 @@
2223
- name: {{ .Chart.Name }}
2324
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
2425
imagePullPolicy: {{ .Values.image.pullPolicy }}
26+
command: ["--multiple"]
2527
env:
2628
- name: AWS_DEFAULT_REGION
2729
value: "{{ .Values.aws.region }}"

templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ spec:
1717
- name: {{ .Chart.Name }}
1818
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
1919
imagePullPolicy: {{ .Values.image.pullPolicy }}
20+
#command: ["--multiple"]
2021
env:
2122
- name: AWS_DEFAULT_REGION
2223
value: "{{ .Values.aws.region }}"

0 commit comments

Comments
 (0)