Skip to content

Commit

Permalink
operators kong (0.9.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Raines authored Oct 15, 2021
1 parent f4786ce commit 7852e18
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 0 deletions.
193 changes: 193 additions & 0 deletions operators/kong/0.9.0/kong.v0.9.0.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: '[{"apiVersion":"charts.konghq.com/v1alpha1","kind":"Kong","metadata":{"name":"example-kong"},"spec":{"proxy":{"type":"NodePort"},"env":{"prefix":"/kong_prefix/"},"resources":{"limits":{"cpu":"500m","memory":"2G"},"requests":{"cpu":"100m","memory":"512Mi"}},"ingressController":{"enabled":true,"installCRDs":false}}}]'
capabilities: Basic Install
categories: Networking
certified: 'false'
containerImage: kong/kong-operator:v0.9.0
createdAt: '2020-08-05T16:07:00Z'
description: The world’s most popular open source API gateway. Built for multi-cloud and hybrid, optimized for microservices and distributed architectures.
repository: https://github.com/kong/kong-operator
support: Kong Kubernetes Team
name: kong.v0.9.0
namespace: placeholder
spec:
customresourcedefinitions:
owned:
- description: Defines a Kong cluster (equivalent to a Helm release). Uses the same settings as the Helm chart's values.yaml
displayName: Kong
kind: Kong
name: kongs.charts.konghq.com
version: v1alpha1
description: |
Kong is a popular open-source cloud-native API gateway. Kong Operator is a Kubernetes operator which manages [Kong](https://konghq.com/kong/) and [Kong Enterprise](https://konghq.com/products/kong-enterprise/) clusters.
Kong Operator can deploy Kong in various configurations, for example:
* as a [Kubernetes ingress controller](https://github.com/Kong/kubernetes-ingress-controller), enabling you to expose Kubernetes `Service`s via Kong,
* a standalone Kong gateway (without the ingress controller; either DB-enabled or DB-less)
* a standalone Ingress Controller (configuring an external instance of Kong)
Those configurations are further described in the [_Deployment Options_](https://github.com/Kong/kong-operator/blob/v0.9.0/helm-charts/kong/README.md#deployment-options) section of documentation.
### Quick Start
The [Quick Start guide](https://github.com/Kong/kong-operator/blob/v0.9.0/README.md#quick-start) uses Kong Operator to deploy
our recommended Kong setup for Kubernetes users (Kong DB-less with Ingress Controller), which includes an instance of Kong
serving as a proxy to an example Kubernetes service.
### Documentation
The primary documentation site for Kong Operator is located [in its GitHub repository](https://github.com/Kong/kong-operator/blob/v0.9.0/README.md).
Kong Operator provides the same configuration flexibility as the Kong Helm chart.
Refer to the [Helm chart documentation](https://github.com/Kong/kong-operator/blob/v0.9.0/helm-charts/kong/README.md),
the [Configuration](https://github.com/Kong/kong-operator/blob/v0.9.0/README.md#configuration) section of Kong Operator docs, and the example `Kong` resource below.
### Upgrading from versions 0.8.0 and earlier
0.9.0 changes the operator CRD to comply with Kubernetes requirements. Upgrades require manual work to move configuration into the new CRs.
See the [0.9.0 upgrade guide](https://github.com/Kong/kong-operator/blob/main/CHANGELOG.md#upgrading-from-previous-versions)
for steps to upgrade past 0.8.0.
displayName: Kong Operator
icon:
- base64data: iVBORw0KGgoAAAANSUhEUgAAAI4AAACACAMAAADqKaFKAAAAnFBMVEUAAAAANFoAUnIANl0ANFkANFkAOWEANFkANFkAOl8ANFoANFoAOF0AQGMANFoANVoANFkANVoANFkANFkANVoANlwANFkANVoANVoANVoANFoANloAN1sANlsAQ2oANFoANFoANVoAOF0ANFkANVoANVoANFoANVoANlsAQGIANVkANVkANVkANVoANVkANVoANlsANVoANFoANFnuMUUSAAAAM3RSTlMA0AUt+lIYkbMT9u8hDOJ23KOM5loz84Bk68A5J0kJ17qHHMStbJVOQg/MPp57qXBUmslOI9JhAAAEs0lEQVR42szZ226qUBSF4eESFVQqFs/nc7Vat+14/3fbCSVGUVirCWvid+vNTID8mVPYok41hZdR/SHXVbyIcUiS4REvYeAw4mxRPFXjVXuGgnkL3ig1UahywDuNKQpU6TGpj8L0+Y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Aw1vGqpdVT4bxq0Vg2wsOrFqK34+FVS+tSb0epFi7p9ZMQi6sGxspDoarmjFtbtGpZSFzsPAuQqSMdNqtaSiESwFVOj4hI1dIVQuY912gLONWyFSLNTvA7tZ2vyUUU8pjJhU19ZzyO3DCKKB4CB1O4D8kgrkemIvltnS43XrUcRSiJlyaERKK3l8vg5RxS+cuUWGl0L5eICHlkv2+YME4iFAi5FLLcMMAvcXljhysvcerABxfSjogAXwxUL/GnDKhaChBO571/feYwKmbyMnQBLue1dsH/DIdDkAj4CpsqphcUkGCwysepG8u8cw9ugY/qK4sQDSexXCouxx0NWTxPJcAWlU9eQPcNDeIEKW/48vmo4LYSYlT5ORf5AWrXrLl1P4wQAAAAAElFTkSuQmCC
mediatype: image/png
install:
spec:
clusterPermissions:
- rules:
- apiGroups:
- extensions
resources:
- ingresses
verbs:
- '*'
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- roles
- clusterrolebindings
- rolebindings
verbs:
- '*'
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- '*'
- apiGroups:
- batch
resources:
- jobs
verbs:
- '*'
- apiGroups:
- ''
resources:
- pods
- services
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
- serviceaccounts
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- '*'
- apiGroups:
- ''
resources:
- namespaces
verbs:
- get
- apiGroups:
- ''
resources:
- configmaps
- secrets
verbs:
- '*'
- apiGroups:
- charts.konghq.com
resources:
- '*'
verbs:
- '*'
serviceAccountName: kong-operator
deployments:
- name: kong-operator
spec:
replicas: 1
selector:
matchLabels:
name: kong-operator
template:
metadata:
labels:
name: kong-operator
spec:
containers:
- env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: kong-operator
image: kong/kong-operator:v0.9.0
imagePullPolicy: Always
name: kong-operator
serviceAccountName: kong-operator
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
keywords:
- kong
- ingress
- proxy
- microservices
links:
- name: Kong Website
url: https://konghq.com/kong
- name: Kong Operator Documentation
url: https://github.com/Kong/kong-operator/blob/v0.9.0/README.md
- name: Quick Start Guide
url: https://github.com/Kong/kong-operator/blob/v0.9.0/README.md#quick-start
- name: Helm Chart Source
url: https://github.com/kong/kong-operator/tree/v0.9.0/helm-charts/kong/
maintainers:
- email: [email protected]
name: Shane
- email: [email protected]
name: Michal
- email: [email protected]
name: Travis
maturity: alpha
provider:
name: Kong Inc.
version: 0.9.0
25 changes: 25 additions & 0 deletions operators/kong/0.9.0/kongs.charts.konghq.com.crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: kongs.charts.konghq.com
spec:
conversion:
strategy: None
group: charts.konghq.com
names:
kind: Kong
listKind: KongList
plural: kongs
singular: kong
preserveUnknownFields: false
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: true
subresources:
status: {}
3 changes: 3 additions & 0 deletions operators/kong/kong.package.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
channels:
- currentCSV: kong.v0.8.0
name: alpha
- currentCSV: kong.v0.9.0
name: alpha.1
packageName: kong
defaultChannel: alpha.1

0 comments on commit 7852e18

Please sign in to comment.