Skip to content

Commit

Permalink
Merge pull request #41 from RakhithaRR/operator
Browse files Browse the repository at this point in the history
Updating readmes and operatorhub resources to v1.0.1
  • Loading branch information
pubudu538 authored Apr 27, 2020
2 parents 66a42db + 63d4daf commit afbc823
Show file tree
Hide file tree
Showing 9 changed files with 391 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ In this document, we will walk through the following.

**Note:** This is for running scenario-1.

* Download [k8s-wso2am-operator-1.0.0.zip](https://github.com/wso2/k8s-wso2am-operator/releases/download/v1.0.0/k8s-wso2am-operator-1.0.0.zip) and extract it.
* Download [k8s-wso2am-operator-1.0.1.zip](https://github.com/wso2/k8s-wso2am-operator/releases/download/v1.0.1/k8s-wso2am-operator-1.0.1.zip) and extract it.

This zip contains the artifacts that required to deploy in Kubernetes.

**Note:** You need to run all commands from within the k8s-wso2am-operator-1.0.0 directory.
**Note:** You need to run all commands from within the k8s-wso2am-operator-1.0.1 directory.

<br>

Expand Down
2 changes: 1 addition & 1 deletion distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>apim.wso2.com</groupId>
<artifactId>k8s-wso2am-operator-distribution</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<name>K8S WSO2AM Operator Distribution</name>

<build>
Expand Down
4 changes: 2 additions & 2 deletions docs/GettingStarted/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ In this document, we will walk through the following.

**Note:** This is for running scenario-1.

* Download [k8s-wso2am-operator-1.0.0.zip](https://github.com/wso2/k8s-wso2am-operator/releases/download/v1.0.0/k8s-wso2am-operator-1.0.0.zip) and extract it.
* Download [k8s-wso2am-operator-1.0.1.zip](https://github.com/wso2/k8s-wso2am-operator/releases/download/v1.0.1/k8s-wso2am-operator-1.0.1.zip) and extract it.

This zip contains the artifacts that required to deploy in Kubernetes.

**Note:** You need to run all commands from within the k8s-wso2am-operator-1.0.0 directory.
**Note:** You need to run all commands from within the k8s-wso2am-operator-1.0.1 directory.

<br>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ metadata:
Deploying WSO2 API Manager Patterns and custom patterns in Kubernetes through a simple
command. Introducing a new Custom Resource Definition called APIManager
for a deployment.
containerImage: 'wso2/k8s-wso2am-operator:1.0.1'
containerImage: 'wso2/k8s-wso2am-operator:1.0.0'
support: ''
capabilities: 'Basic Install'
repository: 'https://github.com/wso2/k8s-wso2am-operator'
Expand Down Expand Up @@ -287,7 +287,6 @@ spec:
- apim.wso2.com
resources:
- apimanagers
- apimanagers/finalizers
verbs:
- get
- list
Expand All @@ -310,7 +309,7 @@ spec:
spec:
containers:
- name: wso2am-controller
image: 'wso2/k8s-wso2am-operator:1.0.1'
image: 'wso2/k8s-wso2am-operator:1.0.0'
imagePullPolicy: Always
env:
- name: WATCH_NAMESPACE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
#
# WSO2 Inc. licenses this file to you under the Apache License,
# Version 2.0 (the "License"); you may not use this file except
# in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: apimanagers.apim.wso2.com
spec:
group: apim.wso2.com
version: v1alpha1
names:
kind: APIManager
plural: apimanagers
subresources:
status: {}
scope: Namespaced
additionalPrinterColumns:
- name: Type
type: string
description: Type of this component
JSONPath: .status.componentType
- name: Status
type: string
description: Status of this component
JSONPath: .status.status
- name: Service-Name
type: string
description: Service name of this component
JSONPath: .status.serviceName
- name: Ready-Replicas
type: integer
description: Number of replicas available for this component
JSONPath: .status.availableReplicas
- name: Age
type: date
JSONPath: .metadata.creationTimestamp

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
packageName: wso2am-operator
channels:
- name: stable
currentCSV: wso2am-operator.v1.0.0
currentCSV: wso2am-operator.v1.0.1
defaultChannel: stable
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>apim.wso2.com</groupId>
<artifactId>wso2am-k8s-operator</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<name>K8S WSO2AM Operator</name>
<packaging>pom</packaging>

Expand Down
Binary file modified wso2am-controller
Binary file not shown.

0 comments on commit afbc823

Please sign in to comment.