Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-5839

In the Helm chart, the audit log PVC Storage class and Access mode are not configurable

Create Doc EPIC for Fe...Prepare for Y ReleasePrepare for Z ReleaseXMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.3.5
    • 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4
    • Helm Chart
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      In the previous versions of the {product-short} Helm Chart, it was not possible to configure the storage class and access mode to use in the audit log PVC created by the Chart. This could cause the {product-short} Deployment to remain stuck forever in clusters without a default storage class or where the default storage class cannot be used.
      This issue has been fixed in this version by making the whole audit log PVC specification configurable. This way, it is possible to configure various aspects of the PVC, like the storage class or the access mode.
      Please note that the audit log PVC has been removed in 1.4.

      The following fields are now exposed in this release of the Helm Chart:

      [source,yaml]
      ----
      auditLog:
        # -- Spec of the audit log volume claim.
        # Note that, by default, this is set to use the default storage class, if available in the cluster.
        volumeClaimSpec:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 1Gi
          storageClassName: null
      ----
      Show
      In the previous versions of the {product-short} Helm Chart, it was not possible to configure the storage class and access mode to use in the audit log PVC created by the Chart. This could cause the {product-short} Deployment to remain stuck forever in clusters without a default storage class or where the default storage class cannot be used. This issue has been fixed in this version by making the whole audit log PVC specification configurable. This way, it is possible to configure various aspects of the PVC, like the storage class or the access mode. Please note that the audit log PVC has been removed in 1.4. The following fields are now exposed in this release of the Helm Chart: [source,yaml] ---- auditLog:   # -- Spec of the audit log volume claim.   # Note that, by default, this is set to use the default storage class, if available in the cluster.   volumeClaimSpec:     accessModes:       - ReadWriteOnce     resources:       requests:         storage: 1Gi     storageClassName: null ----
    • Bug Fix
    • Done
    • RHDH Install 3268, RHDH Install 3269

      Description of problem:

      The storage class for the audit log PVC is not configurable, which can cause issues in clusters without a default storage class or in clusters where the default storage class cannot be used (for example due to user's standards).

      Issue found while looking into RHIDP-5835

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Create a cluster without any default storage class
      2. Install the Helm Chart

      Actual results:

      RHDH Deployment will be stuck forever, waiting for the audit log PVC to be created

      Expected results:

      Make it possible for the user to specify the storage class they want to use.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      RHDH Chart for 1.3

      Additional info (Such as Logs, Screenshots, etc):

              rh-ee-asoro Armel Soro
              rh-ee-asoro Armel Soro
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: