Skip to content

Instantly share code, notes, and snippets.

@rainest
Created April 8, 2022 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rainest/50c6644331b83790e32243d73c4170c7 to your computer and use it in GitHub Desktop.
Save rainest/50c6644331b83790e32243d73c4170c7 to your computer and use it in GitHub Desktop.
# This tests the following unrelated aspects of Ingress Controller
# - ingressController deploys with a database
# - stream listens work
# - a mixture of controller, Kong, and shared volumes successfully mount
ingressController:
enabled: true
installCRDs: false
env:
anonymous_reports: "false"
customEnv:
TZ: "Europe/Berlin"
postgresql:
enabled: true
auth:
username: kong
password: kong
env:
anonymous_reports: "off"
database: "postgres"
# - ingress resources are created without hosts
admin:
type: NodePort
ingress:
enabled: true
hosts: []
path: /
proxy:
type: NodePort
ingress:
enabled: true
hostname: proxy.kong.example
annotations: {}
path: /
# - add stream listens
#stream:
#- containerPort: 9000
# servicePort: 9000
# parameters: []
#- containerPort: 9001
# servicePort: 9001
# parameters:
# - ssl
stream:
- protocol: TCP
containerPort: 1521
servicePort: 1521
hostPort: 25432
# - PDB is enabled
podDisruptionBudget:
enabled: true
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment