Skip to content

Commit 54d112b

Browse files
committed
- combine hooks into one, use template and values to create secret
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
1 parent 2f31b9e commit 54d112b

File tree

12 files changed

+728
-1238
lines changed

12 files changed

+728
-1238
lines changed

images/hooks/cmd/virtualization-module-hooks/register.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,16 @@ package main
1919
import (
2020
_ "hooks/pkg/hooks/ca-discovery"
2121
_ "hooks/pkg/hooks/copy-custom-certificate"
22-
_ "hooks/pkg/hooks/create-generic-vmclass"
2322
_ "hooks/pkg/hooks/discovery-clusterip-service-for-dvcr"
2423
_ "hooks/pkg/hooks/discovery-workload-nodes"
25-
_ "hooks/pkg/hooks/drop-helm-labels-from-generic-vmclass"
2624
_ "hooks/pkg/hooks/drop-openshift-labels"
2725
_ "hooks/pkg/hooks/generate-secret-for-dvcr"
26+
_ "hooks/pkg/hooks/install-vmclass-generic"
2827
_ "hooks/pkg/hooks/migrate-delete-renamed-validation-admission-policy"
2928
_ "hooks/pkg/hooks/migrate-virthandler-kvm-node-labels"
3029
_ "hooks/pkg/hooks/tls-certificates-api"
3130
_ "hooks/pkg/hooks/tls-certificates-api-proxy"
3231
_ "hooks/pkg/hooks/tls-certificates-controller"
3332
_ "hooks/pkg/hooks/tls-certificates-dvcr"
34-
_ "hooks/pkg/hooks/update-module-state"
3533
_ "hooks/pkg/hooks/validate-module-config"
3634
)

images/hooks/pkg/hooks/create-generic-vmclass/hook.go

Lines changed: 0 additions & 167 deletions
This file was deleted.

images/hooks/pkg/hooks/create-generic-vmclass/hook_test.go

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)