Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
20 changes: 10 additions & 10 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

86 changes: 86 additions & 0 deletions manifests/0000_10_config-operator_01_consoleyamlsample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: consoleyamlsamples.console.openshift.io
annotations:
displayName: ConsoleYAMLSample
description: Extension for configuring openshift web console YAML samples.
spec:
scope: Cluster
group: console.openshift.io
versions:
- name: v1
served: true
storage: true
names:
plural: consoleyamlsamples
singular: consoleyamlsample
kind: ConsoleYAMLSample
listKind: ConsoleYAMLSampleList
additionalPrinterColumns:
- name: Title
type: string
JSONPath: .spec.title
- name: Age
type: string
JSONPath: .metadata.creationTimestamp
- name: Description
type: string
JSONPath: .spec.description
subresources:
status: {}
validation:
openAPIV3Schema:
description: ConsoleYAMLSample is an extension for customizing OpenShift web
console YAML samples.
type: object
required:
- metadata
- spec
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
description: Standard object's metadata.
type: object
spec:
description: ConsoleYAMLSampleSpec is the desired YAML sample configuration.
Samples will appear with their descriptions in a samples sidebar when
creating a resources in the web console.
type: object
required:
- description
- title
- yaml
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
description:
description: description of the YAML sample.
type: string
pattern: ^(.|\s)*\S(.|\s)*$
kind:
description: 'Kind is a string value representing the REST resource
this object represents. Servers may infer this from the endpoint the
client submits requests to. Cannot be updated. In CamelCase. More
info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
title:
description: title of the YAML sample.
type: string
pattern: ^(.|\s)*\S(.|\s)*$
yaml:
description: yaml is the YAML sample to display.
type: string
pattern: ^(.|\s)*\S(.|\s)*$

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/beorn7/perks/go.mod

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 6 additions & 11 deletions vendor/github.com/ghodss/yaml/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions vendor/github.com/ghodss/yaml/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/ghodss/yaml/go.sum

This file was deleted.

Loading