Skip to content

Commit

Permalink
fix kube-metrics-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
pbalogh-sa authored and Magyari Sándor Szilárd committed Jun 11, 2019
1 parent 495a68c commit 15248bd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hpa-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: hpa-operator
version: 0.0.10
version: 0.0.11
description: A Helm chart for Kubernetes
home: https://banzaicloud.com
sources:
Expand Down
3 changes: 1 addition & 2 deletions hpa-operator/requirements.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ dependencies:
repository: https://kubernetes-charts.banzaicloud.com
condition: metricsServer.enabled
- name: kube-metrics-adapter
version: 0.0.3
version: 0.0.4
repository: https://kubernetes-charts.banzaicloud.com

2 changes: 1 addition & 1 deletion kube-metrics-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kube-metrics-adapter
version: 0.0.3
version: 0.0.4
appVersion: v0.0.2
description: A Helm chart for kube-metrics-adapter
home: https://github.com/zalando-incubator/kube-metrics-adapter
Expand Down
6 changes: 3 additions & 3 deletions kube-metrics-adapter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ spec:
spec:
serviceAccountName: {{ template "kube-metrics-adapter.fullname" . }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["all"]
runAsNonRoot: true
runAsUser: 10001
containers:
Expand All @@ -49,6 +46,9 @@ spec:
- containerPort: {{ .Values.service.internalPort }}
name: https
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["all"]
readOnlyRootFilesystem: true
volumeMounts:
- mountPath: /tmp
Expand Down

0 comments on commit 15248bd

Please sign in to comment.