Skip to content

Commit

Permalink
Merge pull request #1 from lablabs/hostnetwork-topologyspread
Browse files Browse the repository at this point in the history
feat: topologySpreadConstraints and hostNetwork features
  • Loading branch information
katapultcloud authored Jul 17, 2024
2 parents fe9e930 + 737ee6a commit 49ea15b
Show file tree
Hide file tree
Showing 20 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/helm-lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
check-latest: true

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.4.0
uses: helm/chart-testing-action@v2.6.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: v1.20.1
version: v1.20.2

# 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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ imagePullSecrets:
securityContext:
{{- toYaml . | trim | nindent 2 }}
{{- end }}
hostNetwork: {{ .Values.hostNetwork }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | trim | nindent 2 }}
{{- end }}
{{- with .Values.initContainers }}
initContainers:
{{- if eq (typeOf .) "string" }}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

# -- Set hostNetwork for pod
hostNetwork: false

service:
# -- Service type to provision. Can be NodePort, ClusterIP or LoadBalancer
type: ClusterIP
Expand Down Expand Up @@ -207,3 +210,6 @@ tolerations: []

# -- Affinity for pod assignment
affinity: {}

# -- Topology Spread Constraints for pod assignment
topologySpreadConstraints: []

0 comments on commit 49ea15b

Please sign in to comment.