Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
f2calv committed Jun 25, 2024
1 parent d90c9e4 commit 6d4d328
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions charts/multi-arch-container-dotnet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if hasKey .Values "serviceAccountName" }}
serviceAccountName: {{ include "multi-arch-container-dotnet.serviceAccountName" . }}
{{- end }}
{{- if and (hasKey .Values "podSecurityContext") (.Values.podSecurityContext) }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
Expand Down
9 changes: 5 additions & 4 deletions charts/multi-arch-container-dotnet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fullnameOverride: ""

serviceAccount:
# Specifies whether a service account should be created
create: true
create: false
# Automatically mount a ServiceAccount's API credentials?
automount: true
# Annotations to add to the service account
Expand All @@ -39,9 +39,10 @@ securityContext: {}
# runAsNonRoot: true
# runAsUser: 1000

service:
type: ClusterIP
port: 80
# service:
# type: ClusterIP
# port: 80
# containerPort: 8080

ingress:
enabled: false
Expand Down

0 comments on commit 6d4d328

Please sign in to comment.