Skip to content

Instantly share code, notes, and snippets.

@xjulio
Created June 3, 2022 03:14
Show Gist options
  • Save xjulio/e971fd4fed0a1c2351ed0f26f1f30dba to your computer and use it in GitHub Desktop.
Save xjulio/e971fd4fed0a1c2351ed0f26f1f30dba to your computer and use it in GitHub Desktop.
ssl-exporter deployment using new image with numeric user id
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/xjulio/ssl-exporter:2.4.1-numeric-userid
ports:
- containerPort: 9219
securityContext:
runAsNonRoot: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment