mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 14:25:22 +00:00
Fix validation on CRD yamls
Signed-off-by: Carlisia <carlisia@vmware.com>
This commit is contained in:
1182
design/CLI/PoC/base/CRDs.yaml
Normal file
1182
design/CLI/PoC/base/CRDs.yaml
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,7 @@ kind: Kustomization
|
|||||||
|
|
||||||
resources:
|
resources:
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
|
- CRDs.yaml
|
||||||
- backupstoragelocations.yaml
|
- backupstoragelocations.yaml
|
||||||
- volumesnapshotlocations.yaml # including so the velero server can run
|
- volumesnapshotlocations.yaml # including so the velero server can run
|
||||||
- resticrepository.yaml # including so the velero server can runl
|
- resticrepository.yaml # including so the velero server can runl
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ bases:
|
|||||||
|
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
- aws-plugin.yaml # this patches the Velero deployment
|
- aws-plugin.yaml # this patches the Velero deployment
|
||||||
- azure-plugin.yaml # this patches the Velero deployment
|
# - azure-plugin.yaml # this patches the Velero deployment
|
||||||
|
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
|
|||||||
@@ -310,7 +310,13 @@ Note: actual `yaml` file names are defined by the user.
|
|||||||
|
|
||||||
`velero plugin add velero/velero-plugin-for-microsoft-azure:v1.0.1` - overlay/plugins/azure-plugin.yaml
|
`velero plugin add velero/velero-plugin-for-microsoft-azure:v1.0.1` - overlay/plugins/azure-plugin.yaml
|
||||||
|
|
||||||
These files can be deployed using the included kustomize setup by running `k apply -k design/CLI/PoC/overlays/plugins/`.
|
These resources can be deployed/deleted using the included kustomize setup and running:
|
||||||
|
|
||||||
|
```
|
||||||
|
kubectl apply -k design/CLI/PoC/overlays/plugins/
|
||||||
|
|
||||||
|
kubectl delete -k design/CLI/PoC/overlays/plugins/
|
||||||
|
```
|
||||||
|
|
||||||
Note: All CRDs, including the `ResticRepository`, may continue to be deployed at startup as it is now, or together with their respective instantiation.
|
Note: All CRDs, including the `ResticRepository`, may continue to be deployed at startup as it is now, or together with their respective instantiation.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user