Marketplace
BrowsePublish
Marketplace
You are viewing an outdated version of provider-gcp.Go to Latest
upbound/provider-gcp@v0.41.2
OsPolicyAssignment
osconfig.gcp.upbound.io
OsPolicyAssignment
upbound/provider-gcp@v0.41.2osconfig.gcp.upbound.io

OsPolicyAssignment is the Schema for the OsPolicyAssignments API.

Type

CRD

Group

osconfig.gcp.upbound.io

Version

v1beta1

apiVersion: osconfig.gcp.upbound.io/v1beta1

kind: OsPolicyAssignment

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

OsPolicyAssignmentSpec defines the desired state of OsPolicyAssignment

forProvider
requiredobject
requiredobject

No description provided.

array

Filter to select VMs. Structure is documented below.

all
boolean
array

List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. Structure is documented below.

labels
object
array

List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM. Structure is documented below.

labels
object
array

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. Structure is documented below.

location
requiredstring
array

List of OS policies to be applied to the VMs. Structure is documented below.

id
string
mode
string
array

List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match Structure is documented below.

array

List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. Structure is documented below.

array

List of resources configured for this resource group. The resources are executed in the exact order specified here. Structure is documented below.

exec
array
array

Exec resource Structure is documented below.

enforce
array
array

What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. Structure is documented below.

args
array
array

Optional arguments to pass to the source during execution.

file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
script
string
array

What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate. Structure is documented below.

args
array
array

Optional arguments to pass to the source during execution.

file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
script
string
file
array
array

A remote or local file. Structure is documented below.

content
string
file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
path
string
state
string
id
string
pkg
array
array

Package resource Structure is documented below.

apt
array
array

An Apt Repository. Structure is documented below.

name
string
deb
array
array

A deb package file. Structure is documented below.

pullDeps
boolean
source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
googet
array
array

A package managed by GooGet. Structure is documented below.

name
string
msi
array
array

An MSI package. Structure is documented below.

array

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
rpm
array
array

An rpm package file. Structure is documented below.

pullDeps
boolean
source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
yum
array
array

A Yum Repository. Structure is documented below.

name
string
zypper
array
array

A Zypper Repository. Structure is documented below.

name
string
array

Package repository resource Structure is documented below.

apt
array
array

An Apt Repository. Structure is documented below.

array

List of components for this repository. Must contain at least one item.

gpgKey
string
uri
string
goo
array
array

A Goo Repository. Structure is documented below.

name
string
url
string
yum
array
array

A Yum Repository. Structure is documented below.

baseUrl
string
gpgKeys
array
array

URIs of GPG keys.

id
string
zypper
array
array

A Zypper Repository. Structure is documented below.

baseUrl
string
gpgKeys
array
array

URIs of GPG keys.

id
string
project
string
rollout
array
array

Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created.

  1. OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted. Structure is documented below.
array

The maximum number (or percentage) of VMs per zone to disrupt at any given moment. Structure is documented below.

fixed
number
percent
number
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

array

Filter to select VMs. Structure is documented below.

all
boolean
array

List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. Structure is documented below.

labels
object
array

List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM. Structure is documented below.

labels
object
array

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. Structure is documented below.

array

List of OS policies to be applied to the VMs. Structure is documented below.

id
string
mode
string
array

List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match Structure is documented below.

array

List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. Structure is documented below.

array

List of resources configured for this resource group. The resources are executed in the exact order specified here. Structure is documented below.

exec
array
array

Exec resource Structure is documented below.

enforce
array
array

What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. Structure is documented below.

args
array
array

Optional arguments to pass to the source during execution.

file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
script
string
array

What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate. Structure is documented below.

args
array
array

Optional arguments to pass to the source during execution.

file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
script
string
file
array
array

A remote or local file. Structure is documented below.

content
string
file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
path
string
state
string
id
string
pkg
array
array

Package resource Structure is documented below.

apt
array
array

An Apt Repository. Structure is documented below.

name
string
deb
array
array

A deb package file. Structure is documented below.

pullDeps
boolean
source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
googet
array
array

A package managed by GooGet. Structure is documented below.

name
string
msi
array
array

An MSI package. Structure is documented below.

array

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
rpm
array
array

An rpm package file. Structure is documented below.

pullDeps
boolean
source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
yum
array
array

A Yum Repository. Structure is documented below.

name
string
zypper
array
array

A Zypper Repository. Structure is documented below.

name
string
array

Package repository resource Structure is documented below.

apt
array
array

An Apt Repository. Structure is documented below.

array

List of components for this repository. Must contain at least one item.

gpgKey
string
uri
string
goo
array
array

A Goo Repository. Structure is documented below.

