Skip to content

Instantly share code, notes, and snippets.

@davsclaus
Created June 27, 2022 16:53
Show Gist options
  • Save davsclaus/9f85123af588484b5c1ac03e0a88d5ce to your computer and use it in GitHub Desktop.
Save davsclaus/9f85123af588484b5c1ac03e0a88d5ce to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: myacme
name: myacme
spec:
replicas: 1
selector:
matchLabels:
app: myacme
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: myacme
spec:
containers:
- image: com.foo/acme:latest
name: acme
imagePullPolicy: Never
resources: {}
volumeMounts:
- name: config-volume
mountPath: /etc/config/myconfig
volumes:
- name: config-volume
configMap:
name: myconfig
serviceAccountName: default
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment