From 26d7b70957bc368ff77eadff87bf18af170b9dfb Mon Sep 17 00:00:00 2001 From: Ahmet DEMIR Date: Thu, 13 Jan 2022 16:23:54 +0100 Subject: [PATCH] feat(cas): add generic Config parameter to allow more flexible configuration on CAS --- cas/apiv1/options.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cas/apiv1/options.go b/cas/apiv1/options.go index badad7fc..bdad39c6 100644 --- a/cas/apiv1/options.go +++ b/cas/apiv1/options.go @@ -61,6 +61,9 @@ type Options struct { CaPool string `json:"-"` CaPoolTier string `json:"-"` GCSBucket string `json:"-"` + + // Generic structure to configure any CAS + Config map[string]interface{} `json:"config,omitempty"` } // CertificateIssuer contains the properties used to use the StepCAS certificate