You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new feature from #22 does not work for us. We create a ConfigMap and use the name of it in additionalServerConfiguration as described in the sample, but the defined variables are not set for the deployed pods.
I also tried adding the ConfigMap to the same namespace or deploying it in default, but to no avail. TYPESENSE_ENABLE_CORS stays false and the other defined variables are not set at all in the pods/statefulset.
Environment:
TYPESENSE_API_KEY: <set to the key 'typesense-api-key' in secret 'typesense-common-bootstrap-key'> Optional: false
TYPESENSE_NODES: /usr/share/typesense/nodes
TYPESENSE_DATA_DIR: /usr/share/typesense/data
TYPESENSE_API_PORT: 8108
TYPESENSE_PEERING_PORT: 8107
TYPESENSE_PEERING_ADDRESS: (v1:status.podIP)
TYPESENSE_ENABLE_CORS: false
TYPESENSE_CORS_DOMAINS:
TYPESENSE_RESET_PEERS_ON_ERROR: true
Mounts:
/usr/share/typesense from nodeslist (rw)
/usr/share/typesense/data from data (rw)
We found the source of the problem and it is just a simple fix. The crd in the helm chart was not updated in #22. When I build the crd locally and apply it the pods have the correct variables set.
The new feature from #22 does not work for us. We create a ConfigMap and use the name of it in additionalServerConfiguration as described in the sample, but the defined variables are not set for the deployed pods.
I cannot see anything wrong with our configuration, it is basically the same as in the samples.
I also tried adding the ConfigMap to the same namespace or deploying it in default, but to no avail. TYPESENSE_ENABLE_CORS stays false and the other defined variables are not set at all in the pods/statefulset.
We use the the version 0.2.7 of the operator.
Is there something wrong with how we do it or should it work like that?
The text was updated successfully, but these errors were encountered: