facets-schemas

Introduction

PVC intent which can be used to create pvc (persistent volume claim) resource within kubernetes cluster.

Properties

Property Type Required Description
flavor string Yes Implementation selector for the resource. e.g. for a resource type ingress, default, aws_alb, gcp_alb etc.
kind string Yes Describes the type of resource. e.g. ingress, application, mysql etc. If not specified, fallback is the folder_name/instances
metadata object Yes Metadata related to the resource
spec object Yes Specification as per resource types schema
version string Yes This field can be used to pin to a particular version
advanced object No Additional fields if any for a particular implementation of a resource
depends_on   No Dependencies on other resources. e.g. application x may depend on mysql
disabled boolean No Flag to disable the resource
lifecycle string No This field describes the phase in which the resource has to be invoked (ENVIRONMENT_BOOTSTRAP) Possible values are: ENVIRONMENT_BOOTSTRAP.
out object No The output for your configmap module, this can be generated or provided
provided boolean No Flag to tell if the resource should not be provisioned by facets

spec

Specification as per resource types schema

Properties

Property Type Required Description
size object Yes Sizing attribute of pvc

size

The size details

Property Type Required Description
volume string No Volume request in kubernetes persistent volumes

advanced

Additional fields if any for a particular implementation of a resource

Properties

Property Type Required Description
additional_labels object No The advanced section to add the additional labels to the PVC
accessModes list No A set of the desired access modes the volume should have
volume_size string No The disk space to be configured for pvc
provisioned_for string No The resource type for which the pvc is provisioned for
namespace string No The namespace in which pvc needs to be created

Flavors