33 lines
880 B
YAML
33 lines
880 B
YAML
---
|
|
namespace:
|
|
name: badhouseplants-$BH_APP_BRANCH
|
|
labels:
|
|
istio-injection: disabled
|
|
istio:
|
|
hosts:
|
|
- $BH_APP_HOSTNAME
|
|
annotations:
|
|
link.argocd.argoproj.io/env: https://$BH_APP_HOSTNAME/
|
|
link.argocd.argoproj.io/remark42: https://remark42-$BH_APP_HOSTNAME/web
|
|
link.argocd.argoproj.io/build: $DRONE_BUILD_LINK
|
|
hugo:
|
|
image:
|
|
tag: $BH_APP_IMAGE_TAG
|
|
baseURL: https://$BH_APP_HOSTNAME/
|
|
buildDrafts: true
|
|
env:
|
|
HUGO_PARAMS_GITBRANCH: $BH_APP_BRANCH
|
|
HUGO_PARAMS_REMARK42URL: https://remark42-$BH_APP_HOSTNAME
|
|
HUGO_PARAMS_GITCOMMIT: $BH_APP_IMAGE_TAG
|
|
remark42:
|
|
istio:
|
|
hosts:
|
|
- remark42-$BH_APP_HOSTNAME
|
|
settings:
|
|
url: https://remark42-$BH_APP_HOSTNAME/
|
|
auth:
|
|
anonymous: true
|
|
secretKey: $BH_REMARK_SECRET
|
|
rclone:
|
|
command: 'rclone copy -P badhouseplants-public:/badhouseplants-net/$BH_APP_IMAGE_TAG /static'
|