File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ steps:
142142 commands :
143143 - IMAGE_TAG=$([ ! -z $DRONE_TAG ] && echo \"${DRONE_TAG:1}\" || echo \"canary\")
144144 - sed -i "s/imageTag:\ \"canary\"/imageTag:\ $IMAGE_TAG/g" charts/monitor/values.yaml
145- - helm package charts/monitor --version ${DRONE_TAG:-v1.0.0}
145+ - helm package -u charts/monitor --version ${DRONE_TAG:-v1.0.0}
146146 - curl -u $CHARTMUSEUM_USERNAME:$CHARTMUSEUM_PASSWORD -F chart=@monitor-${DRONE_TAG:-v1.0.0}.tgz "$CHARTMUSEUM_API/api/$([ -z $DRONE_TAG ] && echo testing || echo stable)/charts"
147147 environment :
148148 CHARTMUSEUM_USERNAME :
Original file line number Diff line number Diff line change 11name : monitor
22home : https://github.com/drycc/monitor
3- version : v1.0.0
3+ apiVersion : v2
4+ dependencies :
5+ - name : common
6+ repository : https://charts.drycc.cc/stable
7+ version : 1.x.x
48description : Monitoring for Drycc Workflow.
59maintainers :
610 - name : Drycc Team
711 email : engineering@drycc.com
12+ version : v1.0.0
Original file line number Diff line number Diff line change 2222 labels :
2323 app : drycc-monitor-grafana
2424 spec :
25- {{- if .Values.global.common }}
26- {{- include "common.affinity" (dict "key" "app" "values" (list "drycc-monitor-grafana")) | indent 6 }}
27- {{- end }}
25+ {{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-monitor-grafana")) | indent 6 }}
2826 securityContext :
2927 fsGroup : 1001
3028 runAsGroup : 1001
Original file line number Diff line number Diff line change 2121 labels :
2222 app : drycc-monitor-telegraf
2323 spec :
24- {{- if .Values.global.common }}
25- {{- include "common.affinity" (dict "key" "app" "values" (list "drycc-monitor-telegraf")) | indent 6 }}
26- {{- end }}
24+ {{- include "common.affinities.nodes.soft" (dict "key" "app" "values" (list "drycc-monitor-telegraf")) | indent 6 }}
2725 securityContext :
2826 fsGroup : 1001
2927 runAsGroup : 1001
You can’t perform that action at this time.
0 commit comments