diff --git a/docs/features/kustomize.md b/docs/features/kustomize.md index d585393bdd..4efa4144a0 100644 --- a/docs/features/kustomize.md +++ b/docs/features/kustomize.md @@ -28,7 +28,7 @@ configurations: - https://argoproj.github.io/argo-rollouts/features/kustomize/rollout-transform.yaml ``` -- With Kustomize 4.1.0 kustomize can use kubernetes OpenAPI data to get merge key and patch strategy information about [resource types](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/openapi). For example, given the following rollout: +- With Kustomize 4.5.5 kustomize can use kubernetes OpenAPI data to get merge key and patch strategy information about [resource types](https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/openapi). For example, given the following rollout: ```yaml apiVersion: argoproj.io/v1alpha1 @@ -63,7 +63,7 @@ resources: - rollout-canary.yaml openapi: - path: /rollout_cr_schema.json + path: https://raw.githubusercontent.com/argoproj/argo-schema-generator/main/schema/argo_all_k8s_kustomize_schema.json patchesStrategicMerge: - |- @@ -79,7 +79,7 @@ patchesStrategicMerge: image: nginx ``` -The OpenAPI data is auto-generated and defined in this [file](https://github.com/argoproj/argo-rollouts/blob/master/docs/features/kustomize/rollout_cr_schema.json). +The OpenAPI data is auto-generated and defined in this [file](https://github.com/argoproj/argo-schema-generator/blob/main/schema/argo_all_k8s_kustomize_schema.json). An example kustomize app demonstrating the ability to use OpenAPI data with Rollouts can be seen [here](https://github.com/argoproj/argo-rollouts/blob/master/test/kustomize/rollout). diff --git a/test/kustomize/rollout/kustomization.yaml b/test/kustomize/rollout/kustomization.yaml index cd896b566d..71a3660e3c 100644 --- a/test/kustomize/rollout/kustomization.yaml +++ b/test/kustomize/rollout/kustomization.yaml @@ -43,7 +43,7 @@ images: newTag: v2 openapi: - path: ../../../docs/features/kustomize/rollout_cr_schema.json + path: https://raw.githubusercontent.com/argoproj/argo-schema-generator/main/schema/argo_all_k8s_kustomize_schema.json patchesStrategicMerge: - |-