Initial support for deploy via skaffold run

This commit is contained in:
Erki Aas 2022-10-11 04:05:05 +03:00
parent 845773f3f1
commit 3326e0e9e3
1 changed files with 13 additions and 1 deletions

View File

@ -2,6 +2,7 @@ apiVersion: skaffold/v3alpha1
kind: Config kind: Config
metadata: metadata:
name: log-viewer-backend name: log-viewer-backend
build: build:
artifacts: artifacts:
- image: harbor.k-space.ee/playground/log-viewer-backend - image: harbor.k-space.ee/playground/log-viewer-backend
@ -12,6 +13,14 @@ build:
context: frontend context: frontend
docker: docker:
dockerfile: Dockerfile dockerfile: Dockerfile
deploy:
kubectl: {}
manifests:
rawYaml:
- k8s/deployment.yaml
profiles: profiles:
- name: dev - name: dev
activation: activation:
@ -43,4 +52,7 @@ profiles:
- src: 'src/**/*.svg' - src: 'src/**/*.svg'
dest: . dest: .
- src: 'index.html' - src: 'index.html'
dest: . dest: .
manifests:
rawYaml:
- k8s/dev/deployment.yaml