You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,8 @@ You can now create the required keystores using the **setup.yaml** file. This wi
77
77
$ kubectl create -f setup.yaml
78
78
```
79
79
80
+
> You can find the Dockerfile and script for generating keystore in [containers/setup/ folder](containers/setup). You can build your own image using the provided Dockerfile.
81
+
80
82
Once it is done, the Pod will not run again. You can delete the Pod after using `kubectl delete pod setup` (optional).
81
83
82
84
If you want to confirm that the Pod has successfully imported the keystores, you can view the Pod's logs.
The provided script `gen-keystore.sh` generates a certificate for the app and requires an IP address as input. You will need to set an environment variable `IP` in your yaml file for creating the Pod.
11
+
12
+
Example:
13
+
```yaml
14
+
apiVersion: v1
15
+
kind: Pod
16
+
metadata:
17
+
name: setup
18
+
labels:
19
+
app: gameon
20
+
tier: setup
21
+
spec:
22
+
restartPolicy: Never
23
+
containers:
24
+
- name: setup
25
+
image: anthonyamanse/keystore # Replace this to your image name
26
+
env:
27
+
- name: IP
28
+
value: '169.47.241.213'# Replace this to your cluster's IP address
0 commit comments