Azure / open-service-broker-azure

The Open Service Broker API Server for Azure Services
https://osba.sh
MIT License
248 stars 100 forks source link

adminAccountSettings - unrecognized field #716

Closed ivanov-aleksander closed 5 years ago

ivanov-aleksander commented 5 years ago

I tried create ServiceInstance of azure-postgresql-10 and specify adminAccountSettings like adminUsername and adminPassword but I faced an error. "osba": Status: 400; ErrorMessage: ValidationError; Description: The value provided for adminAccountSettings is invalid: unrecognized field; ResponseError: "

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
  name: sonarqube-postgresql
spec:
  clusterServiceClassExternalName: azure-postgresql-10
  clusterServicePlanExternalName: general-purpose
  parameters:
    adminAccountSettings:
      adminPassword: somepassword
      adminUsername: sonaruser
    location: westeurope
    resourceGroup: test
    firewallRules:
    - startIPAddress: "0.0.0.0"
      endIPAddress: "255.255.255.255"
      name: "AllowAll"
norshtein commented 5 years ago

Which version of OSBA you're using? Specifying adminAccountSettings is a new feature in v1.8.2, please update your OSBA if you're using a old version.

ivanov-aleksander commented 5 years ago

Thanks @norshtein , I have updated osba and it solves this issue. But I faced another issue. I have created PR to fix it. Could you please review it.