Skip to content

Commit 1e555f8

Browse files
author
Alessandro De Maria
authored
New generators (#145)
* original-compiled * add new generators * upgrade generators * adds new generator output
1 parent 6baac26 commit 1e555f8

File tree

169 files changed

+10901
-9608
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+10901
-9608
lines changed

.kapitan

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
version: 0.32
21
compile:
32
prune: true
43
embed-refs: true
54
fetch: true
65
yaml-dump-null-as-empty: true
7-
compose-node-name: true
86
refs-path: ./system/refs
97
jinja2-filters: ./system/templates/jinja2_filters.py
108
search-paths:
@@ -13,4 +11,4 @@ compile:
1311
- ./system/lib
1412
- ./system/generators
1513
refs:
16-
refs-path: ./system/refs
14+
refs-path: ./system/refs

.kapitan.jinja

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This file contains default settings for Kapitan
2+
3+
# Use version to fix a specific kapitan version
4+
# version: {{kapitan_version}}
5+
compile:
6+
prune: true
7+
embed-refs: true
8+
fetch: true
9+
yaml-dump-null-as-empty: true
10+
compose-node-name: true
11+
refs-path: ./system/refs
12+
jinja2-filters: ./system/templates/jinja2_filters.py
13+
search-paths:
14+
- .
15+
- ./system/
16+
- ./system/lib
17+
- ./system/generators
18+
refs:
19+
refs-path: ./system/refs

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.11

compiled/dev-sockshop/manifests/carts-bundle.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ metadata:
1010
name: carts
1111
namespace: dev-sockshop
1212
spec:
13+
minReadySeconds:
14+
progressDeadlineSeconds:
1315
replicas: 1
16+
revisionHistoryLimit:
1417
selector:
1518
matchLabels:
1619
app.kubernetes.io/part-of: sock-shop
@@ -22,22 +25,28 @@ spec:
2225
type: RollingUpdate
2326
template:
2427
metadata:
28+
annotations: {}
2529
labels:
2630
app.kubernetes.io/part-of: sock-shop
2731
name: carts
2832
spec:
33+
affinity: {}
2934
containers:
30-
- env:
35+
- args: []
36+
command: []
37+
env:
3138
- name: JAVA_OPTS
3239
value: -Xms64m -Xmx128m -XX:PermSize=32m -XX:MaxPermSize=64m -XX:+UseG1GC
3340
-Djava.security.egd=file:/dev/urandom
3441
- name: ZIPKIN
3542
value: zipkin.jaeger.svc.cluster.local
3643
image: weaveworksdemos/carts:0.4.8
3744
imagePullPolicy: IfNotPresent
45+
lifecycle: {}
3846
livenessProbe:
3947
failureThreshold: 3
4048
httpGet:
49+
httpHeaders:
4150
path: /health
4251
port: http
4352
scheme: HTTP
@@ -53,13 +62,15 @@ spec:
5362
readinessProbe:
5463
failureThreshold: 3
5564
httpGet:
65+
httpHeaders:
5666
path: /health
5767
port: http
5868
scheme: HTTP
5969
initialDelaySeconds: 120
6070
periodSeconds: 10
6171
successThreshold: 1
6272
timeoutSeconds: 3
73+
resources: {}
6374
securityContext:
6475
capabilities:
6576
add:
@@ -72,8 +83,16 @@ spec:
7283
volumeMounts:
7384
- mountPath: /tmp
7485
name: tmp-volume
86+
dnsPolicy:
87+
hostNetwork:
88+
hostPID:
89+
imagePullSecrets: []
90+
initContainers: []
91+
nodeSelector: {}
7592
restartPolicy: Always
93+
securityContext: {}
7694
terminationGracePeriodSeconds: 30
95+
tolerations: []
7796
volumes:
7897
- emptyDir:
7998
medium: Memory

compiled/dev-sockshop/manifests/carts-db-bundle.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ metadata:
1010
name: carts-db
1111
namespace: dev-sockshop
1212
spec:
13+
minReadySeconds:
14+
progressDeadlineSeconds:
1315
replicas: 1
16+
revisionHistoryLimit:
1417
selector:
1518
matchLabels:
1619
app.kubernetes.io/part-of: sock-shop
@@ -22,18 +25,24 @@ spec:
2225
type: RollingUpdate
2326
template:
2427
metadata:
28+
annotations: {}
2529
labels:
2630
app.kubernetes.io/part-of: sock-shop
2731
name: carts-db
2832
spec:
33+
affinity: {}
2934
containers:
30-
- image: mongo
35+
- args: []
36+
command: []
37+
image: mongo
3138
imagePullPolicy: IfNotPresent
39+
lifecycle: {}
3240
name: carts-db
3341
ports:
3442
- containerPort: 27017
3543
name: mongo
3644
protocol: TCP
45+
resources: {}
3746
securityContext:
3847
capabilities:
3948
add:
@@ -46,8 +55,16 @@ spec:
4655
volumeMounts:
4756
- mountPath: /tmp
4857
name: tmp-volume
58+
dnsPolicy:
59+
hostNetwork:
60+
hostPID:
61+
imagePullSecrets: []
62+
initContainers: []
63+
nodeSelector: {}
4964
restartPolicy: Always
65+
securityContext: {}
5066
terminationGracePeriodSeconds: 30
67+
tolerations: []
5168
volumes:
5269
- emptyDir:
5370
medium: Memory

compiled/dev-sockshop/manifests/carts-db-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4+
annotations:
5+
manifests.kapicorp.com/generated: 'true'
46
labels:
57
app.kapicorp.dev/component: carts-db
68
app.kubernetes.io/part-of: sock-shop
@@ -13,6 +15,7 @@ spec:
1315
port: 27017
1416
protocol: TCP
1517
targetPort: mongo
18+
publishNotReadyAddresses:
1619
selector:
1720
app.kubernetes.io/part-of: sock-shop
1821
name: carts-db

compiled/dev-sockshop/manifests/carts-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4+
annotations:
5+
manifests.kapicorp.com/generated: 'true'
46
labels:
57
app.kapicorp.dev/component: carts
68
app.kubernetes.io/part-of: sock-shop
@@ -13,6 +15,7 @@ spec:
1315
port: 80
1416
protocol: TCP
1517
targetPort: http
18+
publishNotReadyAddresses:
1619
selector:
1720
app.kubernetes.io/part-of: sock-shop
1821
name: carts

compiled/dev-sockshop/manifests/catalogue-bundle.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ metadata:
1010
name: catalogue
1111
namespace: dev-sockshop
1212
spec:
13+
minReadySeconds:
14+
progressDeadlineSeconds:
1315
replicas: 1
16+
revisionHistoryLimit:
1417
selector:
1518
matchLabels:
1619
app.kubernetes.io/part-of: sock-shop
@@ -22,20 +25,24 @@ spec:
2225
type: RollingUpdate
2326
template:
2427
metadata:
28+
annotations: {}
2529
labels:
2630
app.kubernetes.io/part-of: sock-shop
2731
name: catalogue
2832
spec:
33+
affinity: {}
2934
containers:
3035
- args:
3136
- -port=80
3237
command:
3338
- /app
3439
image: weaveworksdemos/catalogue:0.3.5
3540
imagePullPolicy: IfNotPresent
41+
lifecycle: {}
3642
livenessProbe:
3743
failureThreshold: 3
3844
httpGet:
45+
httpHeaders:
3946
path: /health
4047
port: http
4148
scheme: HTTP
@@ -51,13 +58,15 @@ spec:
5158
readinessProbe:
5259
failureThreshold: 3
5360
httpGet:
61+
httpHeaders:
5462
path: /health
5563
port: http
5664
scheme: HTTP
5765
initialDelaySeconds: 0
5866
periodSeconds: 10
5967
successThreshold: 1
6068
timeoutSeconds: 3
69+
resources: {}
6170
securityContext:
6271
capabilities:
6372
add:
@@ -67,5 +76,13 @@ spec:
6776
readOnlyRootFilesystem: true
6877
runAsNonRoot: true
6978
runAsUser: 10001
79+
dnsPolicy:
80+
hostNetwork:
81+
hostPID:
82+
imagePullSecrets: []
83+
initContainers: []
84+
nodeSelector: {}
7085
restartPolicy: Always
86+
securityContext: {}
7187
terminationGracePeriodSeconds: 30
88+
tolerations: []

compiled/dev-sockshop/manifests/catalogue-db-bundle.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ metadata:
1010
name: catalogue-db
1111
namespace: dev-sockshop
1212
spec:
13+
minReadySeconds:
14+
progressDeadlineSeconds:
1315
replicas: 1
16+
revisionHistoryLimit:
1417
selector:
1518
matchLabels:
1619
app.kubernetes.io/part-of: sock-shop
@@ -22,24 +25,38 @@ spec:
2225
type: RollingUpdate
2326
template:
2427
metadata:
28+
annotations: {}
2529
labels:
2630
app.kubernetes.io/part-of: sock-shop
2731
name: catalogue-db
2832
spec:
33+
affinity: {}
2934
containers:
30-
- env:
35+
- args: []
36+
command: []
37+
env:
3138
- name: MYSQL_DATABASE
3239
value: socksdb
3340
- name: MYSQL_ROOT_PASSWORD
3441
value: oRXAcxnJ391OJ6-L3bn6aTmHA-crIiHaFuIqu_3OV5g
3542
image: weaveworksdemos/catalogue-db:0.3.0
3643
imagePullPolicy: IfNotPresent
44+
lifecycle: {}
3745
name: catalogue-db
3846
ports:
3947
- containerPort: 3306
4048
name: mysql
4149
protocol: TCP
50+
resources: {}
4251
securityContext:
4352
readOnlyRootFilesystem: false
53+
dnsPolicy:
54+
hostNetwork:
55+
hostPID:
56+
imagePullSecrets: []
57+
initContainers: []
58+
nodeSelector: {}
4459
restartPolicy: Always
60+
securityContext: {}
4561
terminationGracePeriodSeconds: 30
62+
tolerations: []

compiled/dev-sockshop/manifests/catalogue-db-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4+
annotations:
5+
manifests.kapicorp.com/generated: 'true'
46
labels:
57
app.kapicorp.dev/component: catalogue-db
68
app.kubernetes.io/part-of: sock-shop
@@ -13,6 +15,7 @@ spec:
1315
port: 3306
1416
protocol: TCP
1517
targetPort: mysql
18+
publishNotReadyAddresses:
1619
selector:
1720
app.kubernetes.io/part-of: sock-shop
1821
name: catalogue-db

compiled/dev-sockshop/manifests/catalogue-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
apiVersion: v1
22
kind: Service
33
metadata:
4+
annotations:
5+
manifests.kapicorp.com/generated: 'true'
46
labels:
57
app.kapicorp.dev/component: catalogue
68
app.kubernetes.io/part-of: sock-shop
@@ -13,6 +15,7 @@ spec:
1315
port: 80
1416
protocol: TCP
1517
targetPort: http
18+
publishNotReadyAddresses:
1619
selector:
1720
app.kubernetes.io/part-of: sock-shop
1821
name: catalogue

0 commit comments

Comments
 (0)