-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
++ add pacthes for cdi and new service for cdi-api webhooks
++ rename kubevir kinds Signed-off-by: Ivan Mikheykin <[email protected]>
- Loading branch information
Showing
15 changed files
with
469 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
|
||
kubectl delete -n d8-virtualization kubevirts.x.virtualization.deckhouse.io kubevirt | ||
kubectl delete cdis.x.virtualization.deckhouse.io cdi | ||
kubectl wait --for=delete cdis.x.virtualization.deckhouse.io cdi --timeout=180s | ||
kubectl wait --for=delete -n d8-virtualization kubevirts.x.virtualization.deckhouse.io kubevirt --timeout=180s | ||
KUBEVIRT_RESOURCE="dvpinternalkubevirts.internal.virtualization.deckhouse.io" | ||
echo "Delete Kubevirt configuration ..." | ||
kubectl delete -n d8-virtualization ${KUBEVIRT_RESOURCE} kubevirt || true | ||
echo "Wait for Kubevirt deletion ..." | ||
kubectl wait --for=delete -n d8-virtualization ${KUBEVIRT_RESOURCE} kubevirt --timeout=180s || true | ||
|
||
CDI_RESOURCE="dvpinternalcdis.internal.virtualization.deckhouse.io" | ||
echo "Delete CDI configuration ..." | ||
kubectl delete ${CDI_RESOURCE} cdi || true | ||
echo "Wait for CDI deletion ..." | ||
kubectl wait --for=delete ${CDI_RESOURCE} cdi --timeout=180s || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: cdi-api-webhook-proxy | ||
namespace: d8-{{ .Chart.Name }} | ||
{{- include "helm_lib_module_labels" (list . (dict "app" "cdi-apiserver")) | nindent 2 }} | ||
spec: | ||
ports: | ||
- port: 443 | ||
protocol: TCP | ||
targetPort: 24192 | ||
selector: | ||
cdi.kubevirt.io: cdi-apiserver | ||
sessionAffinity: None | ||
type: ClusterIP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.