Skip to content

Commit

Permalink
feat(chart): updated chart (#491)
Browse files Browse the repository at this point in the history
* feat(chart): updated chart
  • Loading branch information
paologallinaharbur committed Jul 15, 2024
1 parent a4f3b12 commit f64bcfc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 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/actions-setup-minikube@v2.11.0
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
6 changes: 3 additions & 3 deletions charts/nri-prometheus/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common-library
repository: https://helm-charts.newrelic.com
version: 1.1.1
digest: sha256:3c9053021f3c22aa3cdfc6781d3498bcbedb0b973af9121b1722469744fb5162
generated: "2023-03-15T19:11:26.516216315Z"
version: 1.2.0
digest: sha256:fa87cb007564a39a72739a3e850a91d6b03c0fc27a1115deac042b3ef77b4142
generated: "2024-07-15T13:04:29.3144+02:00"
12 changes: 3 additions & 9 deletions charts/nri-prometheus/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,25 @@ sources:
- https://github.com/newrelic/nri-prometheus
- https://github.com/newrelic/nri-prometheus/tree/main/charts/nri-prometheus

version: 2.1.17
appVersion: 2.18.4
version: 2.1.18
appVersion: 2.21.4

dependencies:
- name: common-library
version: 1.1.1
version: 1.2.0
repository: "https://helm-charts.newrelic.com"

maintainers:
- name: alvarocabanas
url: https://github.com/alvarocabanas
- name: carlossscastro
url: https://github.com/carlossscastro
- name: sigilioso
url: https://github.com/sigilioso
- name: gsanchezgavier
url: https://github.com/gsanchezgavier
- name: kang-makes
url: https://github.com/kang-makes
- name: marcsanmi
url: https://github.com/marcsanmi
- name: paologallinaharbur
url: https://github.com/paologallinaharbur
- name: roobre
url: https://github.com/roobre

keywords:
- prometheus
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 f64bcfc

Please sign in to comment.