This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathskaffold.yaml
69 lines (66 loc) · 2.26 KB
/
skaffold.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
apiVersion: skaffold/v3
kind: Config
profiles:
- name: app
build:
local:
push: true
artifacts:
- image: rkt-registry:5000/backup-repository
ko:
dependencies:
paths: ["**/*.go", "go.mod", "go.sum"]
ignore: ["**/*_test.go"]
tagPolicy:
gitCommit: {}
insecureRegistries:
- rkt-registry:5000
deploy:
statusCheck: true
statusCheckDeadlineSeconds: 120
helm:
releases:
- name: server
chartPath: helm/backup-repository-server
recreatePods: true
namespace: backups
createNamespace: true
valuesFiles:
- helm/examples/backup-repository-ci.values.yaml
setValueTemplates:
installCRD: "false"
image.repository: 'rkt-registry:5000/backup-repository'
image.tag: '{{.IMAGE_TAG}}'
terminationGracePeriodSeconds: 1
env.GIN_MODE: "debug"
portForward:
- resourceType: service
resourceName: server-backup-repository-server
namespace: backups
port: 8080
localPort: 8050
- name: deps
deploy:
statusCheck: true
statusCheckDeadlineSeconds: 120
helm:
releases:
- name: postgresql
repo: https://charts.bitnami.com/bitnami
version: 12.1.2
remoteChart: postgresql
namespace: db
createNamespace: true
wait: true
valuesFiles:
- helm/examples/postgresql.values.yaml
- name: minio
repo: https://charts.min.io/
version: 5.0.1
remoteChart: minio
namespace: storage
createNamespace: true
wait: true
valuesFiles:
- helm/examples/minio.values.yaml