Skip to content

Commit

Permalink
Merge pull request #88 from Khaos66/master
Browse files Browse the repository at this point in the history
Added nodeSelector value to helm chart
  • Loading branch information
djkormo authored Mar 23, 2024
2 parents 1db23b4 + 48f9723 commit ae5eb47
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/adcs-issuer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ 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: 2.1.0
version: 2.1.1
# 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.
# It is recommended to use it with quotes.
appVersion: "2.1.0"
appVersion: "2.1.1"

7 changes: 6 additions & 1 deletion charts/adcs-issuer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,9 @@ spec:
secret:
defaultMode: 420
secretName: {{ .Values.controllerManager.caCertsSecretName| default "ca-certificates" }}
{{- end }}
{{- end }}

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/adcs-issuer/templates/simulator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,9 @@ spec:
secret:
secretName: {{.Values.simulator.secretCertificateName | default "adcs-sim-certificate-secret" }} # secret for storing ca key

{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}

{{- end }}
2 changes: 1 addition & 1 deletion charts/adcs-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ webhookService:
targetPort: 9443
type: ClusterIP


nodeSelector: {}

# ADCS Simulator

Expand Down

0 comments on commit ae5eb47

Please sign in to comment.