Fix up sync-crls script and add to Dockerfile.

- Fix some python formatting and import issues
- Fix dockerfile to include sync-crls script
- Adjust sync-crls script to use paths and CLI tools available in the
  Docker container
This commit is contained in:
dandds
2019-08-05 15:32:09 -04:00
parent b1cf89051a
commit 44141c002d
4 changed files with 10 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
apiVersion: batch/v1
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: crls
@@ -9,14 +9,15 @@ spec:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: crls
image: $CONTAINER_IMAGE
image: pwatat.azurecr.io/atat:8f1c8b5633ca70168837c885010e7d66d93562dc
command: [
"/bin/sh", "-c"
]
args: [
"/opt/atat/atst/script/sync-crls"
"/opt/atat/atst/script/sync-crls",
]
envFrom:
- configMapRef: