mirror of https://github.com/crossplane/docs.git
Adds managedPolicies config enablement (#547)
This commit is contained in:
parent
0d34b4a4e2
commit
44f6912a6e
|
@ -253,10 +253,22 @@ the `managementPolicies` list.
|
||||||
The managed resource `initProvider` option is an alpha feature related to
|
The managed resource `initProvider` option is an alpha feature related to
|
||||||
[managementPolicies]({{<ref "./managed-resources#managementpolicies" >}}).
|
[managementPolicies]({{<ref "./managed-resources#managementpolicies" >}}).
|
||||||
|
|
||||||
|
{{< /hint >}}
|
||||||
|
|
||||||
Enable the `initProvider` in a provider with `--enable-management-policies`
|
Enable the `initProvider` in a provider with `--enable-management-policies`
|
||||||
in a
|
in a
|
||||||
[ControllerConfig]({{<ref "./providers#controller-configuration" >}}).
|
[ControllerConfig]({{<ref "./providers#controller-configuration" >}}) as an
|
||||||
{{< /hint >}}
|
argument in the `spec`.
|
||||||
|
|
||||||
|
```yaml {copy-lines="all"}
|
||||||
|
apiVersion: pkg.crossplane.io/v1alpha1
|
||||||
|
kind: ControllerConfig
|
||||||
|
metadata:
|
||||||
|
name: example-config
|
||||||
|
spec:
|
||||||
|
args:
|
||||||
|
- --enable-management-policies
|
||||||
|
```
|
||||||
|
|
||||||
The
|
The
|
||||||
{{<hover label="initProvider" line="7">}}initProvider{{</hover>}} defines
|
{{<hover label="initProvider" line="7">}}initProvider{{</hover>}} defines
|
||||||
|
@ -891,4 +903,4 @@ Conditions:
|
||||||
Type: LastAsyncOperation
|
Type: LastAsyncOperation
|
||||||
Status: True
|
Status: True
|
||||||
Reason: Success
|
Reason: Success
|
||||||
```
|
```
|
||||||
|
|
|
@ -134,7 +134,7 @@ resource in the Provider.
|
||||||
For example, a AWS VPC object named `my-test-vpc` has the external name
|
For example, a AWS VPC object named `my-test-vpc` has the external name
|
||||||
`vpc-01353cfe93950a8ff`.
|
`vpc-01353cfe93950a8ff`.
|
||||||
|
|
||||||
```shell {copy-lines="1"
|
```shell {copy-lines="1"}
|
||||||
kubectl get vpc
|
kubectl get vpc
|
||||||
NAME READY SYNCED EXTERNAL-NAME AGE
|
NAME READY SYNCED EXTERNAL-NAME AGE
|
||||||
my-test-vpc True True vpc-01353cfe93950a8ff 49m
|
my-test-vpc True True vpc-01353cfe93950a8ff 49m
|
||||||
|
@ -254,10 +254,22 @@ the `managementPolicies` list.
|
||||||
The managed resource `initProvider` option is an alpha feature related to
|
The managed resource `initProvider` option is an alpha feature related to
|
||||||
[managementPolicies]({{<ref "./managed-resources#managementpolicies" >}}).
|
[managementPolicies]({{<ref "./managed-resources#managementpolicies" >}}).
|
||||||
|
|
||||||
|
{{< /hint >}}
|
||||||
|
|
||||||
Enable the `initProvider` in a provider with `--enable-management-policies`
|
Enable the `initProvider` in a provider with `--enable-management-policies`
|
||||||
in a
|
in a
|
||||||
[ControllerConfig]({{<ref "./providers#controller-configuration" >}}).
|
[ControllerConfig]({{<ref "./providers#controller-configuration" >}}) as an
|
||||||
{{< /hint >}}
|
argument in the `spec`.
|
||||||
|
|
||||||
|
```yaml {copy-lines="all"}
|
||||||
|
apiVersion: pkg.crossplane.io/v1alpha1
|
||||||
|
kind: ControllerConfig
|
||||||
|
metadata:
|
||||||
|
name: example-config
|
||||||
|
spec:
|
||||||
|
args:
|
||||||
|
- --enable-management-policies
|
||||||
|
```
|
||||||
|
|
||||||
The
|
The
|
||||||
{{<hover label="initProvider" line="7">}}initProvider{{</hover>}} defines
|
{{<hover label="initProvider" line="7">}}initProvider{{</hover>}} defines
|
||||||
|
@ -893,4 +905,4 @@ Conditions:
|
||||||
Type: LastAsyncOperation
|
Type: LastAsyncOperation
|
||||||
Status: True
|
Status: True
|
||||||
Reason: Success
|
Reason: Success
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue