Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DanukaPraneeth/eb7823cce200e428efcc287bfa4fb52f to your computer and use it in GitHub Desktop.
Save DanukaPraneeth/eb7823cce200e428efcc287bfa4fb52f to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
 name: {{unique resource name}}
  namespace: {{name space of the micro service}}
annotations:
konghq.com/strip-path: "false"
konghq.com/methods: 'GET, POST'
konghq.com/plugins: '{plugin 1}, {plugin 2}'
konghq.com/protocols: https
konghq.com/https-redirect-status-code: 302
spec:
 rules:
 - http:
  paths:
  - path: /{{context path}}
  backend:
  serviceName: {{OpenShift service name}}
  servicePort: {{OpenShift service port}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment