-
Notifications
You must be signed in to change notification settings - Fork 17
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
kiali-bot
committed
Nov 18, 2022
1 parent
7961f53
commit 1281349
Showing
5 changed files
with
333 additions
and
1 deletion.
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
13 changes: 13 additions & 0 deletions
13
operator/manifests/ossmconsole-community/0.3.0/bundle.Dockerfile
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,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=ossmconsole | ||
LABEL operators.operatorframework.io.bundle.channels.v1=candidate | ||
LABEL operators.operatorframework.io.bundle.channel.default.v1=candidate | ||
|
||
LABEL com.redhat.openshift.versions=v4.10 | ||
|
||
COPY manifests /manifests/ | ||
COPY metadata /metadata/ |
286 changes: 286 additions & 0 deletions
286
...or/manifests/ossmconsole-community/0.3.0/manifests/ossmconsole.clusterserviceversion.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,286 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: ClusterServiceVersion | ||
metadata: | ||
name: ossmconsole-operator.v0.3.0 | ||
namespace: placeholder | ||
labels: | ||
operatorframework.io/arch.amd64: supported | ||
operatorframework.io/arch.s390x: supported | ||
operatorframework.io/arch.ppc64le: supported | ||
annotations: | ||
olm.skipRange: '>=0.1.0 <0.3.0' | ||
categories: Monitoring,Logging & Tracing | ||
certified: "false" | ||
containerImage: quay.io/kiali/ossmconsole-operator:v0.3.0 | ||
capabilities: Basic Install | ||
support: Kiali | ||
description: "Adds Kiali observability, configuration and validation into the OpenShift Console" | ||
repository: https://github.com/kiali/openshift-servicemesh-plugin | ||
createdAt: 2022-11-18T14:17:23Z | ||
alm-examples: |- | ||
[ | ||
{ | ||
"apiVersion": "kiali.io/v1alpha1", | ||
"kind": "OSSMConsole", | ||
"metadata": { | ||
"name": "ossmconsole" | ||
}, | ||
"spec": { | ||
"kiali": { | ||
"serviceName": "", | ||
"serviceNamespace": "", | ||
"servicePort": 0, | ||
"url": "" | ||
} | ||
} | ||
} | ||
] | ||
spec: | ||
version: 0.3.0 | ||
maturity: alpha | ||
replaces: ossmconsole-operator.v0.2.0 | ||
displayName: OpenShift Service Mesh Console | ||
description: |- | ||
## About the managed application | ||
The Kiali OpenShift Service Mesh Console adds Kiali observability, configuration and validation into the OpenShift Console. | ||
Before creating an OSSMConsole CR to install the plugin, make sure OpenShift Service Mesh | ||
is installed along with the Kiali UI. | ||
icon: | ||
- base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMjgwIDEyODAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEyODAgM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: ['service-mesh', 'observability', 'monitoring', 'maistra', 'istio', 'kiali', 'ossm'] | ||
maintainers: | ||
- name: Kiali Developers Google Group | ||
email: [email protected] | ||
provider: | ||
name: Kiali | ||
labels: | ||
name: ossmconsole-operator | ||
selector: | ||
matchLabels: | ||
name: ossmconsole-operator | ||
links: | ||
- name: OpenShift Service Mesh Console Project Source Code | ||
url: https://github.com/kiali/openshift-servicemesh-plugin | ||
- name: Kiali Documentation | ||
url: https://kiali.io | ||
installModes: | ||
- type: OwnNamespace | ||
supported: false | ||
- type: SingleNamespace | ||
supported: false | ||
- type: MultiNamespace | ||
supported: false | ||
- type: AllNamespaces | ||
supported: true | ||
customresourcedefinitions: | ||
owned: | ||
- name: ossmconsoles.kiali.io | ||
group: kiali.io | ||
description: A configuration file for a OpenShift Service Mesh Console installation. | ||
displayName: OpenShift Service Mesh Console | ||
kind: OSSMConsole | ||
version: v1alpha1 | ||
resources: | ||
- kind: Deployment | ||
version: apps/v1 | ||
- kind: Pod | ||
version: v1 | ||
- kind: ConfigMap | ||
version: v1 | ||
specDescriptors: | ||
- displayName: Kiali Service Name | ||
description: "The internal Kiali service that the OS Console will use to proxy API calls. If empty, an attempt will be made to auto-discover it from the Kiali OpenShift Route." | ||
path: kiali.serviceName | ||
x-descriptors: | ||
- 'urn:alm:descriptor:com.tectonic.ui:text' | ||
- displayName: Kiali Service Namespace | ||
description: "The namespace where the Kiali service is deployed. If empty, an attempt will be made to auto-discover it from the Kiali OpenShift Route. It will assume that the OpenShift Route and the Kiali service are deployed in the same namespace." | ||
path: kiali.serviceNamespace | ||
x-descriptors: | ||
- 'urn:alm:descriptor:com.tectonic.ui:text' | ||
- displayName: Kiali Service Port | ||
description: "The internal port used by the Kiali service for the API. If empty, an attempt will be made to auto-discover it from the Kiali OpenShift Route." | ||
path: kiali.servicePort | ||
x-descriptors: | ||
- 'urn:alm:descriptor:com.tectonic.ui:text' | ||
- displayName: Kiali URL | ||
description: "The root endpoint URL to the Kiali UI Console. If empty, an attempt to auto-discover it will be made." | ||
path: kiali.url | ||
x-descriptors: | ||
- 'urn:alm:descriptor:com.tectonic.ui:text' | ||
apiservicedefinitions: {} | ||
install: | ||
strategy: deployment | ||
spec: | ||
deployments: | ||
- name: ossmconsole-operator | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: ossmconsole-operator | ||
template: | ||
metadata: | ||
name: ossmconsole-operator | ||
labels: | ||
app: ossmconsole-operator | ||
# required for the operator SDK metric service selector | ||
name: ossmconsole-operator | ||
version: v0.3.0 | ||
app.kubernetes.io/name: ossmconsole-operator | ||
app.kubernetes.io/instance: ossmconsole-operator | ||
app.kubernetes.io/version: v0.3.0 | ||
app.kubernetes.io/part-of: ossmconsole-operator | ||
annotations: | ||
prometheus.io/scrape: "true" | ||
spec: | ||
serviceAccountName: ossmconsole-operator | ||
containers: | ||
- name: operator | ||
image: quay.io/kiali/ossmconsole-operator:v0.3.0 | ||
imagePullPolicy: IfNotPresent | ||
args: | ||
- "--zap-log-level=info" | ||
- "--leader-election-id=ossmconsole-operator" | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
privileged: false | ||
runAsNonRoot: true | ||
capabilities: | ||
drop: | ||
- ALL | ||
volumeMounts: | ||
- mountPath: /tmp/ansible-operator/runner | ||
name: runner | ||
env: | ||
- name: WATCH_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.annotations['olm.targetNamespaces'] | ||
- name: POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
- name: POD_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
- name: ALLOW_AD_HOC_OSSMCONSOLE_IMAGE | ||
value: "false" | ||
- name: PROFILE_TASKS_TASK_OUTPUT_LIMIT | ||
value: "100" | ||
- name: ANSIBLE_DEBUG_LOGS | ||
value: "True" | ||
- name: ANSIBLE_VERBOSITY_OSSMCONSOLE_KIALI_IO | ||
value: "1" | ||
- name: ANSIBLE_CONFIG | ||
value: "/etc/ansible/ansible.cfg" | ||
ports: | ||
- name: http-metrics | ||
containerPort: 8080 | ||
resources: | ||
requests: | ||
cpu: "10m" | ||
memory: "64Mi" | ||
volumes: | ||
- name: runner | ||
emptyDir: {} | ||
clusterPermissions: | ||
- rules: | ||
- apiGroups: [""] | ||
resources: | ||
- pods | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: [""] | ||
resources: | ||
- configmaps | ||
- services | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: ["apps"] | ||
resources: | ||
- deployments | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: ["console.openshift.io"] | ||
resources: | ||
- consoleplugins | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: ["operator.openshift.io"] | ||
resources: | ||
- consoles | ||
verbs: | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: ["monitoring.coreos.com"] | ||
resources: | ||
- servicemonitors | ||
verbs: | ||
- create | ||
- get | ||
- apiGroups: ["apps"] | ||
resourceNames: | ||
- ossmconsole-operator | ||
resources: | ||
- deployments/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: ["kiali.io"] | ||
resources: | ||
- '*' | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: ["config.openshift.io"] | ||
resources: | ||
- clusteroperators | ||
verbs: | ||
- list | ||
- watch | ||
- apiGroups: ["config.openshift.io"] | ||
resourceNames: | ||
- kube-apiserver | ||
resources: | ||
- clusteroperators | ||
verbs: | ||
- get | ||
- apiGroups: ["route.openshift.io"] | ||
resources: | ||
- routes | ||
verbs: | ||
- get | ||
- list | ||
serviceAccountName: ossmconsole-operator |
25 changes: 25 additions & 0 deletions
25
operator/manifests/ossmconsole-community/0.3.0/manifests/ossmconsole.crd.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,25 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: ossmconsoles.kiali.io | ||
labels: | ||
app: ossmconsole-operator | ||
app.kubernetes.io/name: ossmconsole-operator | ||
spec: | ||
group: kiali.io | ||
names: | ||
kind: OSSMConsole | ||
listKind: OSSMConsoleList | ||
plural: ossmconsoles | ||
singular: ossmconsole | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true |
8 changes: 8 additions & 0 deletions
8
operator/manifests/ossmconsole-community/0.3.0/metadata/annotations.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,8 @@ | ||
annotations: | ||
operators.operatorframework.io.bundle.channel.default.v1: candidate | ||
operators.operatorframework.io.bundle.channels.v1: candidate | ||
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: ossmconsole | ||
com.redhat.openshift.versions: v4.10 |