Skip to content

Commit

Permalink
[prometheus-artifactory-exporter] Bump the exporter version to 1.12.0 (
Browse files Browse the repository at this point in the history
  • Loading branch information
peimanja authored Feb 7, 2023
1 parent 4fe68d5 commit cf972af
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@master
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v2.0
uses: azure/setup-helm@v3
with:
version: v3.8.1

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: 3.7

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.1
uses: helm/chart-testing-action@v2.3.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -35,13 +35,13 @@ jobs:
if: steps.list-changed.outputs.changed == 'true'
run: |
helm env
helm plugin install https://github.com/quintush/helm-unittest.git --version 0.2.8
helm plugin install https://github.com/quintush/helm-unittest.git --version 0.2.11
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml

- name: Create kind cluster
uses: helm/kind-action@v1.2.0
uses: helm/kind-action@v1.4.0

if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Lint Code Base
uses: docker://github/super-linter:v3.12.0
env:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Fetch history
run: git fetch --prune --unshallow
Expand All @@ -20,14 +20,10 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
# See https://github.com/helm/chart-releaser-action/issues/6
- name: Install Helm
run: |
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
uses: helm/chart-releaser-action@v1.5.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions charts/prometheus-artifactory-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
appVersion: "1.10.0"
appVersion: "1.12.0"
description: A Helm chart for the Prometheus Artifactory Exporter
name: prometheus-artifactory-exporter
version: 0.4.0
version: 0.5.0
keywords:
- metrics
- artifactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{{- if .Values.rbac.pspEnabled }}
{{- if .Capabilities.APIVersions.Has "policy/v1beta1" }}
{{- if and .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
apiVersion: policy/v1beta1
{{ else }}
apiVersion: extensions/v1beta1
{{ end -}}
kind: PodSecurityPolicy
metadata:
name: {{ template "prometheus-artifactory-exporter.fullname" . }}
Expand Down
3 changes: 2 additions & 1 deletion charts/prometheus-artifactory-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ image:
registry: ghcr.io
repository: peimanja/artifactory_exporter
# set to canary for the latest unreleased version
tag: v1.10.0
tag: v1.12.0
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down Expand Up @@ -48,6 +48,7 @@ options:
# visit https://github.com/peimanja/artifactory_exporter#optional-metrics for more details
optionalMetrics: []
# - replication_status
# - federation_status

service:
type: ClusterIP
Expand Down

0 comments on commit cf972af

Please sign in to comment.