-
Notifications
You must be signed in to change notification settings - Fork 4
/
skaffold.yaml
107 lines (102 loc) · 2.52 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apiVersion: skaffold/v4beta6
kind: Config
build:
artifacts:
- image: "identity-platform-admin-ui"
sync:
infer:
- "internal/"
- "pkg/"
- "cmd/main.go"
- "go.mod"
- "go.sum"
custom:
buildCommand: ./build.sh
dependencies:
paths:
- rockcraft.yaml
platforms: ["linux/amd64"]
local:
push: true
test:
- image: "identity-platform-admin-ui"
structureTests:
- './structure-tests.yaml'
manifests:
rawYaml:
- "deployments/kubectl/*"
deploy:
statusCheck: true
statusCheckDeadlineSeconds: 180
tolerateFailuresUntilDeadline: true
kubectl: {}
helm:
releases:
- name: postgresql
remoteChart: oci://registry-1.docker.io/bitnamicharts/postgresql
valuesFiles: ["deployments/helm/postgresql/values.yaml"]
- name: kratos
remoteChart: kratos
repo: https://k8s.ory.sh/helm/charts
valuesFiles: ["deployments/helm/kratos/values.yaml"]
wait: false
- name: hydra
remoteChart: hydra
repo: https://k8s.ory.sh/helm/charts
valuesFiles: ["deployments/helm/hydra/values.yaml"]
wait: false
- name: oathkeeper
remoteChart: oathkeeper
repo: https://k8s.ory.sh/helm/charts
valuesFiles: ["deployments/helm/oathkeeper/values.yaml"]
wait: false
- name: openfga
remoteChart: openfga
repo: https://openfga.github.io/helm-charts
valuesFiles: ["deployments/helm/openfga/values.yaml"]
wait: false
- name: mailhog
remoteChart: mailhog
repo: https://codecentric.github.io/helm-charts
valuesFiles: ["deployments/helm/mailhog/values.yaml"]
portForward:
- resourceType: service
resourceName: identity-platform-admin-ui
namespace: default
port: 80
localPort: 8000
- resourceType: service
resourceName: kratos-admin
namespace: default
port: 80
localPort: 14434
- resourceType: service
resourceName: kratos-public
namespace: default
port: 80
localPort: 14433
- resourceType: service
resourceName: hydra-admin
namespace: default
port: 4445
localPort: 14445
- resourceType: service
resourceName: hydra-public
namespace: default
port: 4444
localPort: 4444
- resourceType: service
resourceName: oathkeeper-api
namespace: default
port: 4456
localPort: 14456
- resourceType: service
resourceName: openfga
namespace: default
port: 8080
localPort: 14457
- resourceType: service
resourceName: mailhog
namespace: default
port: 8025
localPort: 18025