Skip to content

Commit

Permalink
chore: update schema & values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed Jun 27, 2024
1 parent 6142c23 commit ac633e0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
8 changes: 4 additions & 4 deletions chart/tests/coredns-configmap_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ tests:
nodeSelector:
kubernetes.io/os: linux
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
- labelSelector:
matchLabels:
k8s-app: kube-dns
maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
containers:
- name: coredns
image: {{.IMAGE}}
Expand Down
12 changes: 6 additions & 6 deletions chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,6 @@
"type": "integer",
"description": "Replicas is the amount of coredns pods to run."
},
"topologySpreadConstraints": {
"items": true,
"type": "array",
"description": "TopologySpreadConstraints are the topology spread constraints for the CoreDNS pod."
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
Expand Down Expand Up @@ -591,6 +586,11 @@
},
"type": "object",
"description": "Labels are extra labels for this resource."
},
"topologySpreadConstraints": {
"items": true,
"type": "array",
"description": "TopologySpreadConstraints are the topology spread constraints for the CoreDNS pod."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -3164,4 +3164,4 @@
"additionalProperties": false,
"type": "object",
"description": "Config is the vCluster config."
}
}
13 changes: 7 additions & 6 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -492,13 +492,14 @@ controlPlane:
requests:
cpu: 20m
memory: 64Mi
# TopologySpreadConstraints are the topology spread constraints for the CoreDNS pod.
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
k8s-app: kube-dns
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
k8s-app: kube-dns

# Service defines options for vCluster service deployed by Helm.
service:
Expand Down

0 comments on commit ac633e0

Please sign in to comment.