microsoft / aroworkshop

Azure Red Hat OpenShift workshop
Creative Commons Attribution 4.0 International
58 stars 123 forks source link

CrashLoopBackoff when deploying helm chart for ASO in blob storage section #119

Open hupiper opened 6 months ago

hupiper commented 6 months ago

I followed the prereqs and ran this command:

$ helm upgrade --install --devel aso2 aso2/azure-service-operator \
--create-namespace \ --namespace=azureserviceoperator-system \ --set azureSubscriptionID=$AZURE_SUBSCRIPTION_ID \ --set azureTenantID=$AZ_TENANT_ID \ --set azureClientID=$SERVICE_PRINCIPAL_CLIENT_ID \ --set azureClientSecret=$SERVICE_PRINCIPAL_CLIENT_SECRET

Release "aso2" does not exist. Installing it now. W0326 14:14:00.121563 6102 warnings.go:70] would violate PodSecurity "restricted:v1.24": unrestricted capabilities (containers "manager", "kube-rbac-proxy" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "manager", "kube-rbac-proxy" must set securityContext.runAsNonRoot=true), seccompProfile (pod or containers "manager", "kube-rbac-proxy" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost") NAME: aso2 LAST DEPLOYED: Tue Mar 26 14:13:55 2024 NAMESPACE: azureserviceoperator-system STATUS: deployed REVISION: 1 TEST SUITE: None

I get this error message in the logs of the azureserviceoperator-controller-manager:

I0326 19:15:09.669459 1 manager.go:171] "msg"="Goal CRDs" "count"=199 "logger"="controllers" I0326 19:15:09.669497 1 manager.go:172] "msg"="Existing CRDs" "count"=0 "logger"="controllers" E0326 19:15:09.669914 1 setup.go:188] "msg"="failed to apply CRDs" "error"="No existing CRDs in cluster and no --crd-pattern specified" "logger"="setup"