Files
Néstor Salceda b5bd582e6a [stable/sysdig] Use app.kubernetes.io labels instead of custom ones (#22022)
* [stable/sysdig] Use app.kubernetes.io labels instead of custom ones

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>

* [stable/sysdig] Bump chart version

Signed-off-by: Néstor Salceda <nestor.salceda@sysdig.com>
2020-04-20 07:07:39 -07:00

16 lines
385 B
YAML

{{- if .Values.auditLog.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "sysdig.fullname" . }}
labels:
{{ include "sysdig.labels" . | indent 4 }}
spec:
selector:
app.kubernetes.io/name: {{ include "sysdig.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
ports:
- protocol: TCP
port: {{ .Values.auditLog.auditServerPort }}
{{- end }}