Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-8002

Enable using secretKeyRef to specify APIcast policies configurations

XMLWordPrintable

    • RHOAM Sprint 34, RHOAM Sprint 40, API CCS Sprint 40 (3Scale), API CCS Sprint 42 (3Scale), API CCS Sprint 43 (3Scale), API CCS Sprint 44 (3Scale) 2

      Currently it appears it is only possible to specify policy configurations for the capabilities CRDs as hardcoded text.

      The request is to enable configuring values from secrets similarly to the following example:

      apiVersion: capabilities.3scale.net/v1beta1
      kind: Product
      metadata:
        name: product1
      spec:
        name: "OperatedProduct 1"
        policies:
          - configuration:
              valueFrom:
                  secretKeyRef:
                    key: policy-config
                    name: introspection-config
            enabled: true
            name: token_introspection
            version: builtin
      

      Where a secret is used to populate the `configuration` of the APIcast token introspection policy.

              Unassigned Unassigned
              rhn-support-sillumin Samuele Illuminati (Inactive)
              Lluis Cavalle Lluis Cavalle
              Martin Kudlej Martin Kudlej (Inactive)
              Kevin Chi Keen Fan Kevin Chi Keen Fan
              Votes:
              5 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified