Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions charts/dbaas-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ kubeVersion: ">= 1.19.0-0"

type: application

version: 0.4.0
version: 0.5.0

appVersion: v0.4.0
appVersion: v0.5.0

annotations:
artifacthub.io/changes: |
- kind: changed
description: update dbaas-operator to v0.4.0
description: update dbaas-operator to v0.5.0
21 changes: 5 additions & 16 deletions charts/dbaas-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,6 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: kube-rbac-proxy
securityContext:
{{- toYaml .Values.kubeRBACProxy.securityContext | nindent 10 }}
image: "{{ .Values.kubeRBACProxy.image.repository }}:{{ .Values.kubeRBACProxy.image.tag }}"
imagePullPolicy: {{ .Values.kubeRBACProxy.image.pullPolicy }}
args:
- "--secure-listen-address=0.0.0.0:8443"
- "--upstream=http://127.0.0.1:8080/"
- "--logtostderr=true"
- "--v=10"
ports:
- containerPort: 8443
name: https
resources:
{{- toYaml .Values.kubeRBACProxy.resources | nindent 10 }}
- name: manager
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
Expand All @@ -44,10 +29,14 @@ spec:
ports:
- containerPort: 5000
name: backend
- containerPort: 8443
name: https
command:
- /manager
{{- with .Values.extraArgs }}
args:
- --metrics-bind-address=:8443
- --leader-elect=true
{{- with .Values.extraArgs }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.enableMariaDBProviders }}
Expand Down
11 changes: 7 additions & 4 deletions charts/dbaas-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ metadata:
rules:
- apiGroups:
- ""
- coordination.k8s.io
resources:
- configmaps
- leases
verbs:
- get
- list
Expand All @@ -20,16 +18,21 @@ rules:
- patch
- delete
- apiGroups:
- ""
- coordination.k8s.io
resources:
- configmaps/status
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
13 changes: 0 additions & 13 deletions charts/dbaas-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ mongodbProviders: {}
# tls: false

extraArgs:
- "--metrics-addr=127.0.0.1:8080"
- "--enable-leader-election=true"

# enable the providers
# by default mariadb is enabled and the others are disabled
Expand Down Expand Up @@ -113,14 +111,3 @@ nodeSelector: {}
tolerations: []

affinity: {}

# this sidecar runs in the same pod as dbaas-operator
kubeRBACProxy:
image:
repository: quay.io/brancz/kube-rbac-proxy
pullPolicy: IfNotPresent
tag: v0.18.2

securityContext: {}

resources: {}
Loading