Skip to content

Commit

Permalink
[dev-v2.10] Add chart for Supportability Review Operator (#5000)
Browse files Browse the repository at this point in the history
Signed-off-by: Masashi Honma <[email protected]>

Bypassing make-check images 
will be addressed soon. 
For now, unblocking the dev work.
  • Loading branch information
masap authored Jan 28, 2025
1 parent 951ac8c commit 72bbf89
Show file tree
Hide file tree
Showing 40 changed files with 1,538 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/hidden: "true"
catalog.cattle.io/namespace: sr-operator-system
catalog.cattle.io/release-name: rancher-supportability-review-crd
apiVersion: v1
description: Installs the CRDs for rancher-supportability-review.
name: rancher-supportability-review-crd
type: application
version: 105.0.0+up0.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# rancher-supportability-review-crd
A Rancher chart that installs the CRDs used by rancher-supportability-review.
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: reviewbundles.sr.cattle.io
spec:
group: sr.cattle.io
names:
kind: ReviewBundle
plural: reviewbundles
singular: reviewbundle
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .status.timestamp
name: Timestamp
type: string
name: v1
schema:
openAPIV3Schema:
properties:
spec:
properties:
debug:
type: boolean
dev:
type: boolean
excludeClusters:
items:
nullable: true
type: string
nullable: true
type: array
includeClusters:
items:
nullable: true
type: string
nullable: true
type: array
parallelCollection:
type: boolean
sonobuoyNamespace:
nullable: true
type: string
sonobuoyTimeout:
type: integer
tolerations:
items:
properties:
effect:
nullable: true
type: string
key:
nullable: true
type: string
operator:
nullable: true
type: string
tolerationSeconds:
nullable: true
type: integer
value:
nullable: true
type: string
type: object
nullable: true
type: array
type: object
status:
properties:
checkResult:
nullable: true
type: string
clusterCount:
type: integer
conditions:
items:
properties:
lastTransitionTime:
nullable: true
type: string
lastUpdateTime:
nullable: true
type: string
message:
nullable: true
type: string
reason:
nullable: true
type: string
status:
nullable: true
type: string
type:
nullable: true
type: string
type: object
nullable: true
type: array
display:
nullable: true
properties:
error:
type: boolean
message:
nullable: true
type: string
state:
nullable: true
type: string
transitioning:
type: boolean
type: object
fileName:
nullable: true
type: string
fileSize:
type: integer
timestamp:
nullable: true
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
22 changes: 22 additions & 0 deletions charts/rancher-supportability-review/105.0.0+up0.1.0/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
annotations:
catalog.cattle.io/auto-install: rancher-supportability-review-crd=match
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Supportability Review
catalog.cattle.io/kube-version: '>=1.18.0-0 < 1.33.0-0'
catalog.cattle.io/namespace: sr-operator-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux
catalog.cattle.io/provides-gvr: sr.cattle.io.reviewbundles/v1
catalog.cattle.io/rancher-version: '>= 2.10.0 < 2.11.0'
catalog.cattle.io/release-name: rancher-supportability-review
catalog.cattle.io/type: cluster-tool
catalog.cattle.io/ui-component: rancher-supportability-review
apiVersion: v1
appVersion: 0.1.0
description: The rancher-supportability-review operator enables the functionality
of Supportability Reviews for Rancher.
icon: https://charts.rancher.io/assets/logos/cis-kube-bench.svg
keywords:
- support
name: rancher-supportability-review
version: 105.0.0+up0.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Rancher Supportability Review Chart

The supportability-review-operator enables running Supportability Reviews.

# Installation

```
helm install rancher-supportability-review ./ --create-namespace -n sr-operator-system
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Rancher Supportability Review

This chart is used for Supportability Review of Rancher.
151 changes: 151 additions & 0 deletions charts/rancher-supportability-review/105.0.0+up0.1.0/questions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
questions:
- variable: rancher.url
label: Rancher URL
default: ""
description: "The URL of the Rancher server."
type: string
required: true
group: Rancher Configuration

- variable: rancher.token
label: Rancher Token
default: ""
description: "The access token for the Rancher server."
type: string
required: true
group: Rancher Configuration

- variable: s3.useS3
label: Upload bundle to S3 compatible storage
default: "false"
description: "Upload bundle to S3 compatible storage"
type: boolean
group: S3 Configuration
show_subquestion_if: true
subquestions:
- variable: s3.useAwsS3
label: Use AWS S3 Endpoint
default: "true"
description: "Use AWS S3 Endpoint"
type: boolean
group: S3 Configuration
show_subquestion_if: false
subquestions:
- variable: s3.endpoint
label: S3 endpoint URL
default: "https://<hostname>:<port no>"
description: "The URL of S3 endpoint."
type: string
required: true

- variable: s3.region
label: Region
default: "us-east-2"
description: "Region"
type: string
required: true
group: S3 Configuration

- variable: s3.bucket
label: Bucket name
default: ""
description: "Bucket name"
type: string
required: true
group: S3 Configuration

- variable: s3.folder
label: Folder name
default: ""
description: "Folder name"
type: string
required: false
group: S3 Configuration

- variable: s3.insecureTLSSkipVerify
label: Skip TLS Verifications
default: false
description: "Skip TLS Verifications"
type: boolean
required: true
group: S3 Configuration

- variable: s3.accessKeyId
label: Access Key ID
default: ""
description: "Access Key ID"
type: string
required: true
group: S3 Configuration

- variable: s3.secretAccessKey
label: Secret Access Key
default: ""
description: "Secret Access Key"
type: password
required: true
group: S3 Configuration

- variable: image.collector.repository
label: SR Collector image Repository
default: "ghcr.io/rancher/supportability-review"
description: "The repository of SR Collector image."
type: string
required: false
group: Images

- variable: image.collector.tag
label: SR Collector image Tag
default: "latest"
description: "The repository of SR Collector Tag."
type: string
required: false
group: Images

- variable: image.analyzer.repository
label: SR Analyzer image Repository
default: "ghcr.io/rancher/supportability-review-internal"
description: "The repository of SR Analyzer image."
type: string
required: false
group: Images

- variable: image.analyzer.tag
label: SR Analyzer image Tag
default: "latest"
description: "The tag of SR Analyzer image."
type: string
required: false
group: Images

- variable: image.operator.repository
label: SR Operator image Repository
default: "ghcr.io/rancher/supportability-review-operator"
description: "The repository of SR Operator image."
type: string
required: false
group: Images

- variable: image.operator.tag
label: SR Operator image tag
default: "latest"
description: "The tag of SR Operator image."
type: string
required: false
group: Images

- variable: image.appFrontend.repository
label: App frontend image Repository
default: "docker.io/masap20220915/supportability-review-app-frontend"
description: "The repository of App frontend image."
type: string
required: false
group: Images

- variable: image.appFrontend.tag
label: App frontend image tag
default: "dev"
description: "The tag of App frontend image."
type: string
required: false
group: Images
Loading

0 comments on commit 72bbf89

Please sign in to comment.