Skip to content

Commit

Permalink
fix(kps): Secure access to node-exporter metrics (#2570)
Browse files Browse the repository at this point in the history
* fix(kps): Secure access to node-exporter metrics

* feat(licenses): Add new kube-rbac-proxy image

* feat(kps): Bump app version

* fix(licenses): Fix registry
  • Loading branch information
gracedo authored Sep 10, 2024
1 parent 3644892 commit c3a178a
Show file tree
Hide file tree
Showing 22 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions licenses.d2iq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@ resources:
- license_path: LICENSE
ref: ${image_tag}
url: https://github.com/brancz/kube-rbac-proxy
- container_image: quay.io/brancz/kube-rbac-proxy:v0.18.0
sources:
- license_path: LICENSE
ref: ${image_tag}
url: https://github.com/brancz/kube-rbac-proxy
- container_image: ghcr.io/fluxcd/helm-controller:v0.37.4
sources:
- license_path: LICENSE
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: kube-prometheus-stack-60.4.0-d2iq-defaults
name: kube-prometheus-stack-60.4.1-d2iq-defaults
namespace: ${releaseNamespace}
data:
values.yaml: |
Expand Down Expand Up @@ -452,8 +452,14 @@ data:
prometheus.kommander.d2iq.io/select: "true"
prometheus-node-exporter:
priorityClassName: "dkp-critical-priority"
kubeRBACProxy:
enabled: true
prometheus:
monitor:
scheme: https
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
additionalLabels:
prometheus.kommander.d2iq.io/select: "true"
relabelings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
wait: true
interval: 6h
retryInterval: 1m
path: ./services/kube-prometheus-stack/60.4.0/etcd-metrics-proxy
path: ./services/kube-prometheus-stack/60.4.1/etcd-metrics-proxy
sourceRef:
kind: GitRepository
name: management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
wait: true
interval: 6h
retryInterval: 1m
path: ./services/kube-prometheus-stack/60.4.0/helmrelease
path: ./services/kube-prometheus-stack/60.4.1/helmrelease
sourceRef:
kind: GitRepository
name: management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
releaseName: kube-prometheus-stack
valuesFrom:
- kind: ConfigMap
name: kube-prometheus-stack-60.4.0-d2iq-defaults
name: kube-prometheus-stack-60.4.1-d2iq-defaults
- kind: ConfigMap
name: kube-prometheus-stack-mgmt-overrides
optional: true
Expand Down

0 comments on commit c3a178a

Please sign in to comment.