name
string
url
string
yum
array
array

A Yum Repository. Structure is documented below.

baseUrl
string
gpgKeys
array
array

URIs of GPG keys.

id
string
zypper
array
array

A Zypper Repository. Structure is documented below.

baseUrl
string
gpgKeys
array
array

URIs of GPG keys.

id
string
project
string
rollout
array
array

Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created.

  1. OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted. Structure is documented below.
array

The maximum number (or percentage) of VMs per zone to disrupt at any given moment. Structure is documented below.

fixed
number
percent
number
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

OsPolicyAssignmentStatus defines the observed state of OsPolicyAssignment.

object

No description provided.

baseline
boolean
deleted
boolean
etag
string
id
string
array

Filter to select VMs. Structure is documented below.

all
boolean
array

List of label sets used for VM exclusion. If the list has more than one label set, the VM is excluded if any of the label sets are applicable for the VM. Structure is documented below.

labels
object
array

List of label sets used for VM inclusion. If the list has more than one LabelSet, the VM is included if any of the label sets are applicable for the VM. Structure is documented below.

labels
object
array

List of inventories to select VMs. A VM is selected if its inventory data matches at least one of the following inventories. Structure is documented below.

location
string
array

List of OS policies to be applied to the VMs. Structure is documented below.

id
string
mode
string
array

List of resource groups for the policy. For a particular VM, resource groups are evaluated in the order specified and the first resource group that is applicable is selected and the rest are ignored. If none of the resource groups are applicable for a VM, the VM is considered to be non-compliant w.r.t this policy. This behavior can be toggled by the flag allow_no_resource_group_match Structure is documented below.

array

List of inventory filters for the resource group. The resources in this resource group are applied to the target VM if it satisfies at least one of the following inventory filters. For example, to apply this resource group to VMs running either RHEL or CentOS operating systems, specify 2 items for the list with following values: inventory_filters[0].os_short_name='rhel' and inventory_filters[1].os_short_name='centos' If the list is empty, this resource group will be applied to the target VM unconditionally. Structure is documented below.

array

List of resources configured for this resource group. The resources are executed in the exact order specified here. Structure is documented below.

exec
array
array

Exec resource Structure is documented below.

enforce
array
array

What to run to bring this resource into the desired state. An exit code of 100 indicates "success", any other exit code indicates a failure running enforce. Structure is documented below.

args
array
array

Optional arguments to pass to the source during execution.

file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
script
string
array

What to run to validate this resource is in the desired state. An exit code of 100 indicates "in desired state", and exit code of 101 indicates "not in desired state". Any other exit code indicates a failure running validate. Structure is documented below.

args
array
array

Optional arguments to pass to the source during execution.

file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
script
string
file
array
array

A remote or local file. Structure is documented below.

content
string
file
array
array

A remote or local file. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
path
string
state
string
id
string
pkg
array
array

Package resource Structure is documented below.

apt
array
array

An Apt Repository. Structure is documented below.

name
string
deb
array
array

A deb package file. Structure is documented below.

pullDeps
boolean
source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
googet
array
array

A package managed by GooGet. Structure is documented below.

name
string
msi
array
array

An MSI package. Structure is documented below.

array

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
rpm
array
array

An rpm package file. Structure is documented below.

pullDeps
boolean
source
array
array

An rpm package. Structure is documented below.

gcs
array
array

A Cloud Storage object. Structure is documented below.

bucket
string
object
string
localPath
string
remote
array
array

A generic remote file. Structure is documented below.

uri
string
yum
array
array

A Yum Repository. Structure is documented below.

name
string
zypper
array
array

A Zypper Repository. Structure is documented below.

name
string
array

Package repository resource Structure is documented below.

apt
array
array

An Apt Repository. Structure is documented below.

array

List of components for this repository. Must contain at least one item.

gpgKey
string
uri
string
goo
array
array

A Goo Repository. Structure is documented below.

name
string
url
string
yum
array
array

A Yum Repository. Structure is documented below.

baseUrl
string
gpgKeys
array
array

URIs of GPG keys.

id
string
zypper
array
array

A Zypper Repository. Structure is documented below.

baseUrl
string
gpgKeys
array
array

URIs of GPG keys.

id
string
project
string
rollout
array
array

Rollout to deploy the OS policy assignment. A rollout is triggered in the following situations: 1) OSPolicyAssignment is created.

  1. OSPolicyAssignment is updated and the update contains changes to one of the following fields: - instance_filter - os_policies 3) OSPolicyAssignment is deleted. Structure is documented below.
array

The maximum number (or percentage) of VMs per zone to disrupt at any given moment. Structure is documented below.

fixed
number
percent
number
uid
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.