-
Bug
-
Resolution: Done
-
Medium
-
Beijing Release
-
None
In the sdc-be image the chef files below are expecting and environment variable cassandra_ssl_enabled
./cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb:17: :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}"
./cookbooks/sdc-catalog-be/recipes/BE_2_setup_configuration.rb:41: :cassandra_ssl_enabled => "#{ENV['cassandra_ssl_enabled']}"
This isn't set and it results in a chef failure later.
this can be worked around by adding to
oom/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml
...
env:
- name: ENVNAME
value: {{ .Values.global.env.name }} - name: JAVA_OPTIONS
value: "" - name: cassandra_ssl_enabled # added
value: "false" # added (probably should be in values file) - name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
volumeMounts:
...