Skip to content

st2rulesengine references datastore_crypto_key incorrectly #188

@lordpengwin

Description

@lordpengwin

I'm seeing a problem where the st2rulesengine is getting hung in the Init:0/2 state and I believe it is waiting for the wrong name. The rest of the entries in the deployments.yaml file have this:

   {{- if .Values.secrets.st2.datastore_crypto_key }}
   - name: st2-encryption-key-vol
     secret:
       secretName: {{ .Release.Name }}-st2-datastore-crypto-key
       items:
       - key: datastore_crypto_key
         path: datastore_key.json
   {{- end }}

where as the rulesengine has this:

   {{- if .Values.secrets.st2.datastore_crypto_key }}
   - name: st2-encryption-key-vol
     secret:
       secretName: datastore_crypto_key
       items:
       - key: datastore_crypto_key
         path: datastore_key.json
   {{- end }}

Note the difference in secretName.

The strange thing is that it works sometimes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions