Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: readonly system and console tls secretName #1861

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,9 @@ console:
# An array of `Volumes <https://kubernetes.io/docs/concepts/storage/volumes/>`__ which the Operator Console can mount to pods.
#
# The volumes must exist *and* be accessible to the Console pods.
volumes: [ ]
volumes:
- name: tmp
emptyDir: {}
###
# An array of volume mount points associated to each Operator Console container.
#
Expand All @@ -304,4 +306,7 @@ console:
# mountPath: /path/to/mount
#
# The ``name`` field must correspond to an entry in the ``volumes`` array.
volumeMounts: [ ]
volumeMounts:
- name: tmp
readOnly: false
mountPath: /tmp/certs/CAs
6 changes: 5 additions & 1 deletion resources/base/console-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ spec:
volumeMounts:
- mountPath: /tmp/certs
name: tls-certificates
- mountPath: /tmp/certs/CAs
name: tmp
volumes:
- name: tls-certificates
projected:
Expand All @@ -322,6 +324,8 @@ spec:
path: CAs/tls.crt
- key: tls.key
path: tls.key
name: operator-console-tls
name: console-tls
optional: true
- name: tmp
emptyDir: {}
serviceAccountName: console-sa