diff --git a/api/v1/runtimecomponent_types.go b/api/v1/runtimecomponent_types.go index 92b215e9..0541e1d4 100644 --- a/api/v1/runtimecomponent_types.go +++ b/api/v1/runtimecomponent_types.go @@ -179,6 +179,7 @@ type RuntimeComponentAffinity struct { // An array of architectures to be considered for deployment. Their position in the array indicates preference. // +listType=set + // +operator-sdk:csv:customresourcedefinitions:type=spec Architecture []string `json:"architecture,omitempty"` } @@ -277,6 +278,7 @@ type RuntimeComponentDeployment struct { UpdateStrategy *appsv1.DeploymentStrategy `json:"updateStrategy,omitempty"` // Annotations to be added only to the Deployment and resources owned by the Deployment. + // +operator-sdk:csv:customresourcedefinitions:type=spec Annotations map[string]string `json:"annotations,omitempty"` } @@ -291,6 +293,7 @@ type RuntimeComponentStatefulSet struct { Storage *RuntimeComponentStorage `json:"storage,omitempty"` // Annotations to be added only to the StatefulSet and resources owned by the StatefulSet. + // +operator-sdk:csv:customresourcedefinitions:type=spec Annotations map[string]string `json:"annotations,omitempty"` } diff --git a/bundle/manifests/runtime-component.clusterserviceversion.yaml b/bundle/manifests/runtime-component.clusterserviceversion.yaml index a2d5dba0..27834b34 100644 --- a/bundle/manifests/runtime-component.clusterserviceversion.yaml +++ b/bundle/manifests/runtime-component.clusterserviceversion.yaml @@ -68,7 +68,7 @@ metadata: categories: Application Runtime certified: "true" containerImage: icr.io/appcafe/runtime-component-operator:daily - createdAt: "2023-05-01T09:45:40Z" + createdAt: "2023-05-04T04:10:28Z" description: Deploys any runtime component with dynamic and auto-tuning configuration olm.skipRange: '>=0.8.0 <1.2.0' operators.openshift.io/infrastructure-features: '["disconnected"]' @@ -437,6 +437,352 @@ spec: path: networkPolicy.fromLabels x-descriptors: - urn:alm:descriptor:com.tectonic.ui:text + - description: An array of architectures to be considered for deployment. Their + position in the array indicates preference. + displayName: Architecture + path: affinity.architecture + - description: Annotations to be added only to the Deployment and resources + owned by the Deployment. + displayName: Annotations + path: deployment.annotations + - description: Annotations to be added only to the StatefulSet and resources + owned by the StatefulSet. + displayName: Annotations + path: statefulSet.annotations + - displayName: Initial Delay Seconds + path: probes.liveness.initialDelaySeconds + - displayName: Failure Threshold + path: probes.liveness.failureThreshold + - displayName: Success Threshold + path: probes.liveness.successThreshold + - displayName: Termination Grace Period Seconds + path: probes.liveness.terminationGracePeriodSeconds + - displayName: Http Get + path: probes.liveness.httpGet + - displayName: Host + path: probes.liveness.httpGet.host + - displayName: Http Headers + path: probes.liveness.httpGet.httpHeaders + - displayName: Path + path: probes.liveness.httpGet.path + - displayName: Scheme + path: probes.liveness.httpGet.scheme + - displayName: GRPC + path: probes.liveness.grpc + - displayName: Port + path: probes.liveness.grpc.port + - displayName: Service + path: probes.liveness.grpc.service + - displayName: Period Seconds + path: probes.liveness.periodSeconds + - displayName: Timeout Seconds + path: probes.liveness.timeoutSeconds + - displayName: Initial Delay Seconds + path: probes.readiness.initialDelaySeconds + - displayName: Failure Threshold + path: probes.readiness.failureThreshold + - displayName: Success Threshold + path: probes.readiness.successThreshold + - displayName: Termination Grace Period Seconds + path: probes.readiness.terminationGracePeriodSeconds + - displayName: Http Get + path: probes.readiness.httpGet + - displayName: Host + path: probes.readiness.httpGet.host + - displayName: Http Headers + path: probes.readiness.httpGet.httpHeaders + - displayName: Path + path: probes.readiness.httpGet.path + - displayName: Scheme + path: probes.readiness.httpGet.scheme + - displayName: GRPC + path: probes.readiness.grpc + - displayName: Port + path: probes.readiness.grpc.port + - displayName: Service + path: probes.readiness.grpc.service + - displayName: Period Seconds + path: probes.readiness.periodSeconds + - displayName: Timeout Seconds + path: probes.readiness.timeoutSeconds + - displayName: Initial Delay Seconds + path: probes.startup.initialDelaySeconds + - displayName: Failure Threshold + path: probes.startup.failureThreshold + - displayName: Success Threshold + path: probes.startup.successThreshold + - displayName: Termination Grace Period Seconds + path: probes.startup.terminationGracePeriodSeconds + - displayName: Http Get + path: probes.startup.httpGet + - displayName: Host + path: probes.startup.httpGet.host + - displayName: Http Headers + path: probes.startup.httpGet.httpHeaders + - displayName: Path + path: probes.startup.httpGet.path + - displayName: Scheme + path: probes.startup.httpGet.scheme + - displayName: GRPC + path: probes.startup.grpc + - displayName: Port + path: probes.startup.grpc.port + - displayName: Service + path: probes.startup.grpc.service + - displayName: Period Seconds + path: probes.startup.periodSeconds + - displayName: Timeout Seconds + path: probes.startup.timeoutSeconds + - displayName: Rolling Update + path: statefulSet.updateStrategy.rollingUpdate + - displayName: Partition + path: statefulSet.updateStrategy.rollingUpdate.partition + - displayName: Type + path: statefulSet.updateStrategy.typekube + - displayName: API Version + path: statefulSet.storage.volumeClaimTemplate.apiVersion + - displayName: Kind + path: statefulSet.storage.volumeClaimTemplate.kind + - displayName: Metadate + path: statefulSet.storage.volumeClaimTemplate.metadata + - displayName: Spec + path: statefulSet.storage.volumeClaimTemplate.spec + - displayName: Status + path: statefulSet.storage.volumeClaimTemplate.status + - displayName: Port + path: service.ports[0].port + - displayName: App Protocol + path: service.ports[0].appProtocol + - displayName: Name + path: service.ports[0].name + - displayName: Node Port + path: service.ports[0].nodePort + - displayName: Protocol + path: service.ports[0].protocol + - displayName: Proxy URL + path: monitoring.endpoints[0].proxyUrl + - displayName: Port + path: monitoring.endpoints[0].port + - displayName: Path + path: monitoring.endpoints[0].path + - displayName: Interval + path: monitoring.endpoints[0].interval + - displayName: Scheme + path: monitoring.endpoints[0].scheme + - displayName: Follow Redirects + path: monitoring.endpoints[0].followRedirects + - displayName: Bearer Token File + path: monitoring.endpoints[0].bearerTokenFile + - displayName: Basic Auth + path: monitoring.endpoints[0].basicAuth + - displayName: Authorization + path: monitoring.endpoints[0].authorization + - displayName: OAuth2 + path: monitoring.endpoints[0].oauth2 + - displayName: TLS Config + path: monitoring.endpoints[0].tlsConfig + - displayName: Metric Relabeling + path: monitoring.endpoints[0].metricRelabelings + - displayName: Honor Timestamps + path: monitoring.endpoints[0].honorTimestamps + - displayName: Bearer Token Secret + path: monitoring.endpoints[0].bearerTokenSecret + - displayName: Honor Labels + path: monitoring.endpoints[0].honorLabels + - displayName: Scrape Timeout + path: monitoring.endpoints[0].scrapeTimeout + - displayName: Relabelings + path: monitoring.endpoints[0].relabelings + - displayName: Name + path: env[0].name + - displayName: Value + path: env[0].value + - displayName: Value From + path: env[0].valueFrom + - displayName: Config Map Ref + path: envFrom[0].configMapRef + - displayName: Prefix + path: envFrom[0].prefix + - displayName: Secret Ref + path: envFrom[0].secretRef + - displayName: Name + path: volumes[0].name + - displayName: Empty Dir + path: volumes[0].emptyDir + - displayName: Git Repo + path: volumes[0].gitRepo + - displayName: CephFS + path: volumes[0].cephfs + - displayName: Cinder + path: volumes[0].cinder + - displayName: GlusterFS + path: volumes[0].glusterfs + - displayName: Azure File + path: volumes[0].azureFile + - displayName: Persistent Volume Claim + path: volumes[0].persistentVolumeClaim + - displayName: Azure Disk + path: volumes[0].azureDisk + - displayName: AWS Elastic Block Store + path: volumes[0].awsElasticBlockStore + - displayName: Host Path + path: volumes[0].hostPath + - displayName: ISCSI + path: volumes[0].iscsi + - displayName: Photon Persistent Disk + path: volumes[0].photonPersistentDisk + - displayName: Secret + path: volumes[0].secret + - displayName: ScaleIO + path: volumes[0].scaleIO + - displayName: StorageOS + path: volumes[0].storageos + - displayName: Flex Volume + path: volumes[0].flexVolume + - displayName: Quobyte + path: volumes[0].quobyte + - displayName: Rados Block Device + path: volumes[0].rbd + - displayName: Projected + path: volumes[0].projected + - displayName: Container Storage Interface + path: volumes[0].csi + - displayName: Portworx Volume + path: volumes[0].portworxVolume + - displayName: Config Map + path: volumes[0].configMap + - displayName: NFS + path: volumes[0].nfs + - displayName: Downward API + path: volumes[0].downwardAPI + - displayName: GCE Persistent Disk + path: volumes[0].gcePersistentDisk + - displayName: Fibre Channel + path: volumes[0].fc + - displayName: vSphere Volume + path: volumes[0].vsphereVolume + - displayName: Ephemeral + path: volumes[0].ephemeral + - displayName: Flocker + path: volumes[0].flocker + - displayName: Mount Path + path: volumeMounts[0].mountPath + - displayName: Name + path: volumeMounts[0].name + - displayName: Mount Propagation + path: volumeMounts[0].mountPropagation + - displayName: Read Only + path: volumeMounts[0].readOnly + - displayName: Sub Path + path: volumeMounts[0].subPath + - displayName: Sub Path Expr + path: volumeMounts[0].subPathExpr + - displayName: Name + path: initContainers[0].name + - displayName: Volume Devices + path: initContainers[0].volumeDevices + - displayName: Readiness Probe + path: initContainers[0].readinessProbe + - displayName: Stdin + path: initContainers[0].stdin + - displayName: Termination Message Path + path: initContainers[0].terminationMessagePath + - displayName: Stdin Once + path: initContainers[0].stdinOnce + - displayName: Lifecycle + path: initContainers[0].lifecycle + - displayName: Command + path: initContainers[0].command + - displayName: Liveness Probe + path: initContainers[0].livenessProbe + - displayName: Environment + path: initContainers[0].env + - displayName: Security Context + path: initContainers[0].securityContext + - displayName: Ports + path: initContainers[0].ports + - displayName: Image Pull Policy + path: initContainers[0].imagePullPolicy + - displayName: Startup Probe + path: initContainers[0].startupProbe + - displayName: Volume Mounts + path: initContainers[0].volumeMounts + - displayName: Termination Message Policy + path: initContainers[0].terminationMessagePolicy + - displayName: Enviroment From + path: initContainers[0].envFrom + - displayName: TTY + path: initContainers[0].tty + - displayName: Image + path: initContainers[0].image + - displayName: Working Directory + path: initContainers[0].workingDir + - displayName: Arguments + path: initContainers[0].args + - displayName: Name + path: sidecarContainers[0].name + - displayName: Volume Devices + path: sidecarContainers[0].volumeDevices + - displayName: Readiness Probe + path: sidecarContainers[0].readinessProbe + - displayName: Stdin + path: sidecarContainers[0].stdin + - displayName: Termination Message Path + path: sidecarContainers[0].terminationMessagePath + - displayName: Stdin Once + path: sidecarContainers[0].stdinOnce + - displayName: Lifecycle + path: sidecarContainers[0].lifecycle + - displayName: Command + path: sidecarContainers[0].command + - displayName: Liveness Probe + path: sidecarContainers[0].livenessProbe + - displayName: Environment + path: sidecarContainers[0].env + - displayName: Security Context + path: sidecarContainers[0].securityContext + - displayName: Ports + path: sidecarContainers[0].ports + - displayName: Image Pull Policy + path: sidecarContainers[0].imagePullPolicy + - displayName: Startup Probe + path: sidecarContainers[0].startupProbe + - displayName: Volume Mounts + path: sidecarContainers[0].volumeMounts + - displayName: Termination Message Policy + path: sidecarContainers[0].terminationMessagePolicy + - displayName: Enviroment From + path: sidecarContainers[0].envFrom + - displayName: TTY + path: sidecarContainers[0].tty + - displayName: Image + path: sidecarContainers[0].image + - displayName: Working Directory + path: sidecarContainers[0].workingDir + - displayName: Arguments + path: sidecarContainers[0].args + - displayName: Seccomp Profile + path: securityContext.seccompProfile + - displayName: Windows Options + path: securityContext.windowsOptions + - displayName: Run As User Name + path: securityContext.windowsOptions.runAsUserName + - displayName: Level + path: securityContext.seLinuxOptions.level + - displayName: Role + path: securityContext.seLinuxOptions.role + - displayName: Type + path: securityContext.seLinuxOptions.type + - displayName: User + path: securityContext.seLinuxOptions.user + - displayName: Run As Group + path: securityContext.runAsGroup + - displayName: Proc Mount + path: securityContext.procMount + - displayName: Run As User + path: securityContext.runAsUser + - displayName: Capabilities + path: securityContext.capabilities - description: Hide liveness probe's Exec field displayName: Livness Probe's Exec path: probes.liveness.exec @@ -506,7 +852,7 @@ spec: path: securityContext.windowsOptions.hostProcess x-descriptors: - urn:alm:descriptor:com.tectonic.ui:booleanSwitch - - displayName: SE Linux Options + - displayName: SELinux Options path: securityContext.seLinuxOptions statusDescriptors: - description: Exposed URI of the application endpoint diff --git a/config/manifests/bases/runtime-component.clusterserviceversion.yaml b/config/manifests/bases/runtime-component.clusterserviceversion.yaml index 96c64a34..dc2343c0 100644 --- a/config/manifests/bases/runtime-component.clusterserviceversion.yaml +++ b/config/manifests/bases/runtime-component.clusterserviceversion.yaml @@ -374,6 +374,18 @@ spec: path: networkPolicy.fromLabels x-descriptors: - urn:alm:descriptor:com.tectonic.ui:text + - description: An array of architectures to be considered for deployment. Their + position in the array indicates preference. + displayName: Architecture + path: affinity.architecture + - description: Annotations to be added only to the Deployment and resources + owned by the Deployment. + displayName: Annotations + path: deployment.annotations + - description: Annotations to be added only to the StatefulSet and resources + owned by the StatefulSet. + displayName: Annotations + path: statefulSet.annotations statusDescriptors: - description: Exposed URI of the application endpoint displayName: Application diff --git a/config/manifests/displayNamePatch.yaml b/config/manifests/displayNamePatch.yaml new file mode 100644 index 00000000..8a082ee4 --- /dev/null +++ b/config/manifests/displayNamePatch.yaml @@ -0,0 +1,848 @@ +# Liveness Probe Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Initial Delay Seconds + path: probes.liveness.initialDelaySeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Failure Threshold + path: probes.liveness.failureThreshold +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Success Threshold + path: probes.liveness.successThreshold +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Grace Period Seconds + path: probes.liveness.terminationGracePeriodSeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Http Get + path: probes.liveness.httpGet +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Host + path: probes.liveness.httpGet.host +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Http Headers + path: probes.liveness.httpGet.httpHeaders +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Path + path: probes.liveness.httpGet.path +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Scheme + path: probes.liveness.httpGet.scheme +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: GRPC + path: probes.liveness.grpc +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Port + path: probes.liveness.grpc.port +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Service + path: probes.liveness.grpc.service +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Period Seconds + path: probes.liveness.periodSeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Timeout Seconds + path: probes.liveness.timeoutSeconds +# Readiness Probe Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Initial Delay Seconds + path: probes.readiness.initialDelaySeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Failure Threshold + path: probes.readiness.failureThreshold +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Success Threshold + path: probes.readiness.successThreshold +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Grace Period Seconds + path: probes.readiness.terminationGracePeriodSeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Http Get + path: probes.readiness.httpGet +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Host + path: probes.readiness.httpGet.host +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Http Headers + path: probes.readiness.httpGet.httpHeaders +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Path + path: probes.readiness.httpGet.path +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Scheme + path: probes.readiness.httpGet.scheme +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: GRPC + path: probes.readiness.grpc +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Port + path: probes.readiness.grpc.port +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Service + path: probes.readiness.grpc.service +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Period Seconds + path: probes.readiness.periodSeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Timeout Seconds + path: probes.readiness.timeoutSeconds +# Startup Probe Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Initial Delay Seconds + path: probes.startup.initialDelaySeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Failure Threshold + path: probes.startup.failureThreshold +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Success Threshold + path: probes.startup.successThreshold +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Grace Period Seconds + path: probes.startup.terminationGracePeriodSeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Http Get + path: probes.startup.httpGet +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Host + path: probes.startup.httpGet.host +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Http Headers + path: probes.startup.httpGet.httpHeaders +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Path + path: probes.startup.httpGet.path +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Scheme + path: probes.startup.httpGet.scheme +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: GRPC + path: probes.startup.grpc +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Port + path: probes.startup.grpc.port +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Service + path: probes.startup.grpc.service +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Period Seconds + path: probes.startup.periodSeconds +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Timeout Seconds + path: probes.startup.timeoutSeconds +# StatefulSet Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Rolling Update + path: statefulSet.updateStrategy.rollingUpdate +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Partition + path: statefulSet.updateStrategy.rollingUpdate.partition +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Type + path: statefulSet.updateStrategy.typekube +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: API Version + path: statefulSet.storage.volumeClaimTemplate.apiVersion +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Kind + path: statefulSet.storage.volumeClaimTemplate.kind +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Metadate + path: statefulSet.storage.volumeClaimTemplate.metadata +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Spec + path: statefulSet.storage.volumeClaimTemplate.spec +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Status + path: statefulSet.storage.volumeClaimTemplate.status +# Service Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Port + path: service.ports[0].port +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: App Protocol + path: service.ports[0].appProtocol +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Name + path: service.ports[0].name +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Node Port + path: service.ports[0].nodePort +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Protocol + path: service.ports[0].protocol +# Monitoring Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Proxy URL + path: monitoring.endpoints[0].proxyUrl +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Port + path: monitoring.endpoints[0].port +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Path + path: monitoring.endpoints[0].path +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Interval + path: monitoring.endpoints[0].interval +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Scheme + path: monitoring.endpoints[0].scheme +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Follow Redirects + path: monitoring.endpoints[0].followRedirects +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Bearer Token File + path: monitoring.endpoints[0].bearerTokenFile +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Basic Auth + path: monitoring.endpoints[0].basicAuth +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Authorization + path: monitoring.endpoints[0].authorization +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: OAuth2 + path: monitoring.endpoints[0].oauth2 +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: TLS Config + path: monitoring.endpoints[0].tlsConfig +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Metric Relabeling + path: monitoring.endpoints[0].metricRelabelings +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Honor Timestamps + path: monitoring.endpoints[0].honorTimestamps +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Bearer Token Secret + path: monitoring.endpoints[0].bearerTokenSecret +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Honor Labels + path: monitoring.endpoints[0].honorLabels +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Scrape Timeout + path: monitoring.endpoints[0].scrapeTimeout +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Relabelings + path: monitoring.endpoints[0].relabelings +# Environment Variables Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Name + path: env[0].name +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Value + path: env[0].value +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Value From + path: env[0].valueFrom +# Environment Variables From Sources Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Config Map Ref + path: envFrom[0].configMapRef +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Prefix + path: envFrom[0].prefix +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Secret Ref + path: envFrom[0].secretRef +# Volumes Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Name + path: volumes[0].name +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Empty Dir + path: volumes[0].emptyDir +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Git Repo + path: volumes[0].gitRepo +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: CephFS + path: volumes[0].cephfs +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Cinder + path: volumes[0].cinder +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: GlusterFS + path: volumes[0].glusterfs +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Azure File + path: volumes[0].azureFile +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Persistent Volume Claim + path: volumes[0].persistentVolumeClaim +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Azure Disk + path: volumes[0].azureDisk +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: AWS Elastic Block Store + path: volumes[0].awsElasticBlockStore +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Host Path + path: volumes[0].hostPath +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: ISCSI + path: volumes[0].iscsi +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Photon Persistent Disk + path: volumes[0].photonPersistentDisk +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Secret + path: volumes[0].secret +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: ScaleIO + path: volumes[0].scaleIO +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: StorageOS + path: volumes[0].storageos +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Flex Volume + path: volumes[0].flexVolume +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Quobyte + path: volumes[0].quobyte +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Rados Block Device + path: volumes[0].rbd +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Projected + path: volumes[0].projected +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Container Storage Interface + path: volumes[0].csi +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Portworx Volume + path: volumes[0].portworxVolume +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Config Map + path: volumes[0].configMap +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: NFS + path: volumes[0].nfs +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Downward API + path: volumes[0].downwardAPI +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: GCE Persistent Disk + path: volumes[0].gcePersistentDisk +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Fibre Channel + path: volumes[0].fc +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: vSphere Volume + path: volumes[0].vsphereVolume +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Ephemeral + path: volumes[0].ephemeral +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Flocker + path: volumes[0].flocker +# Volume Mounts Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Mount Path + path: volumeMounts[0].mountPath +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Name + path: volumeMounts[0].name +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Mount Propagation + path: volumeMounts[0].mountPropagation +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Read Only + path: volumeMounts[0].readOnly +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Sub Path + path: volumeMounts[0].subPath +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Sub Path Expr + path: volumeMounts[0].subPathExpr +# Init Containers Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Name + path: initContainers[0].name +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Volume Devices + path: initContainers[0].volumeDevices +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Readiness Probe + path: initContainers[0].readinessProbe +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Stdin + path: initContainers[0].stdin +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Message Path + path: initContainers[0].terminationMessagePath +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Stdin Once + path: initContainers[0].stdinOnce +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Lifecycle + path: initContainers[0].lifecycle +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Command + path: initContainers[0].command +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Liveness Probe + path: initContainers[0].livenessProbe +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Environment + path: initContainers[0].env +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Security Context + path: initContainers[0].securityContext +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Ports + path: initContainers[0].ports +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Image Pull Policy + path: initContainers[0].imagePullPolicy +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Startup Probe + path: initContainers[0].startupProbe +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Volume Mounts + path: initContainers[0].volumeMounts +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Message Policy + path: initContainers[0].terminationMessagePolicy +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Enviroment From + path: initContainers[0].envFrom +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: TTY + path: initContainers[0].tty +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Image + path: initContainers[0].image +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Working Directory + path: initContainers[0].workingDir +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Arguments + path: initContainers[0].args +# Sidecar Containers +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Name + path: sidecarContainers[0].name +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Volume Devices + path: sidecarContainers[0].volumeDevices +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Readiness Probe + path: sidecarContainers[0].readinessProbe +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Stdin + path: sidecarContainers[0].stdin +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Message Path + path: sidecarContainers[0].terminationMessagePath +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Stdin Once + path: sidecarContainers[0].stdinOnce +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Lifecycle + path: sidecarContainers[0].lifecycle +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Command + path: sidecarContainers[0].command +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Liveness Probe + path: sidecarContainers[0].livenessProbe +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Environment + path: sidecarContainers[0].env +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Security Context + path: sidecarContainers[0].securityContext +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Ports + path: sidecarContainers[0].ports +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Image Pull Policy + path: sidecarContainers[0].imagePullPolicy +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Startup Probe + path: sidecarContainers[0].startupProbe +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Volume Mounts + path: sidecarContainers[0].volumeMounts +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Termination Message Policy + path: sidecarContainers[0].terminationMessagePolicy +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Enviroment From + path: sidecarContainers[0].envFrom +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: TTY + path: sidecarContainers[0].tty +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Image + path: sidecarContainers[0].image +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Working Directory + path: sidecarContainers[0].workingDir +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Arguments + path: sidecarContainers[0].args +# Security Context Display Names +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Seccomp Profile + path: securityContext.seccompProfile +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Windows Options + path: securityContext.windowsOptions +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Run As User Name + path: securityContext.windowsOptions.runAsUserName +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Level + path: securityContext.seLinuxOptions.level +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Role + path: securityContext.seLinuxOptions.role +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Type + path: securityContext.seLinuxOptions.type +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: User + path: securityContext.seLinuxOptions.user +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Run As Group + path: securityContext.runAsGroup +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Proc Mount + path: securityContext.procMount +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Run As User + path: securityContext.runAsUser +- op: add + path: /spec/customresourcedefinitions/owned/0/specDescriptors/- + value: + displayName: Capabilities + path: securityContext.capabilities \ No newline at end of file diff --git a/config/manifests/kustomization.yaml b/config/manifests/kustomization.yaml index 888a70a0..f3b181dd 100644 --- a/config/manifests/kustomization.yaml +++ b/config/manifests/kustomization.yaml @@ -13,6 +13,11 @@ patches: kind: ClusterServiceVersion name: runtime-component.v0.0.0 namespace: placeholder +- path: displayNamePatch.yaml + target: + kind: ClusterServiceVersion + name: runtime-component.v0.0.0 + namespace: placeholder - path: probesPatch.yaml target: kind: ClusterServiceVersion diff --git a/config/manifests/securityContextPatch.yaml b/config/manifests/securityContextPatch.yaml index 970fe954..8eff1a18 100644 --- a/config/manifests/securityContextPatch.yaml +++ b/config/manifests/securityContextPatch.yaml @@ -67,5 +67,5 @@ - op: add path: /spec/customresourcedefinitions/owned/0/specDescriptors/- value: - displayName: SE Linux Options + displayName: SELinux Options path: securityContext.seLinuxOptions \ No newline at end of file