Skip to content

Instantly share code, notes, and snippets.

@xjulio
Created June 3, 2022 02:47
Show Gist options
  • Save xjulio/5c2f690b9e1304bf41dd0ce024dbf8c1 to your computer and use it in GitHub Desktop.
Save xjulio/5c2f690b9e1304bf41dd0ce024dbf8c1 to your computer and use it in GitHub Desktop.
ssl-exporter deployment with runAsNonRoot failing in ssl-exporter 2.4.1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ssl-exporter
labels:
name: ssl-exporter
spec:
selector:
matchLabels:
name: ssl-exporter
template:
metadata:
labels:
name: ssl-exporter
spec:
containers:
- name: ssl-exporter
image: docker.io/ribbybibby/ssl-exporter:2.4.1
ports:
- containerPort: 9219
securityContext:
runAsNonRoot: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment