diff --git a/charts/platform/README.md b/charts/platform/README.md index 6058669..d0f4c90 100644 --- a/charts/platform/README.md +++ b/charts/platform/README.md @@ -1,6 +1,6 @@ # platform -![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: nightly](https://img.shields.io/badge/AppVersion-nightly-informational?style=flat-square) +![Version: 0.5.0](https://img.shields.io/badge/Version-0.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: nightly](https://img.shields.io/badge/AppVersion-nightly-informational?style=flat-square) A Helm Chart for OpenTDF Platform @@ -252,6 +252,7 @@ realms: | envFrom | list | `[]` | Environment variables from a configmap or secret | | extraEnv | list | `[]` | Extra environment variables to add to the container | | fullnameOverride | string | `""` | Overrides the generated fullname | +| hostAliases | list | `[]` | Host Alias entries to add to pods | | image.pullPolicy | string | `"IfNotPresent"` | The image tag to pull policy | | image.repository | string | `"registry.opentdf.io/platform"` | The image repository to pull from | | image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. | diff --git a/charts/platform/templates/deployment.yaml b/charts/platform/templates/deployment.yaml index 5c9fa29..b17fef8 100644 --- a/charts/platform/templates/deployment.yaml +++ b/charts/platform/templates/deployment.yaml @@ -30,6 +30,10 @@ spec: serviceAccountName: {{ include "chart.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + {{- if .Values.hostAliases }} + hostAliases: + {{- toYaml .Values.hostAliases | nindent 8 }} + {{- end }} containers: - name: {{ .Chart.Name }} args: diff --git a/charts/platform/values.yaml b/charts/platform/values.yaml index 23124f9..1efaeab 100644 --- a/charts/platform/values.yaml +++ b/charts/platform/values.yaml @@ -36,6 +36,15 @@ podAnnotations: {} # -- Extra labels to add to the pod podLabels: {} +# -- Host Alias entries to add to pods +hostAliases: [] + # - ip: 10.0.0.1 + # hostnames: + # - sharepoint.foo.lab + # - ip: 127.0.0.1 + # hostnames: + # - service.local.lab + # -- The pod security context podSecurityContext: {}