Skip to content

Commit

Permalink
[skip-ci] Update artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stakater-user committed Nov 25, 2020
1 parent b21679b commit 5370de1
Show file tree
Hide file tree
Showing 6 changed files with 404 additions and 8 deletions.
8 changes: 4 additions & 4 deletions bundle/manifests/slack-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ metadata:
capabilities: Basic Install
operators.operatorframework.io/builder: operator-sdk-v1.0.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
name: slack-operator.v0.0.8
name: slack-operator.v0.0.9
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -121,7 +121,7 @@ spec:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: CONFIG_SECRET_NAME
value: slack-secret
image: stakater/slack-operator:v0.0.8
image: stakater/slack-operator:v0.0.9
name: manager
ports:
- containerPort: 9443
Expand Down Expand Up @@ -198,8 +198,8 @@ spec:
provider:
name: stakater
url: https://stakater.com
replaces: slack-operator.v0.0.7
version: 0.0.8
replaces: slack-operator.v0.0.8
version: 0.0.9
webhookdefinitions:
- admissionReviewVersions: null
deploymentName: slack-operator-webhook
Expand Down
27 changes: 24 additions & 3 deletions bundle/manifests/slack.stakater.com_channels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,43 @@ spec:
conditions:
description: Status conditions
items:
description: "Condition represents an observation of an object's state. Conditions are an extension mechanism intended to be used when the details of an observation are not a priori known or would not apply to all instances of a given Kind. \n Conditions should be added to explicitly convey properties that users and components care about rather than requiring those properties to be inferred from other observations. Once defined, the meaning of a Condition can not be changed arbitrarily - it becomes part of the API, and has the same backwards- and forwards-compatibility concerns of any other part of the API."
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
properties:
lastTransitionTime:
description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format: date-time
type: string
message:
description: message is a human readable message indicating details about the transition. This may be an empty string.
maxLength: 32768
type: string
observedGeneration:
description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
format: int64
minimum: 0
type: integer
reason:
description: ConditionReason is intended to be a one-word, CamelCase representation of the category of cause of the current status. It is intended to be used in concise output, such as one-line kubectl get output, and in summarizing occurrences of causes.
description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
maxLength: 1024
minLength: 1
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
type: string
status:
description: status of the condition, one of True, False, Unknown.
enum:
- "True"
- "False"
- Unknown
type: string
type:
description: "ConditionType is the type of the condition and is typically a CamelCased word or short phrase. \n Condition types should indicate state in the \"abnormal-true\" polarity. For example, if the condition indicates when a policy is invalid, the \"is valid\" case is probably the norm, so the condition should be called \"Invalid\"."
description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
required:
- lastTransitionTime
- message
- reason
- status
- type
type: object
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ kind: Kustomization
images:
- name: controller
newName: stakater/slack-operator
newTag: v0.0.8
newTag: v0.0.9
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
creationTimestamp: null
name: slack-operator-metrics-reader
rules:
- nonResourceURLs:
- /metrics
verbs:
- get
236 changes: 236 additions & 0 deletions packagemanifests/0.0.9/slack-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: |-
[
{
"apiVersion": "slack.stakater.com/v1alpha1",
"kind": "Channel",
"metadata": {
"name": "building-channel"
},
"spec": {
"description": "Why is it called a 'building' if it's already built?",
"name": "building-channel",
"private": true,
"topic": "Buildings",
"users": [
"[email protected]"
]
}
}
]
capabilities: Basic Install
operators.operatorframework.io/builder: operator-sdk-v1.0.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
name: slack-operator.v0.0.9
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: Channel is the Schema for the channels API
displayName: Channel
kind: Channel
name: channels.slack.stakater.com
version: v1alpha1
description: Kubernetes operator for Slack
displayName: slack-operator
icon:
- base64data: ""
mediatype: ""
install:
spec:
clusterPermissions:
- rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- apiGroups:
- slack.stakater.com
resources:
- channels
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- slack.stakater.com
resources:
- channels/status
verbs:
- get
- patch
- update
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
serviceAccountName: default
deployments:
- name: slack-operator-controller-manager
spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
strategy: {}
template:
metadata:
labels:
control-plane: controller-manager
spec:
containers:
- args:
- --secure-listen-address=0.0.0.0:8443
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=10
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
name: kube-rbac-proxy
ports:
- containerPort: 8443
name: https
resources: {}
- args:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
command:
- /manager
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: CONFIG_SECRET_NAME
value: slack-secret
image: stakater/slack-operator:v0.0.9
name: manager
ports:
- containerPort: 9443
name: webhook-server
protocol: TCP
resources:
limits:
cpu: 100m
memory: 30Mi
requests:
cpu: 100m
memory: 20Mi
volumeMounts:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
readOnly: true
terminationGracePeriodSeconds: 10
volumes:
- name: cert
secret:
defaultMode: 420
secretName: webhook-server-cert
permissions:
- rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- configmaps/status
verbs:
- get
- update
- patch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
serviceAccountName: default
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
keywords:
- operator
- slack
- kubernetes
- channel
- stakater
- openshift
links:
- name: Slack Operator
url: https://slack-operator.domain
maturity: alpha
provider:
name: stakater
url: https://stakater.com
version: 0.0.9
webhookdefinitions:
- admissionReviewVersions: null
deploymentName: slack-operator-webhook
failurePolicy: Fail
generateName: vchannel.kb.io
rules:
- apiGroups:
- slack.stakater.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- channels
sideEffects: null
type: ValidatingAdmissionWebhook
webhookPath: /validate-slack-stakater-com-v1alpha1-channel
- admissionReviewVersions: null
deploymentName: slack-operator-webhook
failurePolicy: Fail
generateName: mchannel.kb.io
rules:
- apiGroups:
- slack.stakater.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- channels
sideEffects: null
type: MutatingAdmissionWebhook
webhookPath: /mutate-slack-stakater-com-v1alpha1-channel
Loading

0 comments on commit 5370de1

Please sign in to comment.