github.com/verrazzano/verrazzano@v1.7.1/platform-operator/helm_config/charts/verrazzano-application-operator/crds/oam.verrazzano.io_loggingtraits.yaml (about) 1 # Copyright (c) 2021, 2022, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 --- 4 apiVersion: apiextensions.k8s.io/v1 5 kind: CustomResourceDefinition 6 metadata: 7 annotations: 8 controller-gen.kubebuilder.io/version: v0.9.2 9 creationTimestamp: null 10 name: loggingtraits.oam.verrazzano.io 11 spec: 12 group: oam.verrazzano.io 13 names: 14 kind: LoggingTrait 15 listKind: LoggingTraitList 16 plural: loggingtraits 17 singular: loggingtrait 18 scope: Namespaced 19 versions: 20 - name: v1alpha1 21 schema: 22 openAPIV3Schema: 23 description: LoggingTrait specifies the logging traits API. 24 properties: 25 apiVersion: 26 description: 'APIVersion defines the versioned schema of this representation 27 of an object. Servers should convert recognized schemas to the latest 28 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 29 type: string 30 kind: 31 description: 'Kind is a string value representing the REST resource this 32 object represents. Servers may infer this from the endpoint the client 33 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 34 type: string 35 metadata: 36 type: object 37 spec: 38 description: LoggingTraitSpec specifies the desired state of a logging 39 trait. 40 properties: 41 imagePullPolicy: 42 description: The optional image pull policy for the Fluentd image 43 provided by the user. 44 type: string 45 loggingConfig: 46 description: 'The configuration provided by the user for the Fluentd 47 configuration that consists of fluentd.conf: `<source>\n ... and 48 so on ...\n`.' 49 type: string 50 loggingImage: 51 description: The name of the custom Fluentd image. 52 type: string 53 workloadRef: 54 description: The WorkloadReference of the workload to which this trait 55 applies. This value is populated by the OAM runtime when an ApplicationConfiguration 56 resource is processed. When the ApplicationConfiguration is processed, 57 a trait and a workload resource are created from the content of 58 the ApplicationConfiguration. The WorkloadReference is provided 59 in the trait by OAM to ensure that the trait controller can find 60 the workload associated with the component containing the trait 61 within the original ApplicationConfiguration. 62 properties: 63 apiVersion: 64 description: APIVersion of the referenced object. 65 type: string 66 kind: 67 description: Kind of the referenced object. 68 type: string 69 name: 70 description: Name of the referenced object. 71 type: string 72 uid: 73 description: UID of the referenced object. 74 type: string 75 required: 76 - apiVersion 77 - kind 78 - name 79 type: object 80 required: 81 - workloadRef 82 type: object 83 status: 84 description: The observed state of a logging trait and related resources. 85 properties: 86 conditions: 87 description: Conditions of the resource. 88 items: 89 description: A Condition that may apply to a resource. 90 properties: 91 lastTransitionTime: 92 description: LastTransitionTime is the last time this condition 93 transitioned from one status to another. 94 format: date-time 95 type: string 96 message: 97 description: A Message containing details about this condition's 98 last transition from one status to another, if any. 99 type: string 100 reason: 101 description: A Reason for this condition's last transition from 102 one status to another. 103 type: string 104 status: 105 description: Status of this condition; is it currently True, 106 False, or Unknown? 107 type: string 108 type: 109 description: Type of this condition. At most one of each condition 110 type may apply to a resource at any point in time. 111 type: string 112 required: 113 - lastTransitionTime 114 - reason 115 - status 116 - type 117 type: object 118 type: array 119 resources: 120 description: The resources managed by this logging trait. 121 items: 122 description: A TypedReference refers to an object by Name, Kind, 123 and APIVersion. It is commonly used to reference cluster-scoped 124 objects or objects where the namespace is already known. 125 properties: 126 apiVersion: 127 description: APIVersion of the referenced object. 128 type: string 129 kind: 130 description: Kind of the referenced object. 131 type: string 132 name: 133 description: Name of the referenced object. 134 type: string 135 uid: 136 description: UID of the referenced object. 137 type: string 138 required: 139 - apiVersion 140 - kind 141 - name 142 type: object 143 type: array 144 type: object 145 type: object 146 served: true 147 storage: true 148 subresources: 149 status: {}