forked from k8s-operatorhub/community-operators
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3945010
commit 44fbd2d
Showing
5 changed files
with
151 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM scratch | ||
|
||
# Core bundle labels. | ||
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 | ||
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ | ||
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ | ||
LABEL operators.operatorframework.io.bundle.package.v1=wandb-operator | ||
LABEL operators.operatorframework.io.bundle.channels.v1=stable | ||
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable | ||
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.37.0 | ||
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 | ||
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3 | ||
|
||
# Labels for testing. | ||
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 | ||
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ | ||
|
||
# Copy files to locations specified by labels. | ||
COPY ./manifests /manifests/ | ||
COPY ./metadata /metadata/ | ||
COPY ./tests/scorecard /tests/scorecard/ | ||
|
||
LABEL com.redhat.openshift.versions=v4.12 |
22 changes: 22 additions & 0 deletions
22
...ator/1.0.0/manifests/wandb-operator-manager_rbac.authorization.k8s.io_v1_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/managed-by: olm | ||
app.kubernetes.io/name: wandb-operator | ||
app.kubernetes.io/part-of: wandb-operator | ||
name: wandb-operator-manager-role | ||
rules: | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
resources: | ||
- clusterroles | ||
- clusterrolebindings | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch |
16 changes: 16 additions & 0 deletions
16
...0.0/manifests/wandb-operator-manager_rbac.authorization.k8s.io_v1_clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app.kubernetes.io/managed-by: olm | ||
app.kubernetes.io/name: wandb-operator | ||
app.kubernetes.io/part-of: wandb-operator | ||
name: wandb-operator-manager-rolebinding | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: wandb-operator-manager-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: operator-controller-manager | ||
namespace: wandb-system |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ apiVersion: operators.coreos.com/v1alpha1 | |
kind: ClusterServiceVersion | ||
metadata: | ||
annotations: | ||
features.operators.openshift.io/disconnected: "true" | ||
features.operators.openshift.io/fips-compliant: "false" | ||
features.operators.openshift.io/proxy-aware: "false" | ||
features.operators.openshift.io/tls-profiles: "false" | ||
features.operators.openshift.io/token-auth-aws: "false" | ||
features.operators.openshift.io/token-auth-azure: "false" | ||
features.operators.openshift.io/token-auth-gcp: "false" | ||
alm-examples: |- | ||
[ | ||
{ | ||
|
@@ -11,7 +18,7 @@ metadata: | |
"labels": { | ||
"app.kubernetes.io/created-by": "wandb-operator", | ||
"app.kubernetes.io/instance": "weightsandbiases-sample", | ||
"app.kubernetes.io/managed-by": "kustomize", | ||
"app.kubernetes.io/managed-by": "olm", | ||
"app.kubernetes.io/name": "weightsandbiases", | ||
"app.kubernetes.io/part-of": "wandb-operator" | ||
}, | ||
|
@@ -23,8 +30,11 @@ metadata: | |
capabilities: Basic Install | ||
categories: "AI/Machine Learning,Developer Tools" | ||
certified: "false" | ||
createdAt: "2024-10-10T14:46:54Z" | ||
support: WeightsAndBiases | ||
repository: https://github.com/wandb/operator | ||
containerImage: docker.io/wandb/controller:latest | ||
containerImage: quay.io/wandb_tools/wandb-k8s-operator:1.0.0 | ||
operatorframework.io/suggested-namespace: wandb-system | ||
description: "Operator for Weights and Biases, enabling seamless integration and management of machine learning experiments in Kubernetes environments." | ||
name: wandb-operator.v1.0.0 | ||
namespace: placeholder | ||
|
@@ -52,6 +62,14 @@ spec: | |
spec: | ||
clusterPermissions: | ||
- rules: | ||
- apiGroups: | ||
- security.openshift.io | ||
resources: | ||
- securitycontextconstraints | ||
resourceNames: | ||
- privileged | ||
verbs: | ||
- use | ||
- apiGroups: | ||
- "" | ||
resources: | ||
|
@@ -66,20 +84,33 @@ spec: | |
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- namespaces | ||
- namespaces/status | ||
- nodes | ||
- nodes/metrics | ||
- nodes/spec | ||
- nodes/stats | ||
- nodes/proxy | ||
- pods | ||
- pods/log | ||
- pods/status | ||
- serviceaccounts | ||
- services | ||
- endpoints | ||
- ingresses | ||
- resourcequotas | ||
- replicationcontrollers | ||
- replicationcontrollers/status | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- apps | ||
resources: | ||
|
@@ -95,6 +126,7 @@ spec: | |
- list | ||
- update | ||
- watch | ||
- patch | ||
- apiGroups: | ||
- apps | ||
resources: | ||
|
@@ -131,7 +163,7 @@ spec: | |
- patch | ||
- update | ||
- apiGroups: | ||
- autoscaling/v2 | ||
- autoscaling | ||
resources: | ||
- horizontalpodautoscalers | ||
verbs: | ||
|
@@ -141,6 +173,38 @@ spec: | |
- list | ||
- update | ||
- watch | ||
- apiGroups: | ||
- batch | ||
resources: | ||
- cronjobs | ||
- jobs | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- events.k8s.io | ||
resources: | ||
- events | ||
verbs: | ||
- watch | ||
- list | ||
- apiGroups: | ||
- extensions | ||
resources: | ||
- daemonsets | ||
- deployments | ||
- ingresses | ||
- replicasets | ||
- ingresses/status | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- networking.k8s.io | ||
resources: | ||
|
@@ -151,8 +215,17 @@ spec: | |
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- networking.k8s.io | ||
resources: | ||
- ingresses/status | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
resources: | ||
|
@@ -165,15 +238,19 @@ spec: | |
- list | ||
- update | ||
- watch | ||
- nonResourceURLs: | ||
- /metrics | ||
verbs: | ||
- get | ||
serviceAccountName: operator-controller-manager | ||
deployments: | ||
- label: | ||
app.kubernetes.io/component: manager | ||
app.kubernetes.io/created-by: operator | ||
app.kubernetes.io/created-by: wandb-operator | ||
app.kubernetes.io/instance: controller-manager | ||
app.kubernetes.io/managed-by: kustomize | ||
app.kubernetes.io/name: deployment | ||
app.kubernetes.io/part-of: operator | ||
app.kubernetes.io/managed-by: olm | ||
app.kubernetes.io/name: wandb-operator | ||
app.kubernetes.io/part-of: wandb-operator | ||
control-plane: controller-manager | ||
name: operator-controller-manager | ||
spec: | ||
|
@@ -199,7 +276,7 @@ spec: | |
valueFrom: | ||
fieldRef: | ||
fieldPath: spec.serviceAccountName | ||
image: docker.io/wandb/controller:latest | ||
image: quay.io/wandb_tools/wandb-k8s-operator:1.0.0 | ||
livenessProbe: | ||
httpGet: | ||
path: /healthz | ||
|
@@ -287,8 +364,8 @@ spec: | |
maintainers: | ||
- email: [email protected] | ||
name: Abhinav Garg | ||
maturity: alpha | ||
minKubeVersion: 1.23.0 | ||
maturity: stable | ||
minKubeVersion: 1.25.0 | ||
provider: | ||
name: Weights & Biases | ||
url: https://wandb.ai | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters