Using "valuesOverride" for customizing KOBIL Shift service
Scope here: How to update the KOBIL Shift service section for specific setup and tuning to overwrite service chart embedded parameters.
Here the sample is related to KOBIL Shift metaconfiguration file "values.yaml" and the section for component "IDP"/"idpCore" to load a custom image and set some tuning overwriting internal chart parameter. Doing this by adding the "valuesOverride" section inside the section "idpCore" which is processed by the KOBIL Shift Operator to overwrite parameter in to the loaded Chart.
# -- Configuration for idp-core
idpCore:
enabled: true
repository: https://charts.kobil.com
replicaCount: 1
This needs to be updated with "valuesOverride" configuration. It is important to honor the sub-chart parameter hierarchy exactly to allow KOBIL Shift operator processing to effectively honor the customization. In case the hierarchy is not in sync to the sub-charts the customization in not effectively honored:
# -- Configuration for idp-core
idpCore:
enabled: true
# loading specific idp-core chart settings overriding defaults
valuesOverride:
# mainContainer related parameter updates under hierarchy "mainContainer" (see sub-chart idp-core <root>/values.yaml)
mainContainer:
image:
idp:
# loading a specific custom ipd core image regardless the idp-core chart version defaults
repository: custom/specific/idp/core
tag: "3.2.1"
# loading modified k8s probe settings
livenessProbe:
initialDelaySeconds: 180
readinessProbe:
initialDelaySeconds: 240
ports:
http:
target: 8888
# loading modified k8s pod resources for production scale workload forcing QOS Guaranteed (request == limit)
resources:
requests:
memory: "5Gi"
cpu: "3"
limits:
memory: "5Gi"
cpu: "3"
replicaCount: 2