mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-02-06 01:06:27 +00:00
Compare commits
1 Commits
hcloud
...
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`
|
sed -i 's/hook-failed/before-hook-creation,hook-failed/' `grep -rl hook-failed charts`
|
||||||
patch -p4 < patches/fix-svc.diff
|
patch -p4 < patches/fix-svc.diff
|
||||||
patch -p4 < patches/fullnameOverride.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.
|
Retrieve the current Kubernetes version to launch a kubectl container with the minimum version skew possible.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "etcd.jobsTagKubeVersion" -}}
|
{{- define "etcd.jobsTagKubeVersion" -}}
|
||||||
{{- if contains "-eks-" .Capabilities.KubeVersion.GitVersion }}
|
|
||||||
{{- print "v" .Capabilities.KubeVersion.Major "." (.Capabilities.KubeVersion.Minor | replace "+" "") -}}
|
{{- print "v" .Capabilities.KubeVersion.Major "." (.Capabilities.KubeVersion.Minor | replace "+" "") -}}
|
||||||
{{- else }}
|
|
||||||
{{- print "v" .Capabilities.KubeVersion.Major "." .Capabilities.KubeVersion.Minor -}}
|
|
||||||
{{- end }}
|
|
||||||
{{- 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