Maintain CRD folder to keep track of Schemas (#1938)

Adds CRD Yaml files needed for upgrade as the OpenAPISchema validation has been added.
This commit is contained in:
Harsh Thakur
2021-04-27 17:20:03 +05:30
committed by GitHub
parent 1cd8f4d4f7
commit 0d93c109fb
15 changed files with 693 additions and 251 deletions
+2 -3
View File
@@ -65,12 +65,11 @@ Options:
zap.Error(err))
}
if !crdBackedClient.IsFissionReInstall() {
installed := crdBackedClient.IsFissionReInstall()
if !installed {
logger.Info("nothing to do since CRDs are not present on the cluster")
return
}
crdBackedClient.VerifyFunctionSpecReferences()
crdBackedClient.RemoveClusterAdminRolesForFissionSAs()
crdBackedClient.SetupRoleBindings()
}