Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional cluster service version required fields #54

Merged
merged 2 commits into from
Oct 23, 2024
Merged
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
2 changes: 2 additions & 0 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ resources:
- ../crd
- ../rbac
- ../manager
- ../ns

# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
#- ../webhook
Expand Down
12 changes: 0 additions & 12 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
app.kubernetes.io/name: namespace
app.kubernetes.io/instance: system
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: rsct-operator
app.kubernetes.io/part-of: rsct-operator
app.kubernetes.io/managed-by: kustomize
name: system
---
apiVersion: apps/v1
kind: Deployment
Expand Down
13 changes: 9 additions & 4 deletions config/manifests/bases/rsct-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,23 @@ metadata:
annotations:
alm-examples: '[]'
capabilities: Basic Install
support: IBM
categories: "OpenShift Optional"
containerImage: "ghcr.io/ocp-power-automation/rsct-operator:latest"
repository: "https://github.com/ocp-power-automation/rsct-operator"
description: Deploys RSCT daemonset on all nodes of an OpenShift cluster
name: rsct-operator.v0.0.0
namespace: placeholder
namespace: rsct-operator-system
spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: RSCT is the Schema for the rscts API
- description: RSCT custom resource is the schema for the rscts API
displayName: RSCT
kind: RSCT
name: rscts.rsct.ibm.com
version: v1alpha1
description: Deploys RSCT on all nodes of an OpenShift cluster.
description: Deploys custom resource RSCT on all nodes of an OpenShift cluster.
displayName: RSCT Operator for IBM Power Virtual Server
icon:
- base64data: ""
Expand All @@ -41,7 +46,7 @@ spec:
- power
links:
- name: Rsct Operator
url: https://rsct-operator.domain
url: https://github.com/ocp-power-automation/rsct-operator
maintainers:
- email: [email protected]
name: Michael Turek
Expand Down
2 changes: 2 additions & 0 deletions config/ns/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
resources:
- ns.yaml
16 changes: 16 additions & 0 deletions config/ns/ns.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Namespace
metadata:
labels:
control-plane: controller-manager
app.kubernetes.io/name: namespace
app.kubernetes.io/instance: system
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: rsct-operator
app.kubernetes.io/part-of: rsct-operator
app.kubernetes.io/managed-by: kustomize
openshift.io/cluster-monitoring: "true"
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/audit: privileged
pod-security.kubernetes.io/warn: privileged
name: rsct-operator-system