Skip to content

Commit

Permalink
Merge pull request #9 from Leaseweb/develop
Browse files Browse the repository at this point in the history
Helm chart: Set priorityClassName, rename image
  • Loading branch information
hrak authored Mar 13, 2024
2 parents e075ccd + d0bc4d7 commit 42cee23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ test:
@(echo "gofmt -l"; FMTFILES="$$(gofmt -l .)"; if test -n "$${FMTFILES}"; then echo "Go files that need to be reformatted (use 'go fmt'):\n$${FMTFILES}"; exit 1; fi)

docker:
docker build . -t leaseweb/cloudstack-kubernetes-provider:${GIT_COMMIT_SHORT}
docker tag leaseweb/cloudstack-kubernetes-provider:${GIT_COMMIT_SHORT} leaseweb/cloudstack-kubernetes-provider:latest
docker build . -t ghcr.io/leaseweb/cloudstack-kubernetes-provider:${GIT_COMMIT_SHORT}
docker tag ghcr.io/leaseweb/cloudstack-kubernetes-provider:${GIT_COMMIT_SHORT} ghcr.io/leaseweb/cloudstack-kubernetes-provider:latest
ifneq (${GIT_IS_TAG},NOT_A_TAG)
docker tag leaseweb/cloudstack-kubernetes-provider:${GIT_COMMIT_SHORT} leaseweb/cloudstack-kubernetes-provider:${GIT_TAG}
docker tag ghcr.io/leaseweb/cloudstack-kubernetes-provider:${GIT_COMMIT_SHORT} ghcr.io/leaseweb/cloudstack-kubernetes-provider:${GIT_TAG}
endif
3 changes: 2 additions & 1 deletion charts/cloud-controller-manager/templates/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ spec:
hostNetwork: {{ .Values.hostNetwork}}
{{- if .Values.hostNetwork }}
dnsPolicy: {{ .Values.dnsPolicy}}
{{- end }} {{- if .Values.priorityClassName }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- if or (.Values.extraVolumes) (.Values.secret.enabled) }}
Expand Down
5 changes: 2 additions & 3 deletions charts/cloud-controller-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ commonAnnotations: {}

# Image repository name and tag
image:
repository: "ghcr.io/leaseweb/cloud-controller-manager"
repository: "ghcr.io/leaseweb/cloudstack-kubernetes-provider"
tag: "1.0.0"

# Additional containers which are run before the app containers are started.
Expand Down Expand Up @@ -118,10 +118,9 @@ cloudConfig:
# for description of individual verbosity levels.
logVerbosityLevel: 2


## Pod priority settings
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
priorityClassName:
priorityClassName: system-node-critical

# The following three volumes are required to use all CCM controllers,
# but might not be needed if you just use a specific controller
Expand Down

0 comments on commit 42cee23

Please sign in to comment.