Skip to content

Instantly share code, notes, and snippets.

@eyarz
Last active September 12, 2019 09:23
Show Gist options
  • Save eyarz/369bd8deb7fbfce879df23e8e690d167 to your computer and use it in GitHub Desktop.
Save eyarz/369bd8deb7fbfce879df23e8e690d167 to your computer and use it in GitHub Desktop.
How not to write a YAML file
apiVersion: v1
kind: Pod
metadata:
name: Octocat-service
labels:
purpose: Generate Octocats
spec:
containers:
- name: octocat-generator-container
image: docker.pkg.github.com/ubuntu:latest
env:
- name: GH_TOKEN
value: "a86f5bbc2e2352449b8ctce886bcff"
- name: NPM_TOKEN
value: "16be799-4325-4a9c-bac6-0916877"
- name: AZURE_ACCESS_TOKEN
value: "eyJ0eXAiOiJKVaZnQumgiOiJJIiwic"
- name: DATABASE_PASSWORD
value: "P@ssw0rd"
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment