aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-26 20:44:02 +0100
committerGravatar Joe Banks <[email protected]>2024-07-26 20:44:02 +0100
commit81e791175c2d49e5a1c936a76af63683708cf572 (patch)
treef4481a14193de2b53280c3b133d3af8ae303aee4
parentReflect IPA CA to bots namespace (diff)
Mount IPA CA to King Arthur
-rw-r--r--kubernetes/namespaces/bots/king-arthur/deployment.yaml41
1 files changed, 23 insertions, 18 deletions
diff --git a/kubernetes/namespaces/bots/king-arthur/deployment.yaml b/kubernetes/namespaces/bots/king-arthur/deployment.yaml
index 16f3a2c..728d525 100644
--- a/kubernetes/namespaces/bots/king-arthur/deployment.yaml
+++ b/kubernetes/namespaces/bots/king-arthur/deployment.yaml
@@ -17,24 +17,26 @@ spec:
spec:
serviceAccountName: king-arthur
containers:
- - name: king-arthur
- image: ghcr.io/python-discord/king-arthur:latest
- imagePullPolicy: Always
- resources:
- requests:
- cpu: 600m
- memory: 500Mi
- limits:
- cpu: 800m
- memory: 800Mi
- envFrom:
- - secretRef:
- name: king-arthur-env
- securityContext:
- readOnlyRootFilesystem: true
- volumeMounts:
- - name: tmpfs
- mountPath: /tmp
+ - name: king-arthur
+ image: ghcr.io/python-discord/king-arthur:latest
+ imagePullPolicy: Always
+ resources:
+ requests:
+ cpu: 600m
+ memory: 500Mi
+ limits:
+ cpu: 800m
+ memory: 800Mi
+ envFrom:
+ - secretRef:
+ name: king-arthur-env
+ securityContext:
+ readOnlyRootFilesystem: true
+ volumeMounts:
+ - name: tmpfs
+ mountPath: /tmp
+ - name: ipa-ca-cert
+ mountPath: /opt/ipa
securityContext:
fsGroup: 2000
runAsUser: 1000
@@ -43,3 +45,6 @@ spec:
- name: tmpfs
emptyDir:
medium: Memory
+ - name: ipa-ca-cert
+ configMap:
+ name: ipa-ca-configmap