Skip to content

Commit

Permalink
Beter variable location
Browse files Browse the repository at this point in the history
  • Loading branch information
owen thomas committed Dec 5, 2024
1 parent 6697c08 commit 6cf7881
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions step-issuer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ and their default values.
| `image.pullPolicy` | Step Issuer image pull policy | `IfNotPresent` |
| `deployment.args.enableLeaderElection` | Enable k8s controller leader election. | `true` |
| `deployment.args.disableApprovalCheck` | To disable cert-manager approvals on old version of cert-manager. | `false` |
| `deployment.strategy` | To change the deployment strategy. | `{}` |
| `stepIssuer.create` | If we should automatically create a StepIssuer | `false` |
| `stepIssuer.caUrl` | Step Certificates CA URL. This is usually the step certificates service FQDN. | `""` |
| `stepIssuer.caBundle` | Step Certificates root certificate in a single-line base64 string. | `""` |
Expand Down
4 changes: 2 additions & 2 deletions step-issuer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
control-plane: {{ .Values.service.controlPlane }}
{{- include "step-issuer.labels" . | nindent 4 }}
spec:
{{- if .Values.updateStrategy }}
strategy: {{ toYaml .Values.updateStrategy | nindent 4 }}
{{- if .Values.deployment.strategy }}
strategy: {{ toYaml .Values.deployment.strategy | nindent 4 }}
{{- end }}
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
4 changes: 2 additions & 2 deletions step-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ deployment:
enableLeaderElection: true
disableApprovalCheck: false
terminationGracePeriodSeconds: 10
# Strategy used for the deployment
strategy: {}

resources:
limits:
Expand All @@ -54,8 +56,6 @@ service:
podSecurityContext: {}
# fsGroup: 2000

# Strategy used for the deployment
updateStrategy: {}

# security context for container
securityContext:
Expand Down

0 comments on commit 6cf7881

Please sign in to comment.