Edeholland opened a new issue, #325:
URL: https://github.com/apache/incubator-devlake-helm-chart/issues/325

   I have the following spec for my helmrelease;
   
   ```
   apiVersion: helm.toolkit.fluxcd.io/v2
   kind: HelmRelease
   metadata:
     name: devlake
     namespace: devlake
   spec:
     releaseName: devlake
     targetNamespace: devlake
     storageNamespace: devlake
     chart:
       spec:
         chart: devlake
         sourceRef:
           kind: HelmRepository
           name: devlake
           namespace: flux-system
     values:
       lake:
         encryptionSecret:
           secretName: devlake-encryption-secret
   ```
   
   The secret exists and has content:
   ```
   kubectl get secrets
   NAME                            TYPE                 DATA   AGE
   devlake-encryption-secret       Opaque               1      8m51s
   ```
   
   However, helm refuses to install because `lake.encryptionSecret.secret.` 
isn't set:
   ```
   kubectl get helmreleases.helm.toolkit.fluxcd.io devlake
   NAME      AGE    READY   STATUS
   devlake   113m   False   Helm upgrade failed for release devlake/devlake 
with chart [email protected]: execution error at 
(devlake/templates/validate.yaml:2:4): Helm test requires 
lake.encryptionSecret.secret....
   ```
   
   I want to refer to the secret, not set a hardcoded secret. Is this a bug in 
the validation or am I missing something?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to