Skip to content

Commit

Permalink
Allow console role to use existing TLS secret (#243)
Browse files Browse the repository at this point in the history
* Allow the console role to accept and use an existing TLS secret

Signed-off-by: m-g-k <[email protected]>

* Fix console.rst

Signed-off-by: m-g-k <[email protected]>

Co-authored-by: Simon Stone <[email protected]>
  • Loading branch information
m-g-k and Simon Stone authored May 20, 2020
1 parent 68be7ae commit 2fef1b8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/roles/console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ Parameters
console_storage_size (optional, str, 10Gi)
The storage size to use for the console.

console_tls_secret (optional, str, None)
The TLS secret name to use for the console.

If specified this secret must already exist in the specified Kubernetes namespace or Red Hat OpenShift project and must contain the TLS certificate and private key that the console will use.

If not specified the console will generate it's own self-signed certificates

product_version (optional, str, 2.1.3)
The version of IBM Blockchain Platform to use.

Expand Down
1 change: 1 addition & 0 deletions roles/console/templates/k8s/console.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ spec:
console:
class: "{{ console_storage_class }}"
size: "{{ console_storage_size }}"
tlsSecretName: "{{ console_tls_secret | default('') }}"
1 change: 1 addition & 0 deletions roles/console/templates/openshift/console.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ spec:
console:
class: "{{ console_storage_class }}"
size: "{{ console_storage_size }}"
tlsSecretName: "{{ console_tls_secret | default('') }}"

0 comments on commit 2fef1b8

Please sign in to comment.