Skip to content

Commit

Permalink
Update testing nm charts
Browse files Browse the repository at this point in the history
Signed-off-by: Cooper Tseng <[email protected]>
  • Loading branch information
brandboat committed Jan 7, 2025
1 parent 4cf513e commit 6799d80
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 9 deletions.
23 changes: 23 additions & 0 deletions charts/harvester-node-manager/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
4 changes: 2 additions & 2 deletions charts/harvester-node-manager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.0
version: 0.0.0-dev

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v0.3.0
appVersion: "v0.1.1"

maintainers:
- name: harvester
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ spec:
type: object
spec:
properties:
longhornConfig:
properties:
enableV2DataEngine:
type: boolean
type: object
ntpConfigs:
properties:
ntpServers:
Expand Down
14 changes: 10 additions & 4 deletions charts/harvester-node-manager/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ spec:
securityContext:
privileged: true
volumeMounts:
- mountPath: /sys/kernel/mm/ksm
name: ksm
- mountPath: /sys/kernel/mm
name: mm
readOnly: false
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /host/proc
name: proc
readOnly: true
Expand All @@ -57,9 +60,12 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: ksm
- name: mm
hostPath:
path: /sys/kernel/mm
- name: modules
hostPath:
path: /sys/kernel/mm/ksm
path: /lib/modules
- name: proc
hostPath:
path: /proc
Expand Down
6 changes: 3 additions & 3 deletions charts/harvester-node-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# Declare variables to be passed into your templates.
image:
repository: rancher/harvester-node-manager
pullPolicy: IfNotPresent
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: ""
tag: "master-head"

resources:
limits:
Expand All @@ -28,4 +28,4 @@ webhook:
image:
repository: rancher/harvester-node-manager-webhook
pullPolicy: Always
tag: "v0.3.0"
tag: "master-head"

0 comments on commit 6799d80

Please sign in to comment.