---
kind: Deployment
apiVersion: apps/v1
metadata:
  name: APP_NAME
  namespace: APP_NAME-system
  labels:
    app: APP_NAME
spec:
  replicas: 3
  selector:
    matchLabels:
      app: APP_NAME
  template:
    metadata:
      labels:
        app: APP_NAME
    spec:
      containers:
        - name: APP_NAME
          image: DOCKERHUB_USERNAME/APP_NAME:GIT_HASH
          env:
          - name: META_TITLE
            value: "Teo's Cloud"
          - name: META_DESCRIPTION
            value: "Teo's Cloud"
          - name: META_AUTHOR
            value: "Mateo Ortegon"
          - name: LANG
            value: "en"
          - name: THEME
            value: "Dark"
          - name: FAVICON_URL
            value: "https://olc-wordpress-assets.s3.amazonaws.com/uploads/2020/05/cloud-icon.png"
          - name: AVATAR_URL
            value: "https://miro.medium.com/fit/c/1360/1360/0*p7du7PBJUO4wnQBQ."
          - name: AVATAR_2X_URL
            value: "https://miro.medium.com/fit/c/1360/1360/0*p7du7PBJUO4wnQBQ."
          - name: AVATAR_ALT
            value: "https://miro.medium.com/fit/c/1360/1360/0*p7du7PBJUO4wnQBQ."
          - name: NAME
            value: "Mateo Ortegon"
          - name: BIO
            value: "Hey! This is a list of workloads running on a HA K3s cluster in my laundry room in Boise :D"
          - name: FOOTER
            value: "Source for workloads + CI/CD scripts on GitHub. Thanks for stopping by! : )"
          - name: GITHUB
            value: "https://github.com/teoo-io"
          - name: LINKED_IN
            value: "https://www.linkedin.com/in/mateoortegon"
          - name: BUTTON_ORDER
            value: "RANCHER,NES,DOCS,CRYPTO,GITHUB,HYPERVISOR,LINKED_IN,EMAIL"
          - name: CUSTOM_BUTTON_TEXT
            value: "Rancher K3s,NES Emulator,Sr. Design Project,Crypto Projects (Under Dev.), E-mail,Hypervisor"
          - name: CUSTOM_BUTTON_URL
            value: "https://rancher.teoo.io,https://nes.teoo.io,https://cs481-ekh.github.io/s22-ewco/,https://crypto.teoo.io,mailto:m@teoo.io,https://cloud.teoo.io:8006/"
          - name: CUSTOM_BUTTON_COLOR
            value: "#0075A8,#F15354,#F1C40F,#99A3A8,#27AE5F,#e57000" # #FE7C3F #FE7C3F #27AE5F  #99A3A8  #34495E
          - name: CUSTOM_BUTTON_TEXT_COLOR
            value: "#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff"
          - name: CUSTOM_BUTTON_ALT_TEXT
            value: "Rancher Dashboard,Play Nintendo,Documentation for HMI,Not yet deployed,Email me!,Hypervisor"
          - name: CUSTOM_BUTTON_NAME
            value: "RANCHER,NES,DOCS,CRYPTO,EMAIL,HYPERVISOR"
          - name: CUSTOM_BUTTON_ICON
            value: "fas cubes,fas gamepad,fas graduation-cap,fas coins,fas envelope,fas rocket"
          ports:
            - name: APP_NAME-svc
              containerPort: 3000
