fix env
parent
a646e0d7f7
commit
0d463261e5
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
chartname=$(basename $(cd $(dirname $0) && pwd))
|
||||||
|
. $(dirname "$0")/../../utils/sync-init.sh
|
||||||
|
|
||||||
|
branch=master
|
||||||
|
version=$(curl https://raw.githubusercontent.com/containeroo/helm-charts/master/charts/nfs-client-provisioner/Chart.yaml 2>/dev/null| yq e '.version' - )
|
||||||
|
base_repo=https://github.com/containeroo/helm-charts/
|
||||||
|
sub_dir=charts/nfs-client-provisioner
|
||||||
|
|
||||||
|
|
||||||
|
test -d $(dirname $0)/$version && die "$chartname: version $version exist.."
|
||||||
|
echo "Found new version $chartname: $version"
|
||||||
|
test ! -d $(dirname $0)/$version && is_dry && sync_repo "$branch" "$base_repo" "$sub_dir" "$version" "$chartname"
|
||||||
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
chartname=$(basename $(cd $(dirname $0) && pwd))
|
||||||
|
. $(dirname "$0")/../../utils/sync-init.sh
|
||||||
|
|
||||||
|
branch=master
|
||||||
|
version=$(curl https://gitlab.triumf.ca/k8s/helm/charts/phpipam/-/raw/master/Chart.yaml 2>/dev/null| yq e '.version' - )
|
||||||
|
base_repo=https://gitlab.triumf.ca/k8s/helm/
|
||||||
|
sub_dir=charts/phpipam
|
||||||
|
|
||||||
|
|
||||||
|
test -d $(dirname $0)/$version && die "$chartname: version $version exist.."
|
||||||
|
echo "Found new version $chartname: $version"
|
||||||
|
test ! -d $(dirname $0)/$version && is_dry && sync_repo "$branch" "$base_repo" "$sub_dir" "$version" "$chartname"
|
||||||
@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: {{ include "ycast.fullname" . }}
|
|
||||||
labels:
|
|
||||||
{{- include "ycast.labels" . | nindent 4 }}
|
|
||||||
data:
|
|
||||||
stations.yml: |
|
|
||||||
{{- with .Values.stations }}
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue