Code Review
/
ric-plt
/
ric-dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
J release changes
[ric-plt/ric-dep.git]
/
helm
/
infrastructure
/
subcharts
/
kong
/
ci
/
test2-values.yaml
diff --git
a/helm/infrastructure/subcharts/kong/ci/test2-values.yaml
b/helm/infrastructure/subcharts/kong/ci/test2-values.yaml
old mode 100755
(executable)
new mode 100644
(file)
index
735588d
..
ba77b5c
--- a/
helm/infrastructure/subcharts/kong/ci/test2-values.yaml
+++ b/
helm/infrastructure/subcharts/kong/ci/test2-values.yaml
@@
-1,37
+1,79
@@
-# This tests the following unre
al
ted aspects of Ingress Controller
+# This tests the following unre
la
ted aspects of Ingress Controller
# - ingressController deploys with a database
# - ingressController deploys with a database
+# - stream listens work
+# - a mixture of controller, Kong, and shared volumes successfully mount
+# - watchNamespaces is set
+# - the admission webhook is enabled; has the timeout explicitly set
ingressController:
enabled: true
ingressController:
enabled: true
+ admissionWebhook:
+ enabled: true
+ timeoutSeconds: 5
+ env:
+ anonymous_reports: "false"
+ envFrom:
+ - configMapRef:
+ name: env-config
+ customEnv:
+ TZ: "Europe/Berlin"
+ watchNamespaces:
+ - default
postgresql:
enabled: true
postgresql:
enabled: true
- postgresqlUsername: kong
- postgresqlDatabase: kong
- service:
- port: 5432
+ auth:
+ username: kong
+ password: kong
env:
env:
+ anonymous_reports: "off"
database: "postgres"
database: "postgres"
+envFrom:
+- configMapRef:
+ name: env-config
# - ingress resources are created without hosts
admin:
# - ingress resources are created without hosts
admin:
- type: NodePort
ingress:
enabled: true
hosts: []
path: /
proxy:
ingress:
enabled: true
hosts: []
path: /
proxy:
- type: NodePort
ingress:
enabled: true
ingress:
enabled: true
- host
s: []
+ host
name: proxy.kong.example
annotations: {}
path: /
annotations: {}
path: /
- useTLS: true
+# - add stream listens
+ stream:
+ - containerPort: 9000
+ servicePort: 9000
+ parameters: []
+ - containerPort: 9001
+ servicePort: 9001
+ parameters:
+ - ssl
-# - PDB is enabled
-podDisruptionBudget:
- enabled: true
# update strategy
updateStrategy:
type: "RollingUpdate"
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
# update strategy
updateStrategy:
type: "RollingUpdate"
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
+deployment:
+ initContainers:
+ - name: "bash"
+ image: "bash:latest"
+ command: ["/bin/sh", "-c", "true"]
+ resources:
+ limits:
+ cpu: "100m"
+ memory: "64Mi"
+ requests:
+ cpu: "100m"
+ memory: "64Mi"
+
+extraObjects:
+- apiVersion: v1
+ kind: ConfigMap
+ metadata:
+ name: env-config
+ data:
+ test-env: test