Skip to content

Commit

Permalink
feat(chart): updated chart
Browse files Browse the repository at this point in the history
  • Loading branch information
paologallinaharbur committed Jul 15, 2024
1 parent a4f3b12 commit bfb759a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
uses: manusa/[email protected]
if: steps.list-changed.outputs.changed == 'true'
with:
minikube version: v1.30.1
minikube version: v1.33.1
driver: docker
kubernetes version: ${{ matrix.kubernetes-version }}
github token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -66,13 +66,12 @@ jobs:
sudo cp ./dist/nri-prometheus-nix_linux_amd64/nri-prometheus ./bin/nri-prometheus
DOCKER_BUILDKIT=1 docker build -t e2e/nri-prometheus:test . -f Dockerfile.dev
minikube image load e2e/nri-prometheus:test
kubectl create ns ct
- name: Test install charts
if: steps.list-changed.outputs.changed == 'true'
run: ct install --namespace ct --config .github/ct.yaml --debug
run: ct install --config .github/ct.yaml --debug
- name: Test upgrade charts
if: steps.list-changed.outputs.changed == 'true'
run: ct install --namespace ct --config .github/ct.yaml --debug --upgrade
run: ct install --config .github/ct.yaml --debug --upgrade

static-analysis:
name: Run all static analysis checks
Expand Down
2 changes: 1 addition & 1 deletion charts/nri-prometheus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sources:
- https://github.com/newrelic/nri-prometheus
- https://github.com/newrelic/nri-prometheus/tree/main/charts/nri-prometheus

version: 2.1.17
version: 2.1.18
appVersion: 2.18.4

dependencies:
Expand Down
2 changes: 0 additions & 2 deletions charts/nri-prometheus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ spec:
value: "/var/run/secrets/kubernetes.io/serviceaccount/token"
- name: "CA_FILE"
value: "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"
{{- if .Values.resources }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
{{- end }}
volumes:
- name: config-volume
configMap:
Expand Down

0 comments on commit bfb759a

Please sign in to comment.