infra4talos/apps-kustomized/links/deploy.yaml

113 lines
3.6 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: littlelink-server
labels:
app.kubernetes.io/instance: littlelink-server
app.kubernetes.io/name: littlelink-server
spec:
revisionHistoryLimit: 3
replicas: 1
strategy:
type: RollingUpdate
selector:
matchLabels:
app.kubernetes.io/name: littlelink-server
app.kubernetes.io/instance: littlelink-server
template:
metadata:
labels:
app.kubernetes.io/name: littlelink-server
app.kubernetes.io/instance: littlelink-server
spec:
serviceAccountName: default
automountServiceAccountToken: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
containers:
- name: littlelink-server
image: "ghcr.io/techno-tim/littlelink-server:latest"
imagePullPolicy: IfNotPresent
env:
- name: AVATAR_2X_URL
value: https://files.martyn.berlin/blogimages/RedLycanSongLogo.png
- name: AVATAR_ALT
value: Lycansong Logo
- name: AVATAR_URL
value: https://files.martyn.berlin/blogimages/RedLycanSongLogo.png
- name: BANDCAMP
value: https://acapellawolf.bandcamp.com
- name: BIO
value: Lycansong's links
- name: BUTTON_ORDER
value: FAIRCAMP,BANDCAMP,SOUND_CLOUD,MASTODON,DISCORD,TWITCH,EMAIL
- name: CUSTOM_BUTTON_ALT_TEXT
value: Faircamp
- name: CUSTOM_BUTTON_COLOR
value: '#aaddff'
- name: CUSTOM_BUTTON_ICON
value: fa-classic fa-music
- name: CUSTOM_BUTTON_NAME
value: FAIRCAMP
- name: CUSTOM_BUTTON_TEXT
value: faircamp
- name: CUSTOM_BUTTON_TEXT_COLOR
value: '#000000'
- name: CUSTOM_BUTTON_URL
value: https://lycansong.martyn.berlin
- name: DISCORD
value: https://discord.gg/d5FdSNw
- name: EMAIL
value: wolf@martyn.berlin
- name: EMAIL_TEXT
value: Email
- name: FAVICON_URL
value: https://files.martyn.berlin/blogimages/RedLycanSongLogo.png
- name: FOOTER
value: Thanks for stopping by!
- name: GITHUB
value: https://github.com/timothystewart6
- name: MASTODON
value: https://toot.martyn.berlin/@martyn
- name: META_AUTHOR
value: Lycansong
- name: META_DESCRIPTION
value: Lycansong 's Link page
- name: META_TITLE
value: Lycansong
- name: NAME
value: Lycansong
- name: SOUND_CLOUD
value: https://soundcloud.com/acapellawolf
- name: THEME
value: Dark
- name: TWITCH
value: https://twitch.tv/acapellawolf
- name: TZ
value: UTC
ports:
- name: http
containerPort: 3000
protocol: TCP
livenessProbe:
tcpSocket:
port: 3000
initialDelaySeconds: 0
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
readinessProbe:
tcpSocket:
port: 3000
initialDelaySeconds: 0
failureThreshold: 3
timeoutSeconds: 1
periodSeconds: 10
startupProbe:
tcpSocket:
port: 3000
initialDelaySeconds: 0
failureThreshold: 30
timeoutSeconds: 1
periodSeconds: 5