-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIBM_CLOUD_README.txt
executable file
·66 lines (34 loc) · 1.79 KB
/
IBM_CLOUD_README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Steps for Deploying the Xcrypt HelmChart
Login to the Cluster using the oc command line
e.g:
[docker@localhost CEPH_RH]$ oc login --token=sha256~_ROVLvOU0XbmN6WT8wsk83_FhD1rLeKpFPetIpr7fiI --server=https://c116-e.us-south.containers.cloud.ibm.com:30739
Create the Secrets
2.1 Create the Image Pull Secret
Contact Zettaset for username/password
e.g:
oc create secret docker-registry zts-dockerhub-token --docker-server=https://index.docker.io --docker-username=zetauser --docker-password=Zetapassword [email protected] -n zts-xcrypt
2.2 Create the Ceph Conf Secret
Sample zts.ceph.conf contents are:
[docker@localhost CEPH_RH]$ cat zts.ceph.conf
[global]
mon_host = 172.21.247.49:6789,172.21.3.253:6789,172.21.102.101:6789
[client.admin]
keyring = /etc/ceph/keyring
e.g
oc create secret generic zts-ceph-conf --from-file=ceph.conf=zts.ceph.conf -n zts-xcrypt
2.3 Create the Ceph Keyring Secret
Sample ceph.client.admin.keyring are:
[docker@localhost CEPH_RH]$ cat ceph.client.admin.keyring
[client.admin]
key = AQAIvLFkcmSQLBAAqweYcUiFsTHJZ5j4Rf3GRQ==
e.g
oc create secret generic zts-ceph-keyring --from-file=keyring=ceph.client.admin.keyring -n zts-xcrypt
Verify that the secrets have been created in the zts-xcrypt namespace
e.g:
[docker@localhost CEPH_RH]$ oc get secret -n zts-xcrypt | grep zts-ceph
zts-ceph-conf Opaque 1 16h
zts-ceph-keyring Opaque 1 16h
[docker@localhost CEPH_RH]$ oc get secret -n zts-xcrypt | grep zts-docker
zts-dockerhub-token kubernetes.io/dockerconfigjson 1 2d11h
Validation
Run the Validate from the IBM Cloud to automatically install the Xcrypt Helm Chart.