Update "Cluster Ingress" to use a new certificate and accept new routes

13 views
Skip to first unread message

Eduardo Lúcio Amorim Costa

unread,
Jul 7, 2021, 11:19:33 PMJul 7
to okd-wg
I need to update the certificate of the "Cluster Ingress" to allow access via another route/domain...

```
```

```
# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
kind: Ingress
metadata:
  creationTimestamp: "2021-06-25T18:15:30Z"
  generation: 31
  name: cluster
  resourceVersion: "5273196"
  uid: a199db4b-9a4b-4729-8335-97cd9ec9c50b
spec:
  domain: apps.mbr.okd.local
status: {}
```

------------------

QUESTION: How can I do this?

------------------

NOTE: I noticed that the settings below seem to be the settings for the certificates for the routes "*.apps.mbr.okd.local" which I want to update for routes that ending with "*.apps.mbr.domain.my"...

```
```

```
[...]
        namedCertificates:
        - certFile: /var/config/system/secrets/v4-0-config-system-router-certs/apps.mbr.okd.local
          keyFile: /var/config/system/secrets/v4-0-config-system-router-certs/apps.mbr.okd.local
          names:
          - '*.apps.mbr.okd.local'
[...]
```
Reply all
Reply to author
Forward
0 new messages