crossplane-contrib / provider-pagerduty

Apache License 2.0
13 stars 13 forks source link

`spec.managementPolicies` is set to a non-default value but the feature is not enabled: [Observe] #33

Closed jleni closed 10 months ago

jleni commented 1 year ago

Similar issue as https://github.com/crossplane-contrib/provider-pagerduty/issues/28

Installed provider

apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
  name: provider-pagerduty
spec:
  package: xpkg.upbound.io/crossplane-contrib/provider-pagerduty:v0.6.1

(also credentials, etc.)

Then something simple as:

apiVersion: user.pagerduty.crossplane.io/v1alpha1
kind: User
metadata:
  name: test
  annotations:
    name: user-test
    crossplane.io/external-name: user-test
spec:
  forProvider: {}
  managementPolicies: ["Observe"]

Error message shows:

`spec.managementPolicies` is set to a non-default value but the feature is not enabled: [Observe]
haarchri commented 1 year ago

you need to enable the feature via ControllerConfig or RuntimeConfig