Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Add support to admission server to use hostNetwork
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Perez-Pujol <[email protected]>
  • Loading branch information
alexppg authored and kmova committed Jul 19, 2020
1 parent 7cddfae commit 7a5f876
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openebs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
version: 1.12.1
version: 1.12.2
name: openebs
appVersion: 1.12.0
description: Containerized Storage for Containers
Expand Down
1 change: 1 addition & 0 deletions charts/openebs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ The following table lists the configurable parameters of the OpenEBS chart and t
| `webhook.image` | Image for admission server | `openebs/admission-server` |
| `webhook.imageTag` | Image Tag for admission server | `1.12.0` |
| `webhook.replicas` | Number of admission server Replicas | `1` |
| `webhook.hostNetwork` | Use hostNetwork in admission server | `false` |
| `snapshotOperator.enabled` | Enable Snapshot Provisioner | `true` |
| `snapshotOperator.provisioner.image` | Image for Snapshot Provisioner | `openebs/snapshot-provisioner` |
| `snapshotOperator.provisioner.imageTag` | Image Tag for Snapshot Provisioner | `1.12.0` |
Expand Down
3 changes: 3 additions & 0 deletions charts/openebs/templates/deployment-admission-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ spec:
openebs.io/version: {{ .Values.release.version }}
openebs.io/component-name: admission-webhook
spec:
{{- if .Values.webhook.hostNetwork }}
hostNetwork: true
{{- end }}
{{- if .Values.webhook.nodeSelector }}
nodeSelector:
{{ toYaml .Values.webhook.nodeSelector | indent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/openebs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ webhook:
nodeSelector: {}
tolerations: []
affinity: {}
hostNetwork: false

jiva:
image: "openebs/jiva"
Expand Down

0 comments on commit 7a5f876

Please sign in to comment.