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 Oct 6, 2020
1 parent 6323789 commit 9abff66
Show file tree
Hide file tree
Showing 6 changed files with 430 additions and 13 deletions.
71 changes: 67 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.2
name: slack-operator.v0.0.3
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand All @@ -44,6 +44,13 @@ spec:
spec:
clusterPermissions:
- rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- apiGroups:
- slack.stakater.com
resources:
Expand Down Expand Up @@ -107,16 +114,36 @@ spec:
- --enable-leader-election
command:
- /manager
image: controller:latest
env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: CONFIG_SECRET_NAME
value: slack-secret
image: stakater/slack-operator:v0.0.3
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:
Expand Down Expand Up @@ -163,12 +190,48 @@ spec:
- kubernetes
- channel
- stakater
- openshift
links:
- name: Slack Operator
url: https://slack-operator.domain
maturity: alpha
provider:
name: stakater
url: https://stakater.com
replaces: slack-operator.v0.0.1
version: 0.0.2
replaces: slack-operator.v0.0.2
version: 0.0.3
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
17 changes: 9 additions & 8 deletions bundle/manifests/slack.stakater.com_channels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: slack-operator-system/slack-operator-serving-cert
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
name: channels.slack.stakater.com
spec:
conversion:
strategy: Webhook
webhookClientConfig:
caBundle: Cg==
service:
name: slack-webhook-service
namespace: slack-operator-system
path: /convert
port: 443
strategy: Webhook
webhookClientConfig:
caBundle: Cg==
service:
name: slack-operator-webhook-service
namespace: slack-operator-system
path: /convert
port: 443
group: slack.stakater.com
names:
kind: Channel
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.1
newTag: v0.0.3
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.3/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.3
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.3
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.3
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 9abff66

Please sign in to comment.