Anchore Enterprise api_deployment
Currently I am running into an issue where I have enabled SSL for my anchore and the last thing I need to have updated is the chart/templates/api_deployment.yaml
. In the yaml the service has this
apiVersion: v1
kind: Service
metadata:
name: {{ template "enterprise.api.fullname" . }}
namespace: {{ .Release.Namespace }}
labels: {{- include "enterprise.common.labels" (merge (dict "component" $component) .) | nindent 4 }}
annotations: {{- include "enterprise.service.annotations" (merge (dict "component" $component) .) | nindent 4 }}
spec:
type: {{ .Values.api.service.type }}
ports:
- name: {{ $component | lower }}
port: {{ .Values.api.service.port }}
targetPort: {{ .Values.api.service.port }}
protocol: TCP
appProtocol: http
{{ include "enterprise.service.nodePort" (merge (dict "component" $component) .) }}
selector:
app.kubernetes.io/name: {{ template "enterprise.fullname" . }}
app.kubernetes.io/component: {{ $component | lower }}
I was able to verify when changing the service from http to https I am able to curl the api service from my ui pod. However due to the chart it reverts back after a couple of seconds. Could you please update this chart to allow both http and https so I am able to run ssl from my anchore. The reason we cannot use http is in our environment, http is blocked and we are having failed jobs in our gitlab pipeline because of this. Allowing HTTPS allows for us to be able to perform our job correctly. Thank you