Contains helm templates to deploy openstack
Must define a template named config-map.yaml
that contains
{{- include "nectarlib.configmap" (list . "blazar.configmap") -}}
{{- define "<my-project>.configmap" -}}
data: {}
{{- end -}}
Can add extra config files in here if required. By default will create a .conf and a policy.yaml
Must define a template called <chart-name>-conf
this will be used to create /etc/<chart-name/<chart-name>.conf
Define in your values like:
oslo_policy:
admin_or_cloudadmin: 'role:admin or role:cloud_admin'
...
Must define a template called <chart-name>.vaultAnnotations
that includes all required vault secrets.
Will create a deployment, service and if enabled an ingress and pdb
{{- include "nectarlib.openstack_api.tpl" . -}}
Name | Value |
---|---|
api.port | 5000 |
To define multiple services per openstack project (chart) you can create a values dict per service and pass that in to the template.
{{- include "nectarlib.openstack_worker.tpl" (list $ . .Values.<service>) -}}
Name | Value |
---|---|
.name | "worker" |
Name | Value |
---|---|
.image.repository | |
.command | null |
.replicaCount | 1 |
.pdb.enabled | false |
.pdb.minAvailable | 0 |
.podAffinityPreset | "" |
.podAntiAffinityPreset | soft |
.nodeAffinityPreset.type | "" |
.nodeAffinityPreset.key | "" |
.nodeAffinityPreset.values | [] |
.affinity | {} |
.resources | {} |