Skip to content

Commit

Permalink
add nodeSelector to cni-metrics-helper test deployment and update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sushrk committed Jul 28, 2022
1 parent 35eac2d commit 7677471
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/helm/charts/cni-metrics-helper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
image:
repository: 602401143452.dkr.ecr.us-west-2.amazonaws.com/cni-metrics-helper
pullPolicy: Always
tag: "v1.7.10"
tag: "v1.11.2"

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -56,7 +56,8 @@ autoscaling:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

nodeSelector: {}
nodeSelector:
kubernetes.io/os: "linux"

tolerations: []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const (
// Parse optional flags for setting the cni metrics helper image
func init() {
flag.StringVar(&imageRepository, "cni-metrics-helper-image-repo", "602401143452.dkr.ecr.us-west-2.amazonaws.com/cni-metrics-helper", "CNI Metrics Helper Image Repository")
flag.StringVar(&imageTag, "cni-metrics-helper-image-tag", "v1.7.10", "CNI Metrics Helper Image Tag")
flag.StringVar(&imageTag, "cni-metrics-helper-image-tag", "v1.11.2", "CNI Metrics Helper Image Tag")

// Order in which we try fetch the keys and use it as CLUSTER_ID dimension
clusterIDKeys = []string{
Expand Down

0 comments on commit 7677471

Please sign in to comment.