Skip to content

Commit

Permalink
fix: readonly system and console tls secretName (#1861)
Browse files Browse the repository at this point in the history
* fix charts

fix charts

* Focus on console deployment

---------

Co-authored-by: guozhi.li <guozhi.li@daocloud.io>
Co-authored-by: Ubuntu <ubuntu@operator-1861.lxd>
  • Loading branch information
3 people authored Nov 16, 2023
1 parent ffa7cc8 commit f6e13be
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
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

0 comments on commit f6e13be

Please sign in to comment.