mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/sysdig] Update to latest agent version * Run Sysdig Agent as [daemonset v2.0](https://github.com/draios/sysdig-cloud-scripts/blob/master/agent_deploy/kubernetes/sysdig-agent-daemonset-v2.yaml). * Fix value's naming in order to follow [best practices](https://docs.helm.sh/chart_best_practices/#naming-conventions). * Use a secure.enabled flag for enabling Sysdig Secure. * Allow rbac resource creation or use existing serviceAccountName. * Use required function for retrieving sysdig.accessKey. This ensures that key is present. * Add a Changelog * Use GitHub accounts instead of real names for making CI pass * Fix version number as a string * Add OWNERS file * Separate rbac and serviceAccount Follow RBAC best practices: https://github.com/kubernetes/helm/blob/master/docs/chart_best_practices/rbac.md * Fix namespace issues in cluster role binding
15 lines
444 B
YAML
15 lines
444 B
YAML
{{- if .Values.sysdig.accessKey }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "sysdig.fullname" . }}
|
|
labels:
|
|
app: {{ template "sysdig.fullname" . }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
release: "{{ .Release.Name }}"
|
|
heritage: "{{ .Release.Service }}"
|
|
type: Opaque
|
|
data:
|
|
access-key : {{ required "A valid .Values.sysdig.accessKey is required" .Values.sysdig.accessKey | b64enc | quote }}
|
|
{{- end }}
|