Skip to content

Commit

Permalink
update charts to use v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Sep 25, 2020
1 parent 6cbec79 commit 279f442
Show file tree
Hide file tree
Showing 12 changed files with 323 additions and 11 deletions.
Binary file added charts/dbaas-operator-0.1.5.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions charts/dbaas-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.1.1
appVersion: 0.1.2
65 changes: 65 additions & 0 deletions charts/dbaas-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,46 @@ rules:
- get
- patch
- update
- apiGroups:
- postgres.amazee.io
resources:
- postgresqlconsumers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- postgres.amazee.io
resources:
- postgresqlconsumers/status
verbs:
- get
- patch
- update
- apiGroups:
- postgres.amazee.io
resources:
- postgresqlproviders
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- postgres.amazee.io
resources:
- postgresqlproviders/status
verbs:
- get
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -98,4 +138,29 @@ metadata:
rules:
- apiGroups: ["mariadb.amazee.io"]
resources: ["mariadbproviders"]
verbs: ["*"]
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "dbaas-operator.fullname" . }}-postgresqlconsumer-role
labels:
# Add these permissions to the "admin" and "edit" default roles.
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
- apiGroups: ["postgres.amazee.io"]
resources: ["postgresqlconsumers"]
verbs: ["*"]
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "dbaas-operator.fullname" . }}-postgresqlprovider-role
labels:
# Add these permissions to the "admin" and "edit" default roles.
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
- apiGroups: ["postgres.amazee.io"]
resources: ["postgresqlproviders"]
verbs: ["*"]
File renamed without changes.
154 changes: 154 additions & 0 deletions charts/dbaas-operator/templates/postgres-crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
name: postgresqlconsumers.postgres.amazee.io
spec:
group: postgres.amazee.io
names:
kind: PostgreSQLConsumer
listKind: PostgreSQLConsumerList
plural: postgresqlconsumers
singular: postgresqlconsumer
scope: Namespaced
validation:
openAPIV3Schema:
description: PostgreSQLConsumer is the Schema for the postgresqlconsumers API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: PostgreSQLConsumerSpec defines the desired state of PostgreSQLConsumer
properties:
consumer:
description: PostgreSQLConsumerData defines the provider link for this
consumer
properties:
database:
type: string
password:
type: string
services:
description: PostgreSQLConsumerServices defines the provider link
for this consumer
properties:
primary:
type: string
type: object
username:
type: string
type: object
environment:
description: These are the spec options for consumers
type: string
provider:
description: PostgreSQLConsumerProvider defines the provider link for
this consumer
properties:
hostname:
type: string
name:
type: string
namespace:
type: string
port:
type: string
type: object
type: object
status:
description: PostgreSQLConsumerStatus defines the observed state of PostgreSQLConsumer
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
name: postgresqlproviders.postgres.amazee.io
spec:
group: postgres.amazee.io
names:
kind: PostgreSQLProvider
listKind: PostgreSQLProviderList
plural: postgresqlproviders
singular: postgresqlprovider
scope: Namespaced
validation:
openAPIV3Schema:
description: PostgreSQLProvider is the Schema for the postgresqlproviders API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: PostgreSQLProviderSpec defines the desired state of PostgreSQLProvider
properties:
environment:
description: These are the spec options for providers
type: string
hostname:
type: string
name:
type: string
namespace:
type: string
password:
type: string
port:
type: string
type:
type: string
user:
type: string
type: object
status:
description: PostgreSQLProviderStatus defines the observed state of PostgreSQLProvider
type: object
type: object
version: v1
versions:
- name: v1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
2 changes: 1 addition & 1 deletion charts/dbaas-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

image:
repository: amazeeio/dbaas-operator
tag: v0.1.1
tag: v0.1.2
pullPolicy: IfNotPresent

kubeRbacProxy:
Expand Down
37 changes: 29 additions & 8 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
apiVersion: v1
entries:
dbaas-operator:
- apiVersion: v2
appVersion: 0.1.2
created: "2020-09-25T17:21:59.527102+10:00"
description: A Helm chart for dbaas-operator
digest: da29683319a4964eccf17ef2aa45caeffda9100acdf22f76869185c7174be65c
name: dbaas-operator
type: application
urls:
- dbaas-operator-0.1.5.tgz
version: 0.1.5
- apiVersion: v2
appVersion: 0.1.1
created: "2020-08-03T09:04:50.467874+10:00"
created: "2020-09-25T17:21:59.526626+10:00"
description: A Helm chart for dbaas-operator
digest: c3f995573c09f887b0fd4370fb07b4148eb1d61f5f5ce3baddf01dd953c724cf
name: dbaas-operator
Expand All @@ -13,7 +23,7 @@ entries:
version: 0.1.4
- apiVersion: v2
appVersion: 0.1.0
created: "2020-08-03T09:04:50.466951+10:00"
created: "2020-09-25T17:21:59.526213+10:00"
description: A Helm chart for dbaas-operator
digest: 67712098bd65fce262f59cfcb5566bcd9dee5c0f75afbeccb78bf4776a0b657d
name: dbaas-operator
Expand All @@ -23,7 +33,7 @@ entries:
version: 0.1.3
- apiVersion: v2
appVersion: 0.1.0
created: "2020-08-03T09:04:50.465466+10:00"
created: "2020-09-25T17:21:59.525795+10:00"
description: A Helm chart for dbaas-operator
digest: 16294c3b156e3d6192f9205358bce552952c75b8d28b06d37fbc4804e960cd8d
name: dbaas-operator
Expand All @@ -33,7 +43,7 @@ entries:
version: 0.1.2
- apiVersion: v2
appVersion: 0.1.0
created: "2020-08-03T09:04:50.463335+10:00"
created: "2020-09-25T17:21:59.525389+10:00"
description: A Helm chart for dbaas-operator
digest: f0f32afe174f62ea1ba792d6a564223cd0ed6ac821bdf7a09cf5c254f02f2fac
name: dbaas-operator
Expand All @@ -43,7 +53,7 @@ entries:
version: 0.1.1
- apiVersion: v2
appVersion: 0.1.0
created: "2020-08-03T09:04:50.462083+10:00"
created: "2020-09-25T17:21:59.525005+10:00"
description: A Helm chart for dbaas-operator
digest: 49e3bac9fd6a6eea448accd9483d9fbacd3a3b0b3e2e146c7304b558438c0df2
name: dbaas-operator
Expand All @@ -54,7 +64,7 @@ entries:
mariadbprovider:
- apiVersion: v2
appVersion: 0.1.0
created: "2020-08-03T09:04:50.469164+10:00"
created: "2020-09-25T17:21:59.527474+10:00"
description: A Helm chart for MariaDBProvider used by dbaas-operator
digest: a59bd057c64ca68b2f52a8b1a6dece0746ebc0ee0f1a6a17c807c8df5d6a0c3e
name: mariadbprovider
Expand All @@ -64,12 +74,23 @@ entries:
version: 0.1.2
- apiVersion: v2
appVersion: 0.1.0
created: "2020-08-03T09:04:50.468692+10:00"
created: "2020-09-25T17:21:59.52727+10:00"
description: A Helm chart for MariaDBProvider used by dbaas-operator
digest: bc03d2aa3c0d0aba80063294dbf467cb79b32a408cb34dec1841b531ebd2094c
name: mariadbprovider
type: application
urls:
- mariadbprovider-0.1.1.tgz
version: 0.1.1
generated: "2020-08-03T09:04:50.458741+10:00"
postgresqlprovider:
- apiVersion: v2
appVersion: 0.1.0
created: "2020-09-25T17:21:59.527649+10:00"
description: A Helm chart for PostgreSQLProvider used by dbaas-operator
digest: 27b6b05d4dfa94020fe122afa69cfe2c4bba351b8b069a660a0403de262ba567
name: postgresqlprovider
type: application
urls:
- postgresqlprovider-0.1.0.tgz
version: 0.1.0
generated: "2020-09-25T17:21:59.524405+10:00"
Binary file added charts/postgresqlprovider-0.1.0.tgz
Binary file not shown.
22 changes: 22 additions & 0 deletions charts/postgresqlprovider/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
21 changes: 21 additions & 0 deletions charts/postgresqlprovider/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v2
name: postgresqlprovider
description: A Helm chart for PostgreSQLProvider used by dbaas-operator

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.1.0
Loading

0 comments on commit 279f442

Please sign in to comment.