mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 00:06:55 -06:00
updated xray for helm
This commit is contained in:
24
Openshift4/helm/xray-operator/.gitignore
vendored
Normal file
24
Openshift4/helm/xray-operator/.gitignore
vendored
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
# Binaries for programs and plugins
|
||||||
|
*.exe
|
||||||
|
*.exe~
|
||||||
|
*.dll
|
||||||
|
*.so
|
||||||
|
*.dylib
|
||||||
|
bin
|
||||||
|
|
||||||
|
# Test binary, build with `go test -c`
|
||||||
|
*.test
|
||||||
|
|
||||||
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
|
*.out
|
||||||
|
|
||||||
|
# Kubernetes Generated files - skip generated files, except for vendored files
|
||||||
|
|
||||||
|
!vendor/**/zz_generated.*
|
||||||
|
|
||||||
|
# editor and IDE paraphernalia
|
||||||
|
.idea
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
*~
|
||||||
39
Openshift4/helm/xray-operator/CHANGELOG.md
Normal file
39
Openshift4/helm/xray-operator/CHANGELOG.md
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
# JFrog Openshift Xray Chart Changelog
|
||||||
|
All changes to this chart will be documented in this file.
|
||||||
|
|
||||||
|
## [1.1.7] Feb 3nd, 2021
|
||||||
|
* Deploying JFrog Xray 3.16.0 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.1.6] Jan 11th, 2021
|
||||||
|
* Deploying JFrog Xray 3.15.1 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.1.5] Dec 2nd, 2020
|
||||||
|
* Deploying JFrog Xray 3.12.0 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.1.4] Oct 24rd, 2020
|
||||||
|
* Deploying JFrog Xray 3.10.3 bug fixes
|
||||||
|
|
||||||
|
## [1.1.3] Oct 23rd, 2020
|
||||||
|
* Deploying JFrog Xray 3.10.3 bug fixes
|
||||||
|
|
||||||
|
## [1.1.2] Oct 23rd, 2020
|
||||||
|
* Deploying JFrog Xray 3.10.3 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.1.1] Oct 6, 2020
|
||||||
|
* Bug Fixes
|
||||||
|
|
||||||
|
## [1.1.0] Oct 1, 2020
|
||||||
|
* Deploying JFrog Xray 3.8.8 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.0.3] Aug 17, 2020
|
||||||
|
* Deploying JFrog Xray 3.8.0 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.0.2] - July 28, 2020
|
||||||
|
* Deploying JFrog Xray 3.6.2 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.0.1] - June 29, 2020
|
||||||
|
* Deploying JFrog Xray 3.5.2 as an Operator into Openshift
|
||||||
|
|
||||||
|
## [1.0.0] - May 22, 2020
|
||||||
|
* Deploying JFrog Xray 3.3.0 as an Operator initial version of Jfrog Xray supported
|
||||||
|
|
||||||
8
Openshift4/helm/xray-operator/CONTRIBUTING.md
Normal file
8
Openshift4/helm/xray-operator/CONTRIBUTING.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# JFrog welcomes community contribution!
|
||||||
|
|
||||||
|
Before we can accept your contribution, process your GitHub pull requests, and thank you full-heartedly, we request that you will fill out and submit JFrog's Contributor License Agreement (CLA).
|
||||||
|
|
||||||
|
[Click here](https://secure.echosign.com/public/hostedForm?formid=5IYKLZ2RXB543N) to submit the JFrog CLA.
|
||||||
|
This should only take a minute to complete and is a one-time process.
|
||||||
|
|
||||||
|
*Thanks for Your Contribution to the Community!* :-)
|
||||||
13
Openshift4/helm/xray-operator/Dockerfile
Normal file
13
Openshift4/helm/xray-operator/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Build the manager binary
|
||||||
|
FROM quay.io/operator-framework/helm-operator:v1.3.0
|
||||||
|
LABEL name="JFrog Xray Enterprise Operator" \
|
||||||
|
description="Openshift operator to deploy JFrog Xray Enterprise based on the Red Hat Universal Base Image" \
|
||||||
|
vendor="JFrog" \
|
||||||
|
summary="JFrog Xray Enterprise Operator" \
|
||||||
|
com.jfrog.license_terms="https://jfrog.com/xray/eula/"
|
||||||
|
|
||||||
|
COPY licenses/ /licenses
|
||||||
|
ENV HOME=/opt/helm
|
||||||
|
COPY watches.yaml ${HOME}/watches.yaml
|
||||||
|
COPY helm-charts ${HOME}/helm-charts
|
||||||
|
WORKDIR ${HOME}
|
||||||
92
Openshift4/helm/xray-operator/Makefile
Normal file
92
Openshift4/helm/xray-operator/Makefile
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
# Current Operator version
|
||||||
|
VERSION ?= 0.0.1
|
||||||
|
# Default bundle image tag
|
||||||
|
BUNDLE_IMG ?= controller-bundle:$(VERSION)
|
||||||
|
# Options for 'bundle-build'
|
||||||
|
ifneq ($(origin CHANNELS), undefined)
|
||||||
|
BUNDLE_CHANNELS := --channels=$(CHANNELS)
|
||||||
|
endif
|
||||||
|
ifneq ($(origin DEFAULT_CHANNEL), undefined)
|
||||||
|
BUNDLE_DEFAULT_CHANNEL := --default-channel=$(DEFAULT_CHANNEL)
|
||||||
|
endif
|
||||||
|
BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
|
||||||
|
|
||||||
|
# Image URL to use all building/pushing image targets
|
||||||
|
IMG ?= controller:latest
|
||||||
|
|
||||||
|
all: docker-build
|
||||||
|
|
||||||
|
# Run against the configured Kubernetes cluster in ~/.kube/config
|
||||||
|
run: helm-operator
|
||||||
|
$(HELM_OPERATOR) run
|
||||||
|
|
||||||
|
# Install CRDs into a cluster
|
||||||
|
install: kustomize
|
||||||
|
$(KUSTOMIZE) build config/crd | kubectl apply -f -
|
||||||
|
|
||||||
|
# Uninstall CRDs from a cluster
|
||||||
|
uninstall: kustomize
|
||||||
|
$(KUSTOMIZE) build config/crd | kubectl delete -f -
|
||||||
|
|
||||||
|
# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
|
||||||
|
deploy: kustomize
|
||||||
|
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
|
||||||
|
$(KUSTOMIZE) build config/default | kubectl apply -f -
|
||||||
|
|
||||||
|
# Undeploy controller in the configured Kubernetes cluster in ~/.kube/config
|
||||||
|
undeploy: kustomize
|
||||||
|
$(KUSTOMIZE) build config/default | kubectl delete -f -
|
||||||
|
|
||||||
|
# Build the docker image
|
||||||
|
docker-build:
|
||||||
|
docker build . -t ${IMG}
|
||||||
|
|
||||||
|
# Push the docker image
|
||||||
|
docker-push:
|
||||||
|
docker push ${IMG}
|
||||||
|
|
||||||
|
PATH := $(PATH):$(PWD)/bin
|
||||||
|
SHELL := env PATH=$(PATH) /bin/sh
|
||||||
|
OS = $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
||||||
|
ARCH = $(shell uname -m | sed 's/x86_64/amd64/')
|
||||||
|
OSOPER = $(shell uname -s | tr '[:upper:]' '[:lower:]' | sed 's/darwin/apple-darwin/' | sed 's/linux/linux-gnu/')
|
||||||
|
ARCHOPER = $(shell uname -m )
|
||||||
|
|
||||||
|
kustomize:
|
||||||
|
ifeq (, $(shell which kustomize 2>/dev/null))
|
||||||
|
@{ \
|
||||||
|
set -e ;\
|
||||||
|
mkdir -p bin ;\
|
||||||
|
curl -sSLo - https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.5.4/kustomize_v3.5.4_$(OS)_$(ARCH).tar.gz | tar xzf - -C bin/ ;\
|
||||||
|
}
|
||||||
|
KUSTOMIZE=$(realpath ./bin/kustomize)
|
||||||
|
else
|
||||||
|
KUSTOMIZE=$(shell which kustomize)
|
||||||
|
endif
|
||||||
|
|
||||||
|
helm-operator:
|
||||||
|
ifeq (, $(shell which helm-operator 2>/dev/null))
|
||||||
|
@{ \
|
||||||
|
set -e ;\
|
||||||
|
mkdir -p bin ;\
|
||||||
|
curl -LO https://github.com/operator-framework/operator-sdk/releases/download/v1.0.1/helm-operator-v1.0.1-$(ARCHOPER)-$(OSOPER) ;\
|
||||||
|
mv helm-operator-v1.0.1-$(ARCHOPER)-$(OSOPER) ./bin/helm-operator ;\
|
||||||
|
chmod +x ./bin/helm-operator ;\
|
||||||
|
}
|
||||||
|
HELM_OPERATOR=$(realpath ./bin/helm-operator)
|
||||||
|
else
|
||||||
|
HELM_OPERATOR=$(shell which helm-operator)
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Generate bundle manifests and metadata, then validate generated files.
|
||||||
|
.PHONY: bundle
|
||||||
|
bundle: kustomize
|
||||||
|
operator-sdk generate kustomize manifests -q
|
||||||
|
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
|
||||||
|
$(KUSTOMIZE) build config/manifests | operator-sdk generate bundle -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
|
||||||
|
operator-sdk bundle validate ./bundle
|
||||||
|
|
||||||
|
# Build the bundle image.
|
||||||
|
.PHONY: bundle-build
|
||||||
|
bundle-build:
|
||||||
|
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .
|
||||||
4
Openshift4/helm/xray-operator/PROJECT
Normal file
4
Openshift4/helm/xray-operator/PROJECT
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
domain: my.domain
|
||||||
|
layout: helm.sdk.operatorframework.io/v1
|
||||||
|
projectName: xray-operator
|
||||||
|
version: 3-alpha
|
||||||
90
Openshift4/helm/xray-operator/README.md
Normal file
90
Openshift4/helm/xray-operator/README.md
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
# JFrog Xray Enterprise Operator
|
||||||
|
|
||||||
|
This code base is intended to deploy Xray as an operator to an Openshift4 cluster. You can run the operator either through the operator-sdk, operator.yaml, or the Operatorhub.
|
||||||
|
|
||||||
|
Openshift OperatorHub has the latest official supported Cluster Service Version (CSV) for the OLM catalog.
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
###### Openshift 4 Cluster
|
||||||
|
|
||||||
|
Available on AWS, GCP, or Azure. Follow the Cloud installer guide available here:
|
||||||
|
|
||||||
|
[Openshift 4 Installers](https://cloud.redhat.com/openshift/install)
|
||||||
|
|
||||||
|
Or run it locally using CodeReadyContainers.
|
||||||
|
|
||||||
|
[Code Ready Container Installer](https://cloud.redhat.com/openshift/install/crc/installer-provisioned)
|
||||||
|
|
||||||
|
###### Openshift 4 Command Line Tools
|
||||||
|
|
||||||
|
Download and install the Openshift command line tool: oc
|
||||||
|
|
||||||
|
[Getting Started with CLI](https://docs.openshift.com/container-platform/4.2/cli_reference/openshift_cli/getting-started-cli.html)
|
||||||
|
|
||||||
|
## Cluster Setup
|
||||||
|
###### Security Context Constraints - Anyuid
|
||||||
|
|
||||||
|
Openshift only allows statefulsets / pods to run in specific user and group id ranges.
|
||||||
|
Xray currently uses users outside of this allowed range.
|
||||||
|
For this reason the service account for the operator in the jfrog-artifactory namespace must be granted anyuid privileges.
|
||||||
|
|
||||||
|
```
|
||||||
|
oc adm policy add-scc-to-user anyuid system:serviceaccount:jfrog-artifactory:xray-operator
|
||||||
|
```
|
||||||
|
|
||||||
|
Where anyuid is the Security context constraint being applied to the service account artifactory-ha-operator in namespace jfrog-artifactory.
|
||||||
|
|
||||||
|
In addition to this the restricted scc policy will need to be changed to allow anyuid:
|
||||||
|
|
||||||
|
```
|
||||||
|
oc patch scc restricted --patch '{"fsGroup":{"type":"RunAsAny"},"runAsUser":{"type":"RunAsAny"},"seLinuxContext":{"type":"RunAsAny"}}' --type=merge
|
||||||
|
```
|
||||||
|
|
||||||
|
## Installation types
|
||||||
|
###### OLM Catalog
|
||||||
|
To install via the OLM catalog download the operator from the Operator hub and install it via the Openshift console GUI
|
||||||
|
|
||||||
|
To test OLM catalog installs you will need to deploy the lastest ClusterServiceVersion found at:
|
||||||
|
|
||||||
|
```
|
||||||
|
deploy/olm-catalog/artifactory-ha-operator/X.X.X/xray-operator.vX.X.X.clusterserviceversion.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
This will install the operator into whatever cluster your kubectl or oc program is currently logged into.
|
||||||
|
|
||||||
|
Please refer to Local Testing section below for full instructions.
|
||||||
|
|
||||||
|
###### Operator YAML
|
||||||
|
To install the operator via the Operator YAML follow the Local Testing tests.
|
||||||
|
|
||||||
|
Instead of running operator-sdk up local for the last step run:
|
||||||
|
|
||||||
|
```
|
||||||
|
oc apply -f deploy/operator.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
This will deploy the operator into the cluster.
|
||||||
|
|
||||||
|
###### Operator-sdk local
|
||||||
|
|
||||||
|
Run:
|
||||||
|
|
||||||
|
```
|
||||||
|
cd JFrog-Cloud-Installers/Openshift4/xray-operator
|
||||||
|
operator-sdk up local
|
||||||
|
```
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
Please read [CONTRIBUTING.md](JFrog-Cloud-Installers/Openshift4/xray-operator/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
|
||||||
|
|
||||||
|
## Versioning
|
||||||
|
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/jfrog/JFrog-Cloud-Installers/tags).
|
||||||
|
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
Github Issues
|
||||||
11
Openshift4/helm/xray-operator/build/Dockerfile
Normal file
11
Openshift4/helm/xray-operator/build/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
FROM quay.io/operator-framework/helm-operator:v0.16.0
|
||||||
|
|
||||||
|
LABEL name="JFrog Xray Enterprise Operator" \
|
||||||
|
description="Openshift operator to deploy JFrog Xray Enterprise based on the Red Hat Universal Base Image." \
|
||||||
|
vendor="JFrog" \
|
||||||
|
summary="JFrog Xray Enterprise Operator" \
|
||||||
|
com.jfrog.license_terms="https://jfrog.com/xray/eula/"
|
||||||
|
|
||||||
|
COPY licenses/ /licenses
|
||||||
|
COPY watches.yaml ${HOME}/watches.yaml
|
||||||
|
COPY helm-charts/ ${HOME}/helm-charts/
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.0
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.1
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.2
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.3
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.4
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.0.1
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.5
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.3.0
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.6
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
creationTimestamp: null
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
|
status:
|
||||||
|
acceptedNames:
|
||||||
|
kind: ''
|
||||||
|
plural: ''
|
||||||
|
conditions: null
|
||||||
|
storedVersions: null
|
||||||
File diff suppressed because one or more lines are too long
12
Openshift4/helm/xray-operator/bundle/1.1.7/metadata/annotations.yaml
Executable file
12
Openshift4/helm/xray-operator/bundle/1.1.7/metadata/annotations.yaml
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
annotations:
|
||||||
|
operators.operatorframework.io.bundle.channel.default.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.channels.v1: alpha
|
||||||
|
operators.operatorframework.io.bundle.manifests.v1: manifests/
|
||||||
|
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
|
||||||
|
operators.operatorframework.io.bundle.metadata.v1: metadata/
|
||||||
|
operators.operatorframework.io.bundle.package.v1: openshiftxray-operator
|
||||||
|
operators.operatorframework.io.metrics.builder: operator-sdk-v1.3.0
|
||||||
|
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
|
||||||
|
operators.operatorframework.io.metrics.project_layout: helm.sdk.operatorframework.io/v1
|
||||||
|
operators.operatorframework.io.test.config.v1: tests/scorecard/
|
||||||
|
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.7
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
13
Openshift4/helm/xray-operator/bundle/bundle-1.0.0.Dockerfile
Normal file
13
Openshift4/helm/xray-operator/bundle/bundle-1.0.0.Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
|
||||||
|
COPY 1.0.0/manifests /manifests/
|
||||||
|
COPY 1.0.0/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
13
Openshift4/helm/xray-operator/bundle/bundle-1.0.1.Dockerfile
Normal file
13
Openshift4/helm/xray-operator/bundle/bundle-1.0.1.Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
|
||||||
|
COPY 1.0.1/manifests /manifests/
|
||||||
|
COPY 1.0.1/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
13
Openshift4/helm/xray-operator/bundle/bundle-1.0.2.Dockerfile
Normal file
13
Openshift4/helm/xray-operator/bundle/bundle-1.0.2.Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
|
||||||
|
COPY 1.0.2/manifests /manifests/
|
||||||
|
COPY 1.0.2/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
14
Openshift4/helm/xray-operator/bundle/bundle-1.0.3.Dockerfile
Normal file
14
Openshift4/helm/xray-operator/bundle/bundle-1.0.3.Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
|
||||||
|
COPY 1.0.3/manifests /manifests/
|
||||||
|
COPY 1.0.3/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.0.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.0.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.1
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.0/manifests /manifests/
|
||||||
|
COPY 1.1.0/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.1.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.1.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.1
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.1/manifests /manifests/
|
||||||
|
COPY 1.1.1/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.2.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.2.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.1
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.2/manifests /manifests/
|
||||||
|
COPY 1.1.2/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.3.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.3.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.1
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.3/manifests /manifests/
|
||||||
|
COPY 1.1.3/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.4.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.4.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.1
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.4/manifests /manifests/
|
||||||
|
COPY 1.1.4/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.5.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.5.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.0.1
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.5/manifests /manifests/
|
||||||
|
COPY 1.1.5/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.6.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.6.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.3.0
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.6/manifests /manifests/
|
||||||
|
COPY 1.1.6/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.7.Dockerfile
Normal file
19
Openshift4/helm/xray-operator/bundle/bundle-1.1.7.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
FROM scratch
|
||||||
|
|
||||||
|
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=openshiftxray-operator
|
||||||
|
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
|
||||||
|
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.3.0
|
||||||
|
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
|
||||||
|
LABEL operators.operatorframework.io.metrics.project_layout=helm.sdk.operatorframework.io/v1
|
||||||
|
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/
|
||||||
|
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
|
||||||
|
|
||||||
|
COPY 1.1.7/manifests /manifests/
|
||||||
|
COPY 1.1.7/metadata /metadata/
|
||||||
|
LABEL com.redhat.openshift.versions="v4.5,v4.6"
|
||||||
|
LABEL com.redhat.delivery.operator.bundle=true
|
||||||
|
LABEL com.redhat.delivery.backport=true
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
channels:
|
||||||
|
- currentCSV: xray-operator.v1.1.0
|
||||||
|
name: alpha
|
||||||
|
defaultChannel: ''
|
||||||
|
packageName: openshiftxray-operator
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# Adds namespace to all resources.
|
||||||
|
namespace: xray-operator-system
|
||||||
|
|
||||||
|
# Value of this field is prepended to the
|
||||||
|
# names of all resources, e.g. a deployment named
|
||||||
|
# "wordpress" becomes "alices-wordpress".
|
||||||
|
# Note that it should also match with the prefix (text before '-') of the namespace
|
||||||
|
# field above.
|
||||||
|
namePrefix: xray-operator-
|
||||||
|
|
||||||
|
# Labels to add to all resources and selectors.
|
||||||
|
#commonLabels:
|
||||||
|
# someName: someValue
|
||||||
|
|
||||||
|
bases:
|
||||||
|
- ../crd
|
||||||
|
- ../rbac
|
||||||
|
- ../manager
|
||||||
|
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
|
||||||
|
#- ../prometheus
|
||||||
|
|
||||||
|
patchesStrategicMerge:
|
||||||
|
# Protect the /metrics endpoint by putting it behind auth.
|
||||||
|
# If you want your controller-manager to expose the /metrics
|
||||||
|
# endpoint w/o any authn/z, please comment the following line.
|
||||||
|
- manager_auth_proxy_patch.yaml
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# This patch inject a sidecar container which is a HTTP proxy for the
|
||||||
|
# controller manager, it performs RBAC authorization against the Kubernetes API using SubjectAccessReviews.
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: controller-manager
|
||||||
|
namespace: system
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: kube-rbac-proxy
|
||||||
|
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0
|
||||||
|
args:
|
||||||
|
- "--secure-listen-address=0.0.0.0:8443"
|
||||||
|
- "--upstream=http://127.0.0.1:8080/"
|
||||||
|
- "--logtostderr=true"
|
||||||
|
- "--v=10"
|
||||||
|
ports:
|
||||||
|
- containerPort: 8443
|
||||||
|
name: https
|
||||||
|
- name: manager
|
||||||
|
args:
|
||||||
|
- "--metrics-addr=127.0.0.1:8080"
|
||||||
|
- "--enable-leader-election"
|
||||||
|
- "--leader-election-id=xray-operator"
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
resources:
|
||||||
|
- manager.yaml
|
||||||
38
Openshift4/helm/xray-operator/config/manager/manager.yaml
Normal file
38
Openshift4/helm/xray-operator/config/manager/manager.yaml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
control-plane: controller-manager
|
||||||
|
name: system
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: controller-manager
|
||||||
|
namespace: system
|
||||||
|
labels:
|
||||||
|
control-plane: controller-manager
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
control-plane: controller-manager
|
||||||
|
replicas: 1
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
control-plane: controller-manager
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: controller:latest
|
||||||
|
args:
|
||||||
|
- "--enable-leader-election"
|
||||||
|
- "--leader-election-id=xray-operator"
|
||||||
|
name: manager
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 90Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 60Mi
|
||||||
|
terminationGracePeriodSeconds: 10
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
resources:
|
||||||
|
- monitor.yaml
|
||||||
16
Openshift4/helm/xray-operator/config/prometheus/monitor.yaml
Normal file
16
Openshift4/helm/xray-operator/config/prometheus/monitor.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
# Prometheus Monitor Service (Metrics)
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
control-plane: controller-manager
|
||||||
|
name: controller-manager-metrics-monitor
|
||||||
|
namespace: system
|
||||||
|
spec:
|
||||||
|
endpoints:
|
||||||
|
- path: /metrics
|
||||||
|
port: https
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
control-plane: controller-manager
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: metrics-reader
|
||||||
|
rules:
|
||||||
|
- nonResourceURLs: ["/metrics"]
|
||||||
|
verbs: ["get"]
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: proxy-role
|
||||||
|
rules:
|
||||||
|
- apiGroups: ["authentication.k8s.io"]
|
||||||
|
resources:
|
||||||
|
- tokenreviews
|
||||||
|
verbs: ["create"]
|
||||||
|
- apiGroups: ["authorization.k8s.io"]
|
||||||
|
resources:
|
||||||
|
- subjectaccessreviews
|
||||||
|
verbs: ["create"]
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: proxy-rolebinding
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: proxy-role
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: default
|
||||||
|
namespace: system
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
control-plane: controller-manager
|
||||||
|
name: controller-manager-metrics-service
|
||||||
|
namespace: system
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: https
|
||||||
|
port: 8443
|
||||||
|
targetPort: https
|
||||||
|
selector:
|
||||||
|
control-plane: controller-manager
|
||||||
12
Openshift4/helm/xray-operator/config/rbac/kustomization.yaml
Normal file
12
Openshift4/helm/xray-operator/config/rbac/kustomization.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
resources:
|
||||||
|
- role.yaml
|
||||||
|
- role_binding.yaml
|
||||||
|
- leader_election_role.yaml
|
||||||
|
- leader_election_role_binding.yaml
|
||||||
|
# Comment the following 4 lines if you want to disable
|
||||||
|
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
|
||||||
|
# which protects your /metrics endpoint.
|
||||||
|
- auth_proxy_service.yaml
|
||||||
|
- auth_proxy_role.yaml
|
||||||
|
- auth_proxy_role_binding.yaml
|
||||||
|
- auth_proxy_client_clusterrole.yaml
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# permissions to do leader election.
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: leader-election-role
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- watch
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
- patch
|
||||||
|
- delete
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
- patch
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: leader-election-rolebinding
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: Role
|
||||||
|
name: leader-election-role
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: default
|
||||||
|
namespace: system
|
||||||
31
Openshift4/helm/xray-operator/config/rbac/role.yaml
Normal file
31
Openshift4/helm/xray-operator/config/rbac/role.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRole
|
||||||
|
metadata:
|
||||||
|
name: manager-role
|
||||||
|
rules:
|
||||||
|
##
|
||||||
|
## Base operator rules
|
||||||
|
##
|
||||||
|
# We need to get namespaces so the operator can read namespaces to ensure they exist
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- namespaces
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
# We need to manage Helm release secrets
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
|
- "*"
|
||||||
|
# We need to create events on CRs about things happening during reconciliation
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- events
|
||||||
|
verbs:
|
||||||
|
- create
|
||||||
|
|
||||||
|
# +kubebuilder:scaffold:rules
|
||||||
12
Openshift4/helm/xray-operator/config/rbac/role_binding.yaml
Normal file
12
Openshift4/helm/xray-operator/config/rbac/role_binding.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
name: manager-rolebinding
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: manager-role
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: default
|
||||||
|
namespace: system
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: scorecard.operatorframework.io/v1alpha3
|
||||||
|
kind: Configuration
|
||||||
|
metadata:
|
||||||
|
name: config
|
||||||
|
stages:
|
||||||
|
- parallel: true
|
||||||
|
tests: []
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
resources:
|
||||||
|
- bases/config.yaml
|
||||||
|
patchesJson6902:
|
||||||
|
- path: patches/basic.config.yaml
|
||||||
|
target:
|
||||||
|
group: scorecard.operatorframework.io
|
||||||
|
version: v1alpha3
|
||||||
|
kind: Configuration
|
||||||
|
name: config
|
||||||
|
- path: patches/olm.config.yaml
|
||||||
|
target:
|
||||||
|
group: scorecard.operatorframework.io
|
||||||
|
version: v1alpha3
|
||||||
|
kind: Configuration
|
||||||
|
name: config
|
||||||
|
# +kubebuilder:scaffold:patchesJson6902
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
- op: add
|
||||||
|
path: /stages/0/tests/-
|
||||||
|
value:
|
||||||
|
entrypoint:
|
||||||
|
- scorecard-test
|
||||||
|
- basic-check-spec
|
||||||
|
image: quay.io/operator-framework/scorecard-test:v1.0.1
|
||||||
|
labels:
|
||||||
|
suite: basic
|
||||||
|
test: basic-check-spec-test
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
- op: add
|
||||||
|
path: /stages/0/tests/-
|
||||||
|
value:
|
||||||
|
entrypoint:
|
||||||
|
- scorecard-test
|
||||||
|
- olm-bundle-validation
|
||||||
|
image: quay.io/operator-framework/scorecard-test:v1.0.1
|
||||||
|
labels:
|
||||||
|
suite: olm
|
||||||
|
test: olm-bundle-validation-test
|
||||||
|
- op: add
|
||||||
|
path: /stages/0/tests/-
|
||||||
|
value:
|
||||||
|
entrypoint:
|
||||||
|
- scorecard-test
|
||||||
|
- olm-crds-have-validation
|
||||||
|
image: quay.io/operator-framework/scorecard-test:v1.0.1
|
||||||
|
labels:
|
||||||
|
suite: olm
|
||||||
|
test: olm-crds-have-validation-test
|
||||||
|
- op: add
|
||||||
|
path: /stages/0/tests/-
|
||||||
|
value:
|
||||||
|
entrypoint:
|
||||||
|
- scorecard-test
|
||||||
|
- olm-crds-have-resources
|
||||||
|
image: quay.io/operator-framework/scorecard-test:v1.0.1
|
||||||
|
labels:
|
||||||
|
suite: olm
|
||||||
|
test: olm-crds-have-resources-test
|
||||||
|
- op: add
|
||||||
|
path: /stages/0/tests/-
|
||||||
|
value:
|
||||||
|
entrypoint:
|
||||||
|
- scorecard-test
|
||||||
|
- olm-spec-descriptors
|
||||||
|
image: quay.io/operator-framework/scorecard-test:v1.0.1
|
||||||
|
labels:
|
||||||
|
suite: olm
|
||||||
|
test: olm-spec-descriptors-test
|
||||||
|
- op: add
|
||||||
|
path: /stages/0/tests/-
|
||||||
|
value:
|
||||||
|
entrypoint:
|
||||||
|
- scorecard-test
|
||||||
|
- olm-status-descriptors
|
||||||
|
image: quay.io/operator-framework/scorecard-test:v1.0.1
|
||||||
|
labels:
|
||||||
|
suite: olm
|
||||||
|
test: olm-status-descriptors-test
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: apiextensions.k8s.io/v1beta1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
name: openshiftxrays.charts.helm.k8s.io
|
||||||
|
spec:
|
||||||
|
group: charts.helm.k8s.io
|
||||||
|
names:
|
||||||
|
kind: OpenshiftXray
|
||||||
|
listKind: OpenshiftXrayList
|
||||||
|
plural: openshiftxrays
|
||||||
|
singular: openshiftxray
|
||||||
|
scope: Namespaced
|
||||||
|
subresources:
|
||||||
|
status: {}
|
||||||
|
validation:
|
||||||
|
openAPIV3Schema:
|
||||||
|
type: object
|
||||||
|
x-kubernetes-preserve-unknown-fields: true
|
||||||
|
version: v1alpha1
|
||||||
|
versions:
|
||||||
|
- name: v1alpha1
|
||||||
|
served: true
|
||||||
|
storage: true
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
apiVersion: charts.helm.k8s.io/v1alpha1
|
||||||
|
kind: OpenshiftXray
|
||||||
|
metadata:
|
||||||
|
name: openshiftxray
|
||||||
|
spec:
|
||||||
|
xray:
|
||||||
|
analysis:
|
||||||
|
image:
|
||||||
|
repository: registry.connect.redhat.com/jfrog/xray-analysis
|
||||||
|
version: 3.3.0
|
||||||
|
name: xray-analysis
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
preStartCommand: null
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
database:
|
||||||
|
password: OVERRIDE
|
||||||
|
url: OVERRIDE
|
||||||
|
user: OVERRIDE
|
||||||
|
global:
|
||||||
|
postgresqlTlsSecret: null
|
||||||
|
indexer:
|
||||||
|
image:
|
||||||
|
repository: registry.connect.redhat.com/jfrog/xray-indexer
|
||||||
|
version: 3.3.0
|
||||||
|
name: xray-indexer
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
persist:
|
||||||
|
image:
|
||||||
|
repository: registry.connect.redhat.com/jfrog/xray-persist
|
||||||
|
version: 3.3.0
|
||||||
|
name: xray-persist
|
||||||
|
persistence:
|
||||||
|
size: 10Gi
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
preStartCommand: null
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
postgresql:
|
||||||
|
enabled: false
|
||||||
|
rabbitmq-ha:
|
||||||
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: registry.connect.redhat.com/jfrog/xray-rabbitmq
|
||||||
|
tag: 3.8.0
|
||||||
|
rabbitmqEpmdPort: 4369
|
||||||
|
rabbitmqManagerPort: 15672
|
||||||
|
rabbitmqNodePort: 5672
|
||||||
|
replicaCount: 1
|
||||||
|
replicaCount: 1
|
||||||
|
router:
|
||||||
|
image:
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
repository: registry.connect.redhat.com/jfrog/xray-router
|
||||||
|
version: 1.2.1
|
||||||
|
name: router
|
||||||
|
server:
|
||||||
|
image:
|
||||||
|
repository: registry.connect.redhat.com/jfrog/xray-server
|
||||||
|
version: 3.3.0
|
||||||
|
name: xray-server
|
||||||
|
podManagementPolicy: Parallel
|
||||||
|
replicaCount: 1
|
||||||
|
updateStrategy: RollingUpdate
|
||||||
|
xray:
|
||||||
|
consoleLog: false
|
||||||
|
jfrogUrl: OVERRIDE
|
||||||
|
joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
|
||||||
|
masterKey: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
|
||||||
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user