Skip to content

Commit

Permalink
refactor: bump operator version to v0.1.3-alpha.3 (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 authored Nov 7, 2024
1 parent ad0e1aa commit c5cf6f7
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/greptimedb-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
kubeVersion: ">=1.18.0-0"
description: The greptimedb-operator Helm chart for Kubernetes.
name: greptimedb-operator
appVersion: 0.1.3-alpha.1
version: 0.2.9
appVersion: 0.1.3-alpha.3
version: 0.2.10
type: application
home: https://github.com/GreptimeTeam/greptimedb-operator
sources:
Expand Down
8 changes: 5 additions & 3 deletions charts/greptimedb-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The greptimedb-operator Helm chart for Kubernetes.

![Version: 0.2.9](https://img.shields.io/badge/Version-0.2.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3-alpha.1](https://img.shields.io/badge/AppVersion-0.1.3--alpha.1-informational?style=flat-square)
![Version: 0.2.10](https://img.shields.io/badge/Version-0.2.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.3-alpha.3](https://img.shields.io/badge/AppVersion-0.1.3--alpha.3-informational?style=flat-square)

## Source Code

Expand Down Expand Up @@ -101,8 +101,10 @@ Kubernetes: `>=1.18.0-0`
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | The pod affinity |
| apiServer | object | `{"enabled":false,"port":8081}` | The configuration for the operator API server |
| apiServer | object | `{"enabled":false,"podMetrics":{"enabled":false},"port":8081}` | The configuration for the operator API server |
| apiServer.enabled | bool | `false` | Whether to enable the API server |
| apiServer.podMetrics | object | `{"enabled":false}` | The configuration for getting PodMetrics from metrics-server. |
| apiServer.podMetrics.enabled | bool | `false` | Whether to enable to get PodMetrics from metrics-server. |
| apiServer.port | int | `8081` | The port for the API server |
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
Expand All @@ -113,7 +115,7 @@ Kubernetes: `>=1.18.0-0`
| image.pullSecrets | list | `[]` | The image pull secrets |
| image.registry | string | `"docker.io"` | The image registry |
| image.repository | string | `"greptime/greptimedb-operator"` | The image repository |
| image.tag | string | `"v0.1.3-alpha.1"` | The image tag |
| image.tag | string | `"v0.1.3-alpha.3"` | The image tag |
| nameOverride | string | `""` | String to partially override release template name |
| nodeSelector | object | `{}` | The operator node selector |
| rbac.create | bool | `true` | Install role based access control |
Expand Down
9 changes: 9 additions & 0 deletions charts/greptimedb-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,13 @@ rules:
- patch
- update
- watch
{{- if and .Values.apiServer.enabled .Values.apiServer.podMetrics.enabled }}
- apiGroups:
- metrics.k8s.io
resources:
- pods
verbs:
- get
- list
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -2910,6 +2910,10 @@ spec:
type: integer
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down Expand Up @@ -5820,6 +5824,10 @@ spec:
type: string
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down Expand Up @@ -8713,6 +8721,10 @@ spec:
type: integer
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down Expand Up @@ -11639,6 +11651,10 @@ spec:
type: object
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down Expand Up @@ -11690,6 +11706,10 @@ spec:
type: integer
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down Expand Up @@ -17466,6 +17486,10 @@ spec:
type: object
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2923,6 +2923,10 @@ spec:
type: object
logging:
properties:
filters:
items:
type: string
type: array
format:
enum:
- json
Expand Down
3 changes: 3 additions & 0 deletions charts/greptimedb-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ spec:
{{- if .Values.apiServer.enabled }}
- --enable-apiserver
- --apiserver-port={{ .Values.apiServer.port }}
{{- if .Values.apiServer.podMetrics.enabled }}
- --enable-pod-metrics
{{- end }}
{{- end}}
command:
- greptimedb-operator
{{- if .Values.resources }}
Expand Down
7 changes: 6 additions & 1 deletion charts/greptimedb-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
# -- The image pull policy for the controller
imagePullPolicy: IfNotPresent
# -- The image tag
tag: v0.1.3-alpha.1
tag: v0.1.3-alpha.3
# -- The image pull secrets
pullSecrets: []

Expand Down Expand Up @@ -70,3 +70,8 @@ apiServer:

# -- The port for the API server
port: 8081

# -- The configuration for getting PodMetrics from metrics-server.
podMetrics:
# -- Whether to enable to get PodMetrics from metrics-server.
enabled: false

0 comments on commit c5cf6f7

Please sign in to comment.