Skip to content

Commit

Permalink
Revert mounting certificates
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Nov 21, 2023
1 parent 1df7c8d commit 6b7501c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ metadata:
labels:
controller.devfile.io/mount-to-devworkspace: 'true'
controller.devfile.io/watch-secret: 'true'
stringData:
data:
tls.cer: >-
__<Content_of_public_cert>__ <1>
__<Base64_encoded_content_of_public_cert>__ <1>
----
<1> The content of the public cert.
<1> Base64 encoding with disabled line wrapping.

. Apply the ConfigMap to set the following environment variables in the `tools` container:
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ metadata:
labels:
controller.devfile.io/mount-to-devworkspace: 'true'
controller.devfile.io/watch-secret: 'true'
stringData:
data:
tls.cer: >-
__<Content_of_public_cert>__ <1>
__<Base64_encoded_content_of_public_cert>__ <1>
----
<1> The content of the public cert.
<1> Base64 encoding with disabled line wrapping.

. Apply the ConfigMap for the TrustStore initialization script:
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ metadata:
labels:
controller.devfile.io/mount-to-devworkspace: 'true'
controller.devfile.io/watch-secret: 'true'
stringData:
data:
tls.cer: >-
__<Content_of_public_cert>__ <1>
__<Base64_encoded_content_of_public_cert>__ <1>
----
<1> The content of the public cert.
<1> Base64 encoding with disabled line wrapping.

. In the `__<username>__-{prod-id-short}` namespace, apply the ConfigMap to create the `settings.xml` file:
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ metadata:
labels:
controller.devfile.io/mount-to-devworkspace: 'true'
controller.devfile.io/watch-secret: 'true'
stringData:
data:
nexus.cer: >-
__<Content_of_public_cert>__ <1>
<Base64_encoded_content_of_public_cert>__ <1>
----
<1> The content of the public cert.
<1> Base64 encoding with disabled line wrapping.

. Apply the ConfigMap to set the following environment variables in the `tools` container:
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ metadata:
labels:
controller.devfile.io/mount-to-devworkspace: 'true'
controller.devfile.io/watch-secret: 'true'
stringData:
data:
tls.cer: >-
__<Content_of_public_cert>__ <1>
__<Base64_encoded_content_of_public_cert>__ <1>
----
<1> The content of the public cert.
<1> Base64 encoding with disabled line wrapping.

. Apply the ConfigMap to set the environment variable for the path of the TLS certificate file in the `tools` container:
+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ metadata:
labels:
controller.devfile.io/mount-to-devworkspace: 'true'
controller.devfile.io/watch-secret: 'true'
stringData:
data:
tls.cer: >-
__<Content_of_public_cert>__ <1>
__<Base64_encoded_content_of_public_cert>__ <1>
----
<1> The content of the public cert.
<1> Base64 encoding with disabled line wrapping.

. Apply the ConfigMap to set the following environment variables in the `tools` container:
+
Expand Down

0 comments on commit 6b7501c

Please sign in to comment.