Skip to content

Commit

Permalink
fixing label selectors + reduce free up disk saved + reduce swap space
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c committed Oct 24, 2024
1 parent 0822fce commit 08753e8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/helm-lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
tool-cache: false
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: k3s install + add more swap
run: |
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE="644" sh -
sudo dd if=/dev/zero of=/swapfile bs=1M count=8k status=progress
sudo dd if=/dev/zero of=/swapfile bs=1M count=4k status=progress
sudo chmod 0600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Expand Down
2 changes: 1 addition & 1 deletion mviewer/templates/elasticsearch-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ spec:
targetPort: elasticsearch
selector:
{{- include "mviewer.selectorLabels" . | nindent 4 }}
app: mviewer-elasticsearch
app.kubernetes.io/component: {{ include "mviewer.fullname" . }}-elasticsearch
{{- end }}
2 changes: 1 addition & 1 deletion mviewer/templates/mviewer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
selector:
matchLabels:
{{- include "mviewer.selectorLabels" . | nindent 6 }}
app: mviewer
app.kubernetes.io/component: {{ include "mviewer.fullname" . }}-mviewer
template:
metadata:
{{- with $webapp.podAnnotations }}
Expand Down
2 changes: 1 addition & 1 deletion mviewer/templates/mviewer-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
targetPort: http
selector:
{{- include "mviewer.selectorLabels" . | nindent 4 }}
app: mviewer
app.kubernetes.io/component: {{ include "mviewer.fullname" . }}-mviewer
2 changes: 1 addition & 1 deletion mviewer/templates/mviewerstudio-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
targetPort: http
selector:
{{- include "mviewer.selectorLabels" . | nindent 4 }}
app: mviewerstudio
app.kubernetes.io/component: {{ include "mviewer.fullname" . }}-mviewerstudio

0 comments on commit 08753e8

Please sign in to comment.