-
Notifications
You must be signed in to change notification settings - Fork 2
/
Kptfile
32 lines (32 loc) · 1.16 KB
/
Kptfile
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
apiVersion: kpt.dev/v1
kind: Kptfile
metadata:
name: sciops
info:
emails:
description: "This is a kpt package providing a template for a \n(git)ops-managed cluster for scientific data analysis.\nPlease see README.md in the upstream repository for more details.\n"
pipeline:
validators:
- image: gcr.io/kpt-fn/kubeval:v0.3
configMap:
strict: "false"
ignore_missing_schemas: "true"
mutators:
- image: gcr.io/kpt-fn/apply-setters:v0.2.0
configMap:
host: cluster-127-0-0-1.nip.io
cluster_issuer_email: [email protected]
github_org: yourorg
github_ops_repo: orgname/sciops
cloud_project_id: project-11111
# - image: gcr.io/kpt-fn/search-replace:v0.2.0
# configMap:
# by-value-regex: (.*)unset-127-0-0-1.nip.io(.*)
# put-comment: 'kpt-set: ${1}${host}${2}'
# put-value: ${1}unset-127-0-0-1.nip.io${2}
# - image: gcr.io/kpt-fn/search-replace:v0.2.0
# configMap:
# by-value-regex: (.*)unset-orgname/sciops(.*)
# put-comment: 'kpt-set: ${1}${github_ops_repo}${2}'
# put-value: ${1}unset-orgname/sciops${2}