Skip to content

Instantly share code, notes, and snippets.

@jcrossley3
Created October 16, 2018 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrossley3/a5daf2bc875f12841aa4b5a28f0f731a to your computer and use it in GitHub Desktop.
Save jcrossley3/a5daf2bc875f12841aa4b5a28f0f731a to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"operators.coreos.com/v1alpha1","kind":"ClusterServiceVersion","metadata":{"annotations":{},"name":"knative-build.v0.1.2","namespace":"knative-build"},"spec":{"customresourcedefinitions":{"owned":[{"description":"Create and run on-cluster processes to completion","displayName":"Build","kind":"Build","name":"builds.build.knative.dev","version":"v1alpha1"},{"description":"Encapsulates a configurable, reusable build process","displayName":"Build Template","kind":"BuildTemplate","name":"buildtemplates.build.knative.dev","version":"v1alpha1"}]},"description":"Kubernetes-native Build resource\n","displayName":"KnativeBuild","install":{"spec":{"deployments":[{"name":"build-controller","spec":{"replicas":1,"selector":{"matchLabels":{"app":"build-controller"}},"template":{"metadata":{"labels":{"app":"build-controller"}},"spec":{"containers":[{"args":["-builder","cluster","-logtostderr","-stderrthreshold","INFO","-creds-image","gcr.io/knative-releases/github.com/knative/build/cmd/creds-init@sha256:fb90fcb6b8b3ebb5a422dfc826473255f697cadae592d0bc5a723af139109f26","-git-image","gcr.io/knative-releases/github.com/knative/build/cmd/git-init@sha256:414cae3a0896b09c276d17301c53f88abbed8a5e412a4f117cc535bf37012f1f"],"image":"gcr.io/knative-releases/github.com/knative/build/cmd/controller@sha256:040b6d58dc0f770065ce1bc050ea4528ef095025b61ecbcdecf2f41fee05e27d","name":"build-controller"}],"initContainers":[{"args":["apply","-f","https://raw.githubusercontent.com/openshift-cloud-functions/knative-operators/1cd8b8057d/knative-build/olm-hack-0.1.2.yaml"],"image":"lachlanevenson/k8s-kubectl","name":"olm-hack"}],"serviceAccountName":"build-controller"}}}},{"name":"build-webhook","spec":{"replicas":1,"selector":{"matchLabels":{"app":"build-webhook"}},"template":{"metadata":{"labels":{"app":"build-webhook","role":"build-webhook"}},"spec":{"containers":[{"args":["-builder","cluster","-logtostderr","-stderrthreshold","INFO"],"image":"gcr.io/knative-releases/github.com/knative/build/cmd/webhook@sha256:dbe322def9edc878d880546385df0a0d7df75ab29b08d747ea1c9b8ad5af2552","name":"build-webhook","volumeMounts":[{"mountPath":"/etc/config-logging","name":"config-logging"}]}],"serviceAccountName":"build-controller","volumes":[{"configMap":{"name":"config-logging"},"name":"config-logging"}]}}}}],"permissions":[{"rules":[{"apiGroups":[""],"resources":["pods","namespaces","secrets","events","serviceaccounts","configmaps"],"verbs":["get","list","create","update","delete","patch","watch"]},{"apiGroups":["extensions"],"resources":["deployments"],"verbs":["get","list","create","update","delete","patch","watch"]},{"apiGroups":["admissionregistration.k8s.io"],"resources":["mutatingwebhookconfigurations"],"verbs":["get","list","create","update","delete","patch","watch"]},{"apiGroups":["apiextensions.k8s.io"],"resources":["customresourcedefinitions"],"verbs":["get","list","create","update","delete","patch","watch"]},{"apiGroups":["build.knative.dev"],"resources":["builds","buildtemplates"],"verbs":["get","list","create","update","delete","patch","watch"]}],"serviceAccountName":"build-controller"}]},"strategy":"deployment"},"labels":{"olm-owner-enterprise-app":"build-controller","olm-status-descriptors":"knative-build.v0.1.2"},"maturity":"alpha","version":"0.1.2"}}
creationTimestamp: 2018-10-16T19:35:08Z
generation: 1
name: knative-build.v0.1.2
namespace: knative-build
resourceVersion: "3326"
selfLink: /apis/operators.coreos.com/v1alpha1/namespaces/knative-build/clusterserviceversions/knative-build.v0.1.2
uid: 974a9f97-d17a-11e8-9da4-52540093dabf
spec:
customresourcedefinitions:
owned:
- description: Create and run on-cluster processes to completion
displayName: Build
kind: Build
name: builds.build.knative.dev
version: v1alpha1
- description: Encapsulates a configurable, reusable build process
displayName: Build Template
kind: BuildTemplate
name: buildtemplates.build.knative.dev
version: v1alpha1
description: |
Kubernetes-native Build resource
displayName: KnativeBuild
install:
spec:
deployments:
- name: build-controller
spec:
replicas: 1
selector:
matchLabels:
app: build-controller
template:
metadata:
labels:
app: build-controller
spec:
containers:
- args:
- -builder
- cluster
- -logtostderr
- -stderrthreshold
- INFO
- -creds-image
- gcr.io/knative-releases/github.com/knative/build/cmd/creds-init@sha256:fb90fcb6b8b3ebb5a422dfc826473255f697cadae592d0bc5a723af139109f26
- -git-image
- gcr.io/knative-releases/github.com/knative/build/cmd/git-init@sha256:414cae3a0896b09c276d17301c53f88abbed8a5e412a4f117cc535bf37012f1f
image: gcr.io/knative-releases/github.com/knative/build/cmd/controller@sha256:040b6d58dc0f770065ce1bc050ea4528ef095025b61ecbcdecf2f41fee05e27d
name: build-controller
initContainers:
- args:
- apply
- -f
- https://raw.githubusercontent.com/openshift-cloud-functions/knative-operators/1cd8b8057d/knative-build/olm-hack-0.1.2.yaml
image: lachlanevenson/k8s-kubectl
name: olm-hack
serviceAccountName: build-controller
- name: build-webhook
spec:
replicas: 1
selector:
matchLabels:
app: build-webhook
template:
metadata:
labels:
app: build-webhook
role: build-webhook
spec:
containers:
- args:
- -builder
- cluster
- -logtostderr
- -stderrthreshold
- INFO
image: gcr.io/knative-releases/github.com/knative/build/cmd/webhook@sha256:dbe322def9edc878d880546385df0a0d7df75ab29b08d747ea1c9b8ad5af2552
name: build-webhook
volumeMounts:
- mountPath: /etc/config-logging
name: config-logging
serviceAccountName: build-controller
volumes:
- configMap:
name: config-logging
name: config-logging
permissions:
- rules:
- apiGroups:
- ""
resources:
- pods
- namespaces
- secrets
- events
- serviceaccounts
- configmaps
verbs:
- get
- list
- create
- update
- delete
- patch
- watch
- apiGroups:
- extensions
resources:
- deployments
verbs:
- get
- list
- create
- update
- delete
- patch
- watch
- apiGroups:
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
verbs:
- get
- list
- create
- update
- delete
- patch
- watch
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- list
- create
- update
- delete
- patch
- watch
- apiGroups:
- build.knative.dev
resources:
- builds
- buildtemplates
verbs:
- get
- list
- create
- update
- delete
- patch
- watch
serviceAccountName: build-controller
strategy: deployment
labels:
olm-owner-enterprise-app: build-controller
olm-status-descriptors: knative-build.v0.1.2
maturity: alpha
version: 0.1.2
status:
conditions:
- lastTransitionTime: 2018-10-16T19:35:08Z
lastUpdateTime: 2018-10-16T19:35:08Z
message: requirements not yet checked
phase: Pending
reason: RequirementsUnknown
- lastTransitionTime: 2018-10-16T19:35:08Z
lastUpdateTime: 2018-10-16T19:35:09Z
message: one or more requirements couldn't be found
phase: Pending
reason: RequirementsNotMet
lastTransitionTime: 2018-10-16T19:35:08Z
lastUpdateTime: 2018-10-16T19:35:09Z
message: one or more requirements couldn't be found
phase: Pending
reason: RequirementsNotMet
requirementStatus:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
name: builds.build.knative.dev
status: Present
uuid: 8f636c6a-d17a-11e8-9da4-52540093dabf
version: v1beta1
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
name: buildtemplates.build.knative.dev
status: Present
uuid: 8f74d801-d17a-11e8-9da4-52540093dabf
version: v1beta1
- group: ""
kind: ""
name: ""
status: ""
version: ""
- group: ""
kind: ServiceAccount
name: build-controller
status: NotPresent
version: v1
kind: List
metadata:
resourceVersion: ""
selfLink: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment