Skip to content

Commit

Permalink
update chi operator to 0.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
slamdev committed Feb 4, 2022
1 parent fe6e8d2 commit 8ee3df4
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 50 deletions.
2 changes: 1 addition & 1 deletion charts/altinity-clickhouse-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: |-
Refer to operator repo for additional information.
type: application
version: 0.0.13
appVersion: 0.18.0
appVersion: 0.18.1
home: https://github.com/slamdev/helm-charts/tree/master/charts/altinity-clickhouse-operator
icon: https://artifacthub.io/image/2d6aa29c-c74f-4bff-bede-ba7e6e0315a7@2x
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kind: CustomResourceDefinition
metadata:
name: clickhouseinstallations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -90,14 +90,10 @@ spec:
- spec
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'
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'
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
Expand Down Expand Up @@ -682,7 +678,6 @@ spec:
# See namePartShardMaxLen const
maxLength: 15
pattern: "^[a-zA-Z0-9-]{0,15}$"

definitionType:
type: string
description: "DEPRECATED - to be removed soon"
Expand Down Expand Up @@ -1122,7 +1117,6 @@ spec:
type: string
replicaServiceTemplate:
type: string

podTemplates:
type: array
description: |
Expand Down Expand Up @@ -1225,7 +1219,6 @@ spec:
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
# nullable: true
x-kubernetes-preserve-unknown-fields: true

volumeClaimTemplates:
type: array
description: "allows define template for rendering `PVC` kubernetes resource, which would use inside `Pod` for mount clickhouse `data`, clickhouse `logs` or something else"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Template Parameters:
#
# KIND=ClickHouseInstallationTemplate
Expand All @@ -11,7 +10,7 @@ kind: CustomResourceDefinition
metadata:
name: clickhouseinstallationtemplates.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down Expand Up @@ -91,14 +90,10 @@ spec:
- spec
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'
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'
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
Expand Down Expand Up @@ -683,7 +678,6 @@ spec:
# See namePartShardMaxLen const
maxLength: 15
pattern: "^[a-zA-Z0-9-]{0,15}$"

definitionType:
type: string
description: "DEPRECATED - to be removed soon"
Expand Down Expand Up @@ -1123,7 +1117,6 @@ spec:
type: string
replicaServiceTemplate:
type: string

podTemplates:
type: array
description: |
Expand Down Expand Up @@ -1226,7 +1219,6 @@ spec:
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
# nullable: true
x-kubernetes-preserve-unknown-fields: true

volumeClaimTemplates:
type: array
description: "allows define template for rendering `PVC` kubernetes resource, which would use inside `Pod` for mount clickhouse `data`, clickhouse `logs` or something else"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
# Template Parameters:
#
# NONE
Expand All @@ -8,7 +7,7 @@ kind: CustomResourceDefinition
metadata:
name: clickhouseoperatorconfigurations.clickhouse.altinity.com
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
spec:
group: clickhouse.altinity.com
scope: Namespaced
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
rules:
- apiGroups:
- ""
resources:
- configmaps
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- list
- watch
- create
- delete
- apiGroups:
- ""
resources:
Expand All @@ -47,12 +47,12 @@ rules:
resources:
- persistentvolumeclaims
verbs:
- delete
- get
- list
- patch
- update
- watch
- delete
- apiGroups:
- ""
resources:
Expand All @@ -69,22 +69,22 @@ rules:
resources:
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- list
- watch
- create
- delete
- apiGroups:
- apps
resources:
- replicasets
verbs:
- delete
- get
- patch
- update
- delete
- apiGroups:
- apps
resourceNames:
Expand All @@ -101,22 +101,22 @@ rules:
resources:
- poddisruptionbudgets
verbs:
- create
- delete
- get
- list
- patch
- update
- list
- watch
- create
- delete
- apiGroups:
- clickhouse.altinity.com
resources:
- clickhouseinstallations
verbs:
- delete
- get
- patch
- update
- delete
- apiGroups:
- clickhouse.altinity.com
resources:
Expand All @@ -142,15 +142,22 @@ rules:
- clickhouseinstallationtemplates/status
- clickhouseoperatorconfigurations/status
verbs:
- create
- delete
- get
- update
- patch
- create
- delete
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- list
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}-confd-files
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
data:
{{- if .Values.configs.confdFiles }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}-configd-files
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
data:
{{- if .Values.configs.configdFiles }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}-files
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
data:
{{- if .Values.configs.files }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}-templatesd-files
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
data:
{{- if .Values.configs.templatesdFiles }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}-usersd-files
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
data:
{{- if .Values.configs.usersdFiles }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# NAMESPACE=kube-system
# COMMENT=
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.18.0
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.18.0
# OPERATOR_IMAGE=altinity/clickhouse-operator:0.18.1
# METRICS_EXPORTER_IMAGE=altinity/metrics-exporter:0.18.1
#
# Setup Deployment for clickhouse-operator
# Deployment would be created in kubectl-specified namespace
Expand All @@ -13,7 +13,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
spec:
replicas: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.fullname" . }}-metrics
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
spec:
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
name: {{ include "altinity-clickhouse-operator.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
labels:
clickhouse.altinity.com/chop: 0.18.0
clickhouse.altinity.com/chop: 0.18.1
{{- include "altinity-clickhouse-operator.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
Expand Down

0 comments on commit 8ee3df4

Please sign in to comment.