mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 18:18:41 +00:00
Compare commits
1 Commits
release-0.
...
fix-kamaji
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5c87db75fa |
@@ -6,3 +6,4 @@ update:
|
||||
sed -i 's/hook-failed/before-hook-creation,hook-failed/' `grep -rl hook-failed charts`
|
||||
patch -p4 < patches/fix-svc.diff
|
||||
patch -p4 < patches/fullnameOverride.diff
|
||||
patch -p4 < patches/remove-plus.patch
|
||||
|
||||
@@ -119,11 +119,7 @@ Name of the etcd root-client secret.
|
||||
Retrieve the current Kubernetes version to launch a kubectl container with the minimum version skew possible.
|
||||
*/}}
|
||||
{{- define "etcd.jobsTagKubeVersion" -}}
|
||||
{{- if contains "-eks-" .Capabilities.KubeVersion.GitVersion }}
|
||||
{{- print "v" .Capabilities.KubeVersion.Major "." (.Capabilities.KubeVersion.Minor | replace "+" "") -}}
|
||||
{{- else }}
|
||||
{{- print "v" .Capabilities.KubeVersion.Major "." .Capabilities.KubeVersion.Minor -}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
|
||||
16
packages/system/kamaji-etcd/patches/remove-plus.patch
Normal file
16
packages/system/kamaji-etcd/patches/remove-plus.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/packages/system/kamaji-etcd/charts/kamaji-etcd/templates/_helpers.tpl b/packages/system/kamaji-etcd/charts/kamaji-etcd/templates/_helpers.tpl
|
||||
index 403e187..e68a967 100644
|
||||
--- a/packages/system/kamaji-etcd/charts/kamaji-etcd/templates/_helpers.tpl
|
||||
+++ b/packages/system/kamaji-etcd/charts/kamaji-etcd/templates/_helpers.tpl
|
||||
@@ -119,11 +119,7 @@ Name of the etcd root-client secret.
|
||||
Retrieve the current Kubernetes version to launch a kubectl container with the minimum version skew possible.
|
||||
*/}}
|
||||
{{- define "etcd.jobsTagKubeVersion" -}}
|
||||
-{{- if contains "-eks-" .Capabilities.KubeVersion.GitVersion }}
|
||||
{{- print "v" .Capabilities.KubeVersion.Major "." (.Capabilities.KubeVersion.Minor | replace "+" "") -}}
|
||||
-{{- else }}
|
||||
-{{- print "v" .Capabilities.KubeVersion.Major "." .Capabilities.KubeVersion.Minor -}}
|
||||
-{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Reference in New Issue
Block a user