Skip to content

Instantly share code, notes, and snippets.

Natcha Wattanaarunkij zinref

  • Bangkok, Thailand
View GitHub Profile
View redis.yaml
image:
repository: bitnami/redis
pullPolicy: IfNotPresent
cluster:
enabled: false
usePassword: false
master:
persistence:
enabled: false
@zinref
zinref / wordpress
Created Apr 13, 2020
wordpress temp
View wordpress
ingress:
enabled: true
service:
type: NodePort
persistence:
enabled: false
mariadb:
enabled: true
replication:
enabled: false
@zinref
zinref / avengers-config-report.yaml
Last active Apr 2, 2020
Avengers Report Config CRD
View avengers-config-report.yaml
# report configuration
report:
slack:
channels:
- samsahai
# how often of sending component upgrade notification within a retry cycle
# use 'everytime' for sending slack notification in every component upgrade runs
# use 'retry' for sending slack notification after retry only <default>
componentUpgrade:
interval: retry
@zinref
zinref / avengers-config-env.yaml
Last active Apr 3, 2020
Avengers Environment Config CRD
View avengers-config-env.yaml
# staging namespace configuration
staging:
# how many times the component should be tested?
maxRetry: 3
deployment:
# how long of service deployment should be ready?
timeout: 5m
engine: helm3
# testing flow configuration for running against staging namespace
testRunner:
@zinref
zinref / avengers-config-component.yaml
Last active Apr 2, 2020
Avengers Component Config CRD
View avengers-config-component.yaml
# what components do you want to deploy on K8s namespace?
components:
- name: redis
chart:
repository: https://kubernetes-charts.storage.googleapis.com
name: redis
# source of service version, target version can be specified as regex
image:
repository: bitnami/redis
pattern: '5.*debian-9.*'
@zinref
zinref / avengers-config.yaml
Last active Apr 3, 2020
Avengers Config CRD
View avengers-config.yaml
apiVersion: env.samsahai.io/v1beta1
kind: Config
metadata:
name: avengers
spec:
# what components do you want to deploy on K8s namespace?
components:
- name: redis
chart:
repository: https://kubernetes-charts.storage.googleapis.com
@zinref
zinref / avengers-team.yaml
Last active Apr 2, 2020
Avengers Team CRD
View avengers-team.yaml
apiVersion: env.samsahai.io/v1beta1
kind: Team
metadata:
name: avengers
spec:
description: Avengers team
owners:
- avengers@samsahai.io
You can’t perform that action at this time.