1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-09 12:35:18 +02:00

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.
This commit is contained in:
Dimitri Pommier 2021-08-17 10:32:15 +02:00 committed by GitHub
parent c1b61f9cd9
commit 8681f75bab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 5567 additions and 89 deletions

65
skaffold.yaml Normal file
View file

@ -0,0 +1,65 @@
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