Skip to content

Commit

Permalink
Merge pull request #54 from manju956/csv_fields
Browse files Browse the repository at this point in the history
Add additional cluster service version required fields
  • Loading branch information
Power Cloud Robot authored Oct 23, 2024
2 parents 9e68874 + e3fcdb2 commit 9c97e84
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 16 deletions.
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

0 comments on commit 9c97e84

Please sign in to comment.