forked from kapicorp/kapitan-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkubernetes.yml
More file actions
61 lines (60 loc) · 2.02 KB
/
kubernetes.yml
File metadata and controls
61 lines (60 loc) · 2.02 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
parameters:
kapitan:
dependencies:
- type: git
source: https://github.com/kapicorp/kapitan-reference.git
ref: master
subdir: components/generators/kubernetes
output_path: components/generators/kubernetes
compile:
- output_path: manifests
input_type: kadet
output_type: yml
input_paths:
- components/generators/kubernetes
input_params:
mutations:
bundle:
- conditions:
kind: [Ingress]
filename: '{content.component_name}-ingress'
- conditions:
kind: [Namespace]
filename: '{content.component_name}-namespace'
- conditions:
kind: [Secret]
filename: '{content.component_name}-secret'
- conditions:
kind: [ConfigMap]
filename: '{content.component_name}-config'
- conditions:
kind: [Service]
filename: '{content.component_name}-service'
- conditions:
kind: [ServiceAccount, ClusterRole, ClusterRoleBinding, Role, RoleBinding]
filename: '{content.component_name}-rbac'
- conditions:
kind: [NetworkPolicy]
filename: '{content.component_name}-security'
- conditions:
kind: [ManagedCertificate]
filename: 'gke-managed-certificate-managed-certificate'
- conditions:
kind: [HorizontalPodAutoscaler, PodDisruptionBudget, VerticalPodAutoscaler]
filename: '{content.component_name}-scaling'
- conditions:
kind: ["*"]
filename: '{content.component_name}-bundle'
generators:
kubernetes:
namespace:
name:
name: ${namespace}
manifest:
default_config:
namespace: ${namespace}
type: deployment
service_account:
create: false
annotations:
"manifests.kapicorp.com/generated": "true"