Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion helm/cfssl/templates/cfssl-deployment.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
{{- $appName := index .Values "apps" "cfssl" }}
Expand Down Expand Up @@ -34,6 +34,13 @@ spec:
readOnly: true
image: registry.keypr.com/{{ .Values.imageName }}:{{ .Values.imageVersion }}
imagePullPolicy: {{ .Values.imagePullPolicy }}
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 25m
memory: 64Mi
command: [ "cfssl", "serve", "-ca", "/etc/cfssl-config/ca-cert", "-ca-key", "/etc/cfssl-config/ca-key", "-config", "/etc/cfssl-config/ca-config", "-port", "8888", "-address", "0.0.0.0" ]
ports:
- containerPort: {{ .Values.defaultContainerPort }}