diff --git a/init/data-pod.yaml b/init/data-pod.yaml index 992fc76..a6d65db 100644 --- a/init/data-pod.yaml +++ b/init/data-pod.yaml @@ -12,17 +12,7 @@ spec: - name: iam-init image: docker.io/ergon/airlock-iam:latest-7.4 imagePullPolicy: IfNotPresent - # TODO: - # Not required anymore with AI-13645 (IAM 7.4) - # With IAM 7.4 no 'command', but 'args: [ "init" ]' - # https://github.com/ergon/airlock-minikube-example/blob/9f56124e767ec630d042ec43b0d8c4ae4b251f89/data/data-pod.yaml - command: - - bash - - -c - - | - if [ ! -d /home/airlock/iam/instances ]; then - /iam_entrypoint init - fi + args: [ "init" ] volumeMounts: - name: data mountPath: /home/airlock/iam/ @@ -39,4 +29,4 @@ spec: volumes: - name: data persistentVolumeClaim: - claimName: data-claim \ No newline at end of file + claimName: data-claim