-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathzarf.yaml
More file actions
69 lines (66 loc) · 2.3 KB
/
zarf.yaml
File metadata and controls
69 lines (66 loc) · 2.3 KB
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
# Copyright 2024 Defense Unicorns
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/zarf/v0.75.1/zarf.schema.json
kind: ZarfPackageConfig
metadata:
name: minio-operator
description: UDS Minio Operator and Tenant Package`
components:
- name: minio-operator
charts:
- name: uds-minio-config
namespace: minio-operator
version: 0.1.0
localPath: ../chart
variables:
- name: TENANT
path: name
description: The name of the tenant
- name: minio-operator
version: v7.1.1
url: https://github.com/minio/operator.git
gitPath: helm/operator
namespace: minio-operator
valuesFiles:
- ../values/common-values.yaml
- name: minio-tenant
version: v7.1.1
url: https://github.com/minio/operator.git
gitPath: helm/tenant/
namespace: minio
valuesFiles:
- ../values/tenant-values.yaml
variables:
- name: TENANT
path: tenant.name
description: The name of the tenant
actions:
onDeploy:
after:
- cmd: ./zarf tools kubectl -n minio rollout restart statefulset
description: Restart Minio StatefulSet so pods cycle on upgrades
- cmd: ./zarf tools kubectl -n minio rollout status statefulset
description: Wait for Rollout to complete before continuing
- description: Validate Minio Operator Package
maxTotalSeconds: 300
wait:
cluster:
kind: packages.uds.dev
name: minio-operator
namespace: minio-operator
condition: "'{.status.phase}'=Ready"
- description: Validate Minio Tenant Package
maxTotalSeconds: 300
wait:
cluster:
kind: Packages
name: minio
namespace: minio
condition: "'{.status.phase}'=Ready"
- description: Minio App/Tenant Status
wait:
cluster:
kind: pod
name: "v1.min.io/tenant=${ZARF_VAR_TENANT}"
namespace: minio
condition: Ready