flame/skaffold.yaml
Dimitri Pommier 8681f75bab
Kubernetes integration (#80)
* chore(): skaffold

* chore(): kubernetes integration

* chore(skaffold): refine shokohsc profile

* chore(): removed docker & kubernetes from database + stoppedApp pin option

* Revert "chore(): removed docker & kubernetes from database + stoppedApp pin option"

This reverts commit 5111c7ad79.
2021-08-17 10:32:15 +02:00

66 lines
1.2 KiB
YAML

apiVersion: skaffold/v2beta20
kind: Config
metadata:
name: flame
build:
artifacts:
- image: shokohsc/flame
context: .
sync:
manual:
- src: controllers/*.js
dest: .
docker:
dockerfile: Dockerfile.dev
deploy:
kustomize:
paths:
- k8s/base
profiles:
- name: dev
activation:
- command: dev
build:
artifacts:
- image: shokohsc/flame
sync:
manual:
- src: controllers/*.js
dest: .
docker:
dockerfile: Dockerfile.dev
- name: shokohsc
build:
artifacts:
- image: shokohsc/flame
sync:
manual:
- src: controllers/*.js
dest: .
kaniko:
dockerfile: Dockerfile.dev
cache:
repo: shokohsc/flame
cluster:
dockerConfig:
secretName: kaniko-secret
namespace: kaniko
pullSecretName: kaniko-secret
deploy:
kustomize:
paths:
- k8s/overlays/shokohsc
- name: prod
build:
artifacts:
- image: shokohsc/flame
kaniko:
dockerfile: Dockerfile
cache:
repo: shokohsc/flame
cluster:
dockerConfig:
secretName: kaniko-secret
namespace: kaniko
pullSecretName: kaniko-secret