@@ -27,30 +27,11 @@ the container registry. For more information on getting a registry password, see
2727:ref: `setup-registry `. We'll copy/paste the contents of this file in the steps
2828below.
2929
30- Create two random tokens by running the following commands then copying the
31- outputs.::
32-
33- openssl rand -hex 32
34- openssl rand -hex 32
35-
36- .. note ::
37-
38- This command is run **twice ** because we need two different tokens.
39-
4030Create ``secret.yaml `` file
4131---------------------------
4232
43- Create a file called ``secret.yaml `` and add the following::
44-
45- jupyterhub:
46- hub:
47- services:
48- binder:
49- apiToken: "<output of FIRST `openssl rand -hex 32` command>"
50- proxy:
51- secretToken: "<output of SECOND `openssl rand -hex 32` command>"
52-
53- Next, we'll configure this file to connect with our registry.
33+ Create a file called ``secret.yaml ``, we'll set sensitive values to pass to our
34+ Helm chart in this file.
5435
5536If you are using ``gcr.io ``
5637~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -67,25 +48,18 @@ need to insert. Note that the first line is not indented at all::
6748 # paste the content after `password: |` below
6849 password: |
6950 {
70- "type": "<REPLACE>",
71- "project_id": "<REPLACE>",
72- "private_key_id": "<REPLACE>",
73- "private_key": "<REPLACE>",
74- "client_email": "<REPLACE>",
75- "client_id": "<REPLACE>",
76- "auth_uri": "<REPLACE>",
77- "token_uri": "<REPLACE>",
78- "auth_provider_x509_cert_url": "<REPLACE>",
79- "client_x509_cert_url": "<REPLACE>"
51+ "type": "<REPLACE>",
52+ "project_id": "<REPLACE>",
53+ "private_key_id": "<REPLACE>",
54+ "private_key": "<REPLACE>",
55+ "client_email": "<REPLACE>",
56+ "client_id": "<REPLACE>",
57+ "auth_uri": "<REPLACE>",
58+ "token_uri": "<REPLACE>",
59+ "auth_provider_x509_cert_url": "<REPLACE>",
60+ "client_x509_cert_url": "<REPLACE>"
8061 }
8162
82-
83- .. tip ::
84-
85- * The content you put just after ``password: | `` must all line up at the same
86- tab level.
87- * Don't forget the ``| `` after the ``password: `` label.
88-
8963If you are using Docker Hub
9064~~~~~~~~~~~~~~~~~~~~~~~~~~~
9165
0 commit comments