Skip to content

Commit

Permalink
code comments addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
m00g3n committed May 29, 2020
1 parent 87d7bf6 commit 8bb8ccd
Showing 1 changed file with 4 additions and 9 deletions.
Expand Up @@ -23,15 +23,10 @@ spec:
mountPath: /etc/crd
readOnly: true
command:
- timeout
- 60s
- bash
- /bin/bash
- -c
- |-
until \
kubectl get crd oauth2clients.hydra.ory.sh \
|| kubectl apply -f /etc/crd/oauth2clients.yaml; \
do sleep 2; done
- |
timeout 60s bash -c 'until kubectl apply -f /etc/crd/oauth2clients.yaml; do sleep 2; done'
volumes:
- name: crd-oauth2clients
configMap:
Expand All @@ -49,4 +44,4 @@ metadata:
"helm.sh/hook-delete-policy": "before-hook-creation"
data:
oauth2clients.yaml: |-
{{.Files.Get "files/crd-oauth2clients.yaml" | printf "%s" | indent 4}}
{{.Files.Get "files/crd-oauth2clients.yaml" | printf "%s" | indent 4}}

0 comments on commit 8bb8ccd

Please sign in to comment.