Skip to content

Commit

Permalink
release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinfra committed Mar 10, 2024
1 parent 8a76fdc commit 6e87854
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion charts/metastore-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ maintainers:
- name: nineinfra
url: https://github.com/nineinfra
name: metastore-operator
version: v0.7.0
version: v0.8.0
2 changes: 1 addition & 1 deletion charts/metastore-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ data:
{{ (.Files.Glob "configs/*").AsConfig | indent 2 }}
kind: ConfigMap
metadata:
name: {{ include "operator.fullname" . }}-configmap
name: {{ include "operator.fullname" . }}
labels:
{{- include "operator.labels" . | nindent 4 }}
12 changes: 6 additions & 6 deletions charts/metastore-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "operator.fullname" . }}-deployment
name: {{ include "operator.fullname" . }}
labels:
{{- include "operator.labels" . | nindent 4 }}
spec:
Expand All @@ -26,7 +26,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "operator.fullname" . }}-serviceaccount
serviceAccountName: {{ include "operator.fullname" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
Expand All @@ -40,12 +40,12 @@ spec:
env:
{{- toYaml .Values.env | nindent 12 }}
volumeMounts:
- mountPath: /etc/nineinfra/{{ include "operator.appname" . }}/config-spec
name: config-spec
- mountPath: /etc/{{ include "operator.appname" . }}
name: config
volumes:
- name: config-spec
- name: config
configMap:
name: {{ include "operator.fullname" . }}-configmap
name: {{ include "operator.fullname" . }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
6 changes: 3 additions & 3 deletions charts/metastore-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "operator.fullname" . }}-clusterrole
name: {{ include "operator.fullname" . }}
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -96,12 +96,12 @@ rules:
verbs:
- bind
resourceNames:
- {{ include "operator.name" . }}-clusterrole
- {{ include "operator.name" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "operator.name" . }}-clusterrole
name: {{ include "operator.name" . }}
rules:
- apiGroups:
- ""
Expand Down
8 changes: 4 additions & 4 deletions charts/metastore-operator/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "operator.fullname" . }}-serviceaccount
name: {{ include "operator.fullname" . }}
labels:
{{- include "operator.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
Expand All @@ -15,15 +15,15 @@ apiVersion: rbac.authorization.k8s.io/v1
# This cluster role binding allows anyone in the "manager" group to read secrets in any namespace.
kind: ClusterRoleBinding
metadata:
name: {{ include "operator.fullname" . }}-clusterrolebinding
name: {{ include "operator.fullname" . }}
labels:
{{- include "operator.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ include "operator.fullname" . }}-serviceaccount
name: {{ include "operator.fullname" . }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: {{ include "operator.fullname" . }}-clusterrole
name: {{ include "operator.fullname" . }}
apiGroup: rbac.authorization.k8s.io
{{- end }}
2 changes: 1 addition & 1 deletion charts/metastore-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
image:
repository: nineinfra/metastore-operator
pullPolicy: IfNotPresent
tag: v0.7.0
tag: v0.8.0

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 6e87854

Please sign in to comment.