Skip to content

Commit

Permalink
add new generators
Browse files Browse the repository at this point in the history
  • Loading branch information
ademariag committed Apr 24, 2024
1 parent dd2844c commit 4a3d323
Show file tree
Hide file tree
Showing 94 changed files with 9,669 additions and 9,512 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/carts-db-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: carts-db
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/carts-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: carts
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/catalogue-db-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: catalogue-db
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/catalogue-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: catalogue
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/frontend-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: frontend
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/orders-db-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: orders-db
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/orders-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: orders
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/payment-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: payment
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/queue-master-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: queue-master
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/rabbit-mq-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: rabbit-mq
app.kubernetes.io/part-of: sock-shop
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/session-db-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: session-db
name: session-db
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/shipping-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: shipping
name: shipping
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/user-db-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: user-db
name: user-db
Expand Down
2 changes: 2 additions & 0 deletions compiled/dev-sockshop/manifests/user-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: user
name: user
Expand Down
4 changes: 2 additions & 2 deletions compiled/echo-server/manifests/echo-server-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
fieldRef:
fieldPath: spec.nodeName
image: jmalloc/echo-server
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 3
httpGet:
Expand Down Expand Up @@ -94,7 +94,7 @@ spec:
volumes:
- configMap:
defaultMode: 360
name: echo-server-caa935ba
name: echo-server-88d0d989
name: config
- name: secret
secret:
Expand Down
3 changes: 2 additions & 1 deletion compiled/echo-server/manifests/echo-server-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ data:
kind: ConfigMap
metadata:
labels:
app.kapicorp.dev/component: echo-server
name: echo-server
name: echo-server-caa935ba
name: echo-server-88d0d989
namespace: echo-server
1 change: 1 addition & 0 deletions compiled/echo-server/manifests/echo-server-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ data:
kind: Secret
metadata:
labels:
app.kapicorp.dev/component: echo-server
name: echo-server
name: echo-server
namespace: echo-server
Expand Down
3 changes: 2 additions & 1 deletion compiled/echo-server/manifests/echo-server-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
labels:
app.kapicorp.dev/component: echo-server
name: echo-server
name: echo-server
namespace: echo-server
spec:
ingress:
- from:
Expand All @@ -15,7 +17,6 @@ spec:
protocol: TCP
podSelector:
matchLabels:
app.kapicorp.dev/component: echo-server
name: echo-server
policyTypes:
- Ingress
2 changes: 2 additions & 0 deletions compiled/echo-server/manifests/echo-server-service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: Service
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: echo-server
name: echo-server
Expand Down
1 change: 1 addition & 0 deletions compiled/examples/manifests/base64-as-base64-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
name: base64-as-base64
name: base64-as-base64
namespace: examples
stringData:
CONNECTION: xyz://?{base64:eyJkYXRhIjogIlpERndRMWt3Y0c5VGEzQjJZV2M5UFE9PSIsICJlbmNvZGluZyI6ICJiYXNlNjQiLCAidHlwZSI6ICJiYXNlNjQifQ==:embedded}-someotherstuff
type: Opaque
1 change: 1 addition & 0 deletions compiled/examples/manifests/base64-as-plain-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
name: base64-as-plain
name: base64-as-plain
namespace: examples
stringData:
CONNECTION: xyz://?{base64:eyJkYXRhIjogIlUxQjJjVmh3YWtwR1NXVjFRVUozIiwgImVuY29kaW5nIjogIm9yaWdpbmFsIiwgInR5cGUiOiAiYmFzZTY0In0=:embedded}_someotherstuff
type: Opaque
1 change: 1 addition & 0 deletions compiled/examples/manifests/filebeat-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ data:
kind: ConfigMap
metadata:
labels:
app.kapicorp.dev/component: filebeat
name: filebeat
name: filebeat
namespace: examples
7 changes: 6 additions & 1 deletion compiled/examples/manifests/filebeat-rbac.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: filebeat
name: filebeat
Expand All @@ -10,6 +12,8 @@ metadata:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: filebeat
name: filebeat
Expand Down Expand Up @@ -38,6 +42,8 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: filebeat
name: filebeat
Expand All @@ -46,7 +52,6 @@ metadata:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: filebeat
subjects:
- kind: ServiceAccount
name: filebeat
Expand Down
2 changes: 1 addition & 1 deletion compiled/examples/manifests/logstash-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
operator: In
values:
- logstash
topologyKey: failure-domain.beta.kubernetes.io/zone
topologyKey: topology.kubernetes.io/zone
weight: 1
containers:
- image: eu.gcr.io/antha-images/logstash:7.5.1
Expand Down
12 changes: 0 additions & 12 deletions compiled/examples/manifests/logstash-config-config.yml

This file was deleted.

12 changes: 0 additions & 12 deletions compiled/examples/manifests/logstash-pipelines-config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion compiled/examples/manifests/mysql-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
- name: secrets
secret:
defaultMode: 420
secretName: mysql-5ebf7f24
secretName: mysql-69e349a2
updateStrategy:
rollingUpdate:
partition: 0
Expand Down
1 change: 1 addition & 0 deletions compiled/examples/manifests/mysql-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ data:
kind: ConfigMap
metadata:
labels:
app.kapicorp.dev/component: mysql
name: mysql
name: mysql
namespace: examples
3 changes: 2 additions & 1 deletion compiled/examples/manifests/mysql-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ data:
kind: Secret
metadata:
labels:
app.kapicorp.dev/component: mysql
name: mysql
name: mysql-5ebf7f24
name: mysql-69e349a2
namespace: examples
type: Opaque
1 change: 1 addition & 0 deletions compiled/examples/manifests/plain-base64-secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
name: plain-base64
name: plain-base64
namespace: examples
stringData:
CONNECTION: xyz://SW9wR3dGb2Q4M0tQTVdDWFJHUUU=_xx_someotherstuff
type: Opaque
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
name: plain-plain-connection-b64
name: plain-plain-connection-b64
namespace: examples
stringData:
CONNECTION: postgresql://myUser:myPass/database
type: Opaque
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
name: plain-plain-connection-non-b64
name: plain-plain-connection-non-b64
namespace: examples
stringData:
CONNECTION: postgresql://myUser:myPass/database
type: Opaque
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
labels:
name: plain-plain-connection
name: plain-plain-connection
namespace: examples
stringData:
CONNECTION: postgresql://myUser:myPass/database
type: Opaque
12 changes: 12 additions & 0 deletions compiled/examples/manifests/trivy-rbac.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
apiVersion: v1
kind: ServiceAccount
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: trivy
app.kubernetes.io/component: go
app.kubernetes.io/version: 0.18.1
name: trivy
name: trivy
namespace: examples
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: trivy
app.kubernetes.io/component: go
app.kubernetes.io/version: 0.18.1
name: trivy
name: trivy
namespace: examples
Expand All @@ -28,8 +36,12 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
annotations:
manifests.kapicorp.com/generated: 'true'
labels:
app.kapicorp.dev/component: trivy
app.kubernetes.io/component: go
app.kubernetes.io/version: 0.18.1
name: trivy
name: trivy
namespace: examples
Expand Down
3 changes: 1 addition & 2 deletions compiled/examples/manifests/trivy-secret.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
apiVersion: v1
data:
GITHUB_TOKEN: ''
kind: Secret
metadata:
labels:
app.kapicorp.dev/component: trivy
name: trivy
name: trivy
namespace: examples
Expand Down
Loading

0 comments on commit 4a3d323

Please sign in to comment.