Helm Chart to deploy demo applications in Openshift
Property | Description | Example |
---|---|---|
global.nameOverride | Override application Name | newName |
runtime | Runtime OCP topology label | quarkus |
image.name | Application image | openshift/appName |
image.tag | Application image tag | 1.0.0 |
deploy.replicas | Number of pod replicas | 1 |
deploy.resources | Application limit and requests |
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi |
deploy.ports | Application exposed ports |
- name: http
port: 8080
targetPort: 8080
protocol: TCP |
deploy.livenessProbe | Application liveness prove |
failureThreshold: 3
httpGet:
path: /q/health/live
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1 |
deploy.readiness | Application readiness prove |
failureThreshold: 3
httpGet:
path: /q/health/ready
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1 |
deploy.env | Application environment variables |
- name: VAR_NAME
value: var-value |
deploy.route.enabled | Expose application using a route | true |
deploy.route.targetPort | Route target port | http |
deploy.route.tls.enabled | TLS route | false |
oc adm policy add-cluster-role-to-user self-provisioner -z pipeline -n cicd