Skip to content

Commit

Permalink
fix: renovate json
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
  • Loading branch information
xunholy committed Jan 10, 2025
1 parent 99ded50 commit be4a032
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"config:recommended",
"docker:enableMajor",
"helpers:pinGitHubActionDigests",
"security:openssf-scorecard"
"security:openssf-scorecard",
":automergeBranch",
":automergeDigest",
":disableRateLimiting",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app snmp-exporter
namespace: observability
spec:
interval: 5m
chart:
spec:
chart: prometheus-snmp-exporter
version: 5.6.0
sourceRef:
kind: HelmRepository
name: prometheus-community-charts
namespace: flux-system
interval: 5m
install:
timeout: 10m
replace: true
crds: CreateReplace
createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
remediateLastFailure: true
retries: 3
strategy: rollback
cleanupOnFail: true
crds: CreateReplace
test:
enable: true
rollback:
recreate: true
force: true
cleanupOnFail: true
uninstall:
keepHistory: false
driftDetection:
mode: enabled
maxHistory: 3
dependsOn:
- name: kube-prometheus-stack
namespace: observability
values:
fullnameOverride: *app
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: observability

resources:
- helmrelease.yaml
19 changes: 19 additions & 0 deletions kubernetes/namespaces/base/observability/snmp-exporter/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: snmp-exporter
namespace: flux-system
labels:
substitution.flux/enabled: true
spec:
interval: 30m
retryInterval: 1m
timeout: 3m
path: "./kubernetes/namespaces/base/observability/snmp-exporter/app"
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-system

0 comments on commit be4a032

Please sign in to comment.