-
Notifications
You must be signed in to change notification settings - Fork 3
/
zarf.yaml
96 lines (95 loc) · 3.05 KB
/
zarf.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
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/zarf/main/zarf.schema.json
kind: ZarfPackageConfig
metadata:
name: gitlab-common
description: "UDS GitLab Common Package"
components:
- name: gitlab
required: true
charts:
- name: uds-gitlab-config
namespace: gitlab
version: 0.2.0
localPath: ../chart
- name: gitlab
namespace: gitlab
url: https://charts.gitlab.io/
gitPath: chart
version: "8.3.1"
valuesFiles:
- ../values/common-values.yaml
actions:
onDeploy:
after:
- description: Validate GitLab Package
maxTotalSeconds: 300
wait:
cluster:
kind: Packages
name: gitlab
namespace: gitlab
condition: "'{.status.phase}'=Ready"
- description: GitLab Exporter to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-gitlab-exporter
namespace: gitlab
condition: Available
- description: GitLab Registry to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-registry
namespace: gitlab
condition: Available
- description: GitLab Shell to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-gitlab-shell
namespace: gitlab
condition: Available
- description: GitLab Toolbox to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-toolbox
namespace: gitlab
condition: Available
- description: GitLab Sidekiq to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-sidekiq-all-in-1-v2
namespace: gitlab
condition: Available
- description: GitLab Webservice to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-webservice-default
namespace: gitlab
condition: Available
- description: GitLab Pages to be Healthy
wait:
cluster:
kind: Deployment
name: gitlab-gitlab-pages
namespace: gitlab
condition: Available
# StatefulSets don't show conditions themselves so we look for an underlying Pod
- description: GitLab Gitaly to be Healthy
wait:
cluster:
kind: Pod
name: app=gitaly
namespace: gitlab
condition: Ready
- description: GitLab Migrations to be Healthy
wait:
cluster:
kind: Job
name: app=migrations
namespace: gitlab
condition: Complete