Skip to main content

Expose Application

In Kubernetes or Openshift you can set the Exposing parameters of your application or microservice.(The ingress and route objects.) This page explains you how.


1. In your manifest repository's main branch, you will find the values.yaml file, it showld be in the following folder structure [environment]/[project]/[application]

2. In the values.yaml file, search for the Expose section, you will find it like this:


## Expose

3. Bellow the section title, add the following configuration and change the values as you need:

## Expose
# Format: [application-name]-[project-name]-[environment].clusterFQDN
# Expose the application: true o false
expose:
# To expose a service: true o false
enabled: true
# To enable TLS termination
tls:
enabled: true
# Enable modsecurity OWASP and limit rating: true or false
security: false
# Enable CORS: true or false
cors: false
# Enable user and password protection: true or false
authPassword: false
# Enable Sticky Sessions
stickySessions: true
# To config CertManager
certmanager:
enabled: false
# Set specific Issuer
issuer: letsencrypt-prod
# Set hostname
#hostname: specific-hostname
# Set Ingress Class name
ingressClassName: nginx
# Add annotations to this Ingress
annotations:
#key: value
# kubernetes.io/ingress.class: external-ingress
# ingress.kubernetes.io/rewrite-target: /
#####

4. Commit and enjoy! ✨