InseeFrLab / onyxia

🔬 Data science environment for k8s

Home Page:https://onyxia.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inject use of cert-manager and cluster issuer

ihiverlet opened this issue · comments

Hi,

It would be great to inject the use of cert-manager to generate a certificate in onyxia values
I currently use

       "useCertManager": {
          "type": "boolean",
          "description": "Whether CertManager should be used to generate a certificate",
          "default": false,
          "x-onyxia": {
            "overwriteDefaultWith": "k8s.useCertManager"
          }
        },
        "certManagerClusterIssuer":{
          "type": "string",
          "description": "certManager cluster issuer",
          "title": "CertManager Cluster Issuer",
          "default": "",
          "x-onyxia": {
            "overwriteDefaultWith": "k8s.certManagerClusterIssuer"
          },

For the region configuration :

   "services": {
      "expose": {
        "certManager": {
          "useCertManager": true,
          "certManagerClusterIssuer": "letsencrypt-cluster-issuer"
        }

It can be tested here and checked thanks the put request