mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sysdig] Fixes compatibility with 1.16 (#17538)
* Fixes compatibility with 1.16 Signed-off-by: Xiang Dai <764524258@qq.com> * fix a typo Signed-off-by: Xiang Dai <764524258@qq.com> * bump up version Signed-off-by: Xiang Dai <764524258@qq.com> * bump up Signed-off-by: Xiang Dai <764524258@qq.com> * update changelog Signed-off-by: Xiang Dai <764524258@qq.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
b19c68ad8c
commit
d1811c2bef
@@ -3,6 +3,12 @@
|
||||
This file documents all notable changes to Sysdig Helm Chart. The release
|
||||
numbering uses [semantic versioning](http://semver.org).
|
||||
|
||||
## v1.4.19
|
||||
|
||||
### Minor changes
|
||||
|
||||
* Fixes compatibility with kubernetes 1.16.
|
||||
|
||||
## v1.4.18
|
||||
|
||||
### Minor changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: sysdig
|
||||
version: 1.4.18
|
||||
version: 1.4.19
|
||||
appVersion: 0.92.3
|
||||
description: Sysdig Monitor and Secure agent
|
||||
keywords:
|
||||
|
||||
@@ -64,3 +64,14 @@ Also, we can't use a single if because lazy evaluation is not an option
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the apiVersion of daemonset.
|
||||
*/}}
|
||||
{{- define "daemonset.apiVersion" -}}
|
||||
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- print "extensions/v1beta1" -}}
|
||||
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- print "apps/v1" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if .Values.sysdig.accessKey }}
|
||||
apiVersion: extensions/v1beta1
|
||||
apiVersion: {{ template "daemonset.apiVersion" . }}
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ template "sysdig.fullname" . }}
|
||||
|
||||
Reference in New Issue
Block a user