Skip to content

Commit

Permalink
Node selector changes for aks (#18)
Browse files Browse the repository at this point in the history
* Node selector changes for aks

* chart version updated
  • Loading branch information
aniket2710 authored Mar 30, 2022
1 parent 6dd654e commit d2d5bec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The following table lists the required ZCSPM configuration parameters along with
| `clusterHosting` | Kubernetes Cluster hosting to use | `AKS` | `Yes` |
| `zcspmEnvironment` | ZCSPM environment to use | `prod` | `No` |
| `images.zcspmAgentImage.repository` | Container image to use | `cloudneeticorp/zcspm-agent` | `No` |
| `images.zcspmAgentImage.tag` | Container image tag to deploy | `2.13` | `No` |
| `images.zcspmAgentImage.tag` | Container image tag to deploy | `2.14` | `No` |
| `images.pullPolicy` | Container pull policy | `Always` | `No` |
| `cronjob.schedule` | Schedule for the CronJob | `0 12 * * *` | `No` |
| `cronjob.concurrencyPolicy` | `Allow|Forbid|Replace` concurrent jobs | `Forbid` | `No` |
Expand Down
4 changes: 2 additions & 2 deletions charts/zcspm-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ 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.12.0
version: 0.13.0

# 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.
appVersion: "2.13"
appVersion: "2.14"
3 changes: 3 additions & 0 deletions charts/zcspm-agent/templates/zcspm-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ spec:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
{{ else if eq "AKS" .Values.clusterHosting }}
nodeSelector:
kubernetes.io/os: linux
{{ end }}
restartPolicy: OnFailure
initContainers:
Expand Down

0 comments on commit d2d5bec

Please sign in to comment.