diff --git a/README.md b/README.md index c276c99..65e0ee6 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,7 @@ kubectl config current-context ## Install SpinKube ```bash -helm install spinkube . - -# wait for the pods to be ready - -kubectl apply -f spin-operator.shim-executor.yaml +helm install --wait spinkube . ``` ## Deploy a Spin App diff --git a/spin-executor.post-install-job.yaml b/spin-executor.post-install-job.yaml deleted file mode 100644 index a6c9618..0000000 --- a/spin-executor.post-install-job.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# https://github.com/jpflueger/spinkube-oneclick/blob/main/templates/shimexecutor-post-install-job.yaml -apiVersion: batch/v1 -kind: Job -metadata: - name: "{{ .Release.Name }}-post-install" - labels: - app.kubernetes.io/managed-by: {{ .Release.Service | quote }} - app.kubernetes.io/instance: {{ .Release.Name | quote }} - app.kubernetes.io/version: {{ .Chart.AppVersion }} - helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - annotations: - "helm.sh/hook": post-install - "helm.sh/hook-weight": "-5" - "helm.sh/hook-delete-policy": hook-succeeded -spec: - template: - metadata: - name: "{{ .Release.Name }}" - labels: - app.kubernetes.io/managed-by: {{ .Release.Service | quote }} - app.kubernetes.io/instance: {{ .Release.Name | quote }} - helm.sh/chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" - spec: - restartPolicy: Never - containers: - - name: post-install-job - image: "bitnami/kubectl:1.30.0" - imagePullPolicy: IfNotPresent - command: ["/bin/sh", "-c"] - args: - - |- - cat <