File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Kube-Linter
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ permissions :
12+ contents : read
13+
14+ jobs :
15+ linting :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+
21+ - name : Scan repo with kube-linter
22+ uses : stackrox/kube-linter-action@v1.0.4
23+ with :
24+ directory : helm-chart
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ name: hivebox
33description : A Helm chart for HiveBox application
44type : application
55version : 0.1.0
6- appVersion : " 0.7.0 "
6+ appVersion : " 0.7.1 "
Original file line number Diff line number Diff line change 3030 sleep 5
3131 fi
3232 done
33+ securityContext :
34+ {{- include "common.containerSecurityContext" . | nindent 16 }}
35+ resources :
36+ {{- include "common.resources" (dict "Values" .Values "name" "cronjob") | nindent 16 }}
3337 containers :
3438 - name : temperature-storage
3539 image : {{ .Values.images.cronjob }}
Original file line number Diff line number Diff line change 1414 labels :
1515 app : hivebox
1616 spec :
17+ {{- if gt (int .Values.replicas.hivebox) 1 }}
18+ affinity :
19+ podAntiAffinity :
20+ preferredDuringSchedulingIgnoredDuringExecution :
21+ - weight : 100
22+ podAffinityTerm :
23+ labelSelector :
24+ matchExpressions :
25+ - key : app
26+ operator : In
27+ values :
28+ - hivebox
29+ topologyKey : kubernetes.io/hostname
30+ {{- end }}
1731 securityContext :
1832 {{- include "common.podSecurityContext" . | nindent 8 }}
1933 containers :
Original file line number Diff line number Diff line change 2121 runAsGroup : 1000
2222 containers :
2323 - name : hivebox
24- image : ghcr.io/gabrielpalmar/hivebox:latest @sha256:c731999c3fd9b757e2fd816e3c9dcf645dba56647d8a921cb567ece3cf378dc3
24+ image : ghcr.io/gabrielpalmar/hivebox:0.7.1 @sha256:c731999c6fac6f2f17f746aea7fafe073cf608c49729eb1e189ecf3551c62646
2525 ports :
2626 - containerPort : 5000
2727 env :
Original file line number Diff line number Diff line change 88 spec :
99 containers :
1010 - name : hivebox
11- image : ghcr.io/gabrielpalmar/hivebox:0.7.0
11+ image : ghcr.io/gabrielpalmar/hivebox:0.7.1@sha256:c731999c6fac6f2f17f746aea7fafe073cf608c49729eb1e189ecf3551c62646
Original file line number Diff line number Diff line change 88 spec :
99 containers :
1010 - name : hivebox
11- image : ghcr.io/gabrielpalmar/hivebox:0.7.0 @sha256:c731999c3fd9b757e2fd816e3c9dcf645dba56647d8a921cb567ece3cf378dc3
11+ image : ghcr.io/gabrielpalmar/hivebox:0.7.1 @sha256:c731999c6fac6f2f17f746aea7fafe073cf608c49729eb1e189ecf3551c62646
You can’t perform that action at this time.
0 commit comments