Skip to content

Commit

Permalink
docs: Add Kustomize 4.5.5 remote OpenAPI data functionality
Browse files Browse the repository at this point in the history
Signed-off-by: Hyeonmin Park <[email protected]>
  • Loading branch information
KENNYSOFT committed Aug 21, 2022
1 parent 69fd80c commit e0e08d8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/features/kustomize.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ resources:
- rollout-canary.yaml

openapi:
path: <path-to-directory>/rollout_cr_schema.json
path: <path-to-directory>/rollout_cr_schema.json

patchesStrategicMerge:
- |-
Expand All @@ -83,3 +83,10 @@ The OpenAPI data is auto-generated and defined in this [file](https://github.com
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).
- With Kustomize 4.5.5 it is possible to reference the OpenAPI data directly from a remote resource:
```yaml
openapi:
path: https://argoproj.github.io/argo-rollouts/features/kustomize/rollout_cr_schema.json
```

0 comments on commit e0e08d8

Please sign in to comment.