Skip to content

Commit

Permalink
Merge pull request #1275 from swimablefish/main
Browse files Browse the repository at this point in the history
Make the kwok chart support `hostNetwork` to avoid the issue #819
  • Loading branch information
k8s-ci-robot authored Dec 31, 2024
2 parents 63d5344 + 96ba4e9 commit f53b471
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kwok/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ maintainers:
- name: wzshiming
email: [email protected]
appVersion: v0.6.1
version: 0.1.1
version: 0.1.2
1 change: 1 addition & 0 deletions charts/kwok/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ The following table lists the configurable parameters of the kwok chart and thei
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| fullnameOverride | string | `"kwok-controller"` | Override the `fullname` of the chart. |
| hostNetwork | bool | `false` | Change `hostNetwork` to `true` if you want to deploy in a kind cluster. |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. |
| image.repository | string | `"registry.k8s.io/kwok/kwok"` | Image repository. |
| image.tag | string | `""` | Overrides the image tag whose default is {{ .Chart.AppVersion }}. |
Expand Down
1 change: 1 addition & 0 deletions charts/kwok/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
3 changes: 3 additions & 0 deletions charts/kwok/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ affinity: {}

# -- The replica count for Deployment.
replicas: 1

# -- Change `hostNetwork` to `true` if you want to deploy in a kind cluster.
hostNetwork: false

0 comments on commit f53b471

Please sign in to comment.