Verified Commit 37092756 authored by Alexander's avatar Alexander
Browse files

add helm

parent 1b4421d9
Pipeline #200612 passed with stages
in 1 minute and 18 seconds
# Helm dependency files
Chart.lock
charts/
apiVersion: v2
name: matrix-admin-bot
description: A Helm chart for Kubernetes
type: application
version: 0.1.0
appVersion: "1.0.0"
dependencies:
- name: common
version: "0.2.2"
repository: "https://paritytech.github.io/helm-charts/"
common:
env:
APP_HOST: "https://substrate-tip-bot.parity-prod.parity.io"
ingress:
annotations:
external-dns.alpha.kubernetes.io/target: traefik-external.parity-prod.parity.io.
rules:
- host: substrate-tip-bot.parity-prod.parity.io
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: substrate-tip-bot
port:
name: http
tls:
- hosts:
- substrate-tip-bot.parity-prod.parity.io
secretName: substrate-tip-bot.parity-prod.parity.io
common:
env:
APP_HOST: "https://substrate-tip-bot.parity-stg.parity.io"
DATABASE_NAME: "substrate-tip-bot"
ingress:
annotations:
external-dns.alpha.kubernetes.io/target: traefik-external.parity-stg.parity.io.
rules:
- host: substrate-tip-bot.parity-stg.parity.io
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: substrate-tip-bot
port:
name: http
tls:
- hosts:
- substrate-tip-bot.parity-stg.parity.io
secretName: substrate-tip-bot.parity-stg.parity.io
common:
fullnameOverride: "substrate-tip-bot"
extraLabels:
team: "opstooling"
serviceAccount:
create: false
image:
repository: paritytech/substrate-tip-bot
envFrom:
- secretRef:
name: substrate-tip-bot
service:
ports:
- name: http
protocol: TCP
port: 80
targetPort: 8000
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-dns01
kubernetes.io/ingress.class: traefik-external
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
# Enable after endpoint is created
# livenessProbe:
# httpGet:
# path: /health
# port: 8000
# scheme: HTTP
# readinessProbe:
# httpGet:
# path: /health
# port: 8000
# scheme: HTTP
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment