diff --git a/README.md b/README.md index 031458a..d33a88e 100644 --- a/README.md +++ b/README.md @@ -256,18 +256,9 @@ Additionally, one can run a [CronJob](http://kubernetes.io/docs/user-guide/cron- ```shell kubectl create -f es-curator-config.yaml +kubectl create -f es-curator.yaml ``` -* Kubernetes 1.7 - ```shell - kubectl create -f es-curator_v2alpha1.yaml - ``` - -* Kubernetes 1.8+: - ```shell - kubectl create -f es-curator_v1beta1.yaml - ``` - Please, confirm the job has been created. ```shell diff --git a/es-curator_v1beta1.yaml b/es-curator.yaml similarity index 100% rename from es-curator_v1beta1.yaml rename to es-curator.yaml diff --git a/es-curator_v2alpha1.yaml b/es-curator_v2alpha1.yaml deleted file mode 100644 index 4051635..0000000 --- a/es-curator_v2alpha1.yaml +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: batch/v2alpha1 -kind: CronJob -metadata: - name: curator -spec: - schedule: 1 0 * * * - jobTemplate: - spec: - template: - spec: - containers: - - name: curator - image: quay.io/pires/docker-elasticsearch-curator:5.5.1 - args: - - --config - - /etc/config/config.yml - - /etc/config/action_file.yml - volumeMounts: - - name: config-volume - mountPath: /etc/config - volumes: - - name: config-volume - configMap: - name: curator-config - restartPolicy: OnFailure