-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
cebd8a7
commit a732abd
Showing
25 changed files
with
199 additions
and
180 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ jobs: | |
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
|
||
- name: Install aiven-kubernetes-operator CRDs | ||
run: helm install charts/aiven-kubernetes-operator-crds --generate-name | ||
- name: Install aiven-operator CRDs | ||
run: helm install charts/aiven-operator-crds --generate-name | ||
|
||
- name: Test aiven-kubernetes-operator chart | ||
run: ct install --charts charts/aiven-kubernetes-operator | ||
- name: Test aiven-operator chart | ||
run: ct install --charts charts/aiven-operator |
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
# Aiven Helm Charts | ||
# Aiven Charts | ||
|
||
This repository contains official Helm charts that are maintained by [Aiven](https://aiven.io) | ||
|
||
## Adding the repository | ||
|
||
```bash | ||
helm repo add aiven https://aiven-helm-charts.github.io && helm repo update | ||
helm repo add aiven https://aiven-charts.github.io && helm repo update | ||
``` | ||
|
||
## Installing a chart from the repository | ||
|
||
### Installing the aiven-kubernetes-operator-crds chart | ||
### Installing the aiven-operator-crds chart | ||
|
||
```bash | ||
helm install aiven/aiven-kubernetes-operator-crds --generate-name | ||
helm install aiven/aiven-operator-crds --generate-name | ||
``` | ||
|
||
### Installing the aiven-kubernetes-operator chart | ||
### Installing the aiven-operator chart | ||
|
||
Before installing the `aiven-kubernetes-operator` chart, please make sure to have the CRDs chart installed. | ||
Before installing the `aiven-operator` chart, please make sure to have the CRDs chart installed. | ||
|
||
Installation with webhooks enabled ( requires a cert-manager deployment in the cluster ): | ||
|
||
```bash | ||
helm install aiven/aiven-kubernetes-operator --generate-name | ||
helm install aiven/aiven-operator --generate-name | ||
``` | ||
|
||
Without webhooks enabled: | ||
|
||
```bash | ||
helm install aiven/aiven-kubernetes-operator --generate-name --set webhooks.enabled=false | ||
helm install aiven/aiven-operator --generate-name --set webhooks.enabled=false | ||
``` |
33 changes: 0 additions & 33 deletions
33
charts/aiven-kubernetes-operator/templates/certificate.yaml
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
charts/aiven-kubernetes-operator/templates/cluster_role_binding.yaml
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
charts/aiven-kubernetes-operator/templates/election_role_binding.yaml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...aiven-kubernetes-operator-crds/Chart.yaml → charts/aiven-operator-crds/Chart.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
charts/aiven-kubernetes-operator/Chart.yaml → charts/aiven-operator/Chart.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
File renamed without changes.
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
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,33 @@ | ||
{{- if .Values.webhooks.enabled }} | ||
|
||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: {{ include "aiven-operator.fullname" . }}-webhook-certificate | ||
namespace: {{ include "aiven-operator.namespace" . }} | ||
labels: | ||
{{- include "aiven-operator.labels" . | nindent 4 }} | ||
spec: | ||
dnsNames: | ||
- {{ include "aiven-operator.fullname" . }}-webhook-service.{{ include "aiven-operator.namespace" . }}.svc | ||
- {{ include "aiven-operator.fullname" . }}-webhook-service.{{ include "aiven-operator.namespace" . }}.svc.cluster.local | ||
issuerRef: | ||
kind: Issuer | ||
name: {{ include "aiven-operator.fullname" . }}-selfsigned-issuer | ||
secretName: webhook-server-cert | ||
|
||
--- | ||
|
||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: {{ include "aiven-operator.fullname" . }}-selfsigned-issuer | ||
namespace: {{ include "aiven-operator.namespace" . }} | ||
labels: | ||
{{- include "aiven-operator.labels" . | nindent 4 }} | ||
spec: | ||
selfSigned: {} | ||
|
||
--- | ||
|
||
{{- end }} |
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
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,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ include "aiven-operator.fullname" . }}-rolebinding | ||
namespace: {{ include "aiven-operator.namespace" . }} | ||
labels: | ||
{{- include "aiven-operator.labels" . | nindent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ include "aiven-operator.fullname" . }}-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: default | ||
namespace: {{ include "aiven-operator.namespace" . }} |
10 changes: 5 additions & 5 deletions
10
...rnetes-operator/templates/deployment.yaml → .../aiven-operator/templates/deployment.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
6 changes: 3 additions & 3 deletions
6
...tes-operator/templates/election_role.yaml → ...ven-operator/templates/election_role.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
15 changes: 15 additions & 0 deletions
15
charts/aiven-operator/templates/election_role_binding.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,15 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: {{ include "aiven-operator.fullname" . }}-election-rolebinding | ||
namespace: {{ include "aiven-operator.namespace" . }} | ||
labels: | ||
{{- include "aiven-operator.labels" . | nindent 4 }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: {{ include "aiven-operator.fullname" . }}-election-role | ||
subjects: | ||
- kind: ServiceAccount | ||
name: default | ||
namespace: {{ include "aiven-operator.namespace" . }} |
File renamed without changes.
Oops, something went wrong.