Skip to content

Commit 7b514fb

Browse files
committed
fix generated Helm chart values.schema.json JSON Schema
1 parent 14d5c52 commit 7b514fb

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ AboutBits PostgreSQL Operator is a Kubernetes operator that helps you manage Pos
1313
│ │ │ │ │ ClusterConnection Controller │ │ │
1414
│ │ ┌────────────────────┐ │ │ ├──────────────────────────────────┤ │ │
1515
│ │ │ ClusterConnection │ │ │ │ Database Controller │ │ │
16-
│ │ └──────────▲─────────┘ │ │ ├──────────────────────────────────┤ │ │
17-
│ │ │ │ │ Role Controller │ │ │
18-
│ │ ┌──────────┴─────────┐ │ │ ├──────────────────────────────────┤ │ │
16+
│ │ └─────────▲──────────┘ │ │ ├──────────────────────────────────┤ │ │
17+
│ │ │ │ │ Role Controller │ │ │
18+
│ │ ┌─────────┴──────────┐ │ │ ├──────────────────────────────────┤ │ │
1919
│ │ │ - Database │ │ │ │ Schema Controller │ │ │
2020
│ │ │ - Schema │ │ │ ├──────────────────────────────────┤ │ │
2121
│ │ │ - Role │ │ │ │ Grant Controller │ │ │
@@ -26,7 +26,7 @@ AboutBits PostgreSQL Operator is a Kubernetes operator that helps you manage Pos
2626
│ │ │
2727
│ ┌────────────────▼─────────────────┐ │
2828
│ │ PostgreSQL Server │ │
29-
│ │ (SQL) │ │
29+
│ │ (JDBC/SQL) │ │
3030
│ └──────────────────────────────────┘ │
3131
└──────────────────────────────────────────────────────────────────────────┘
3232
```

operator/src/main/resources/application.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ quarkus:
7575
values:
7676
replicas:
7777
property: replicas
78-
value: 1
78+
value-as-int: 1
7979
paths:
8080
- (kind == Deployment).spec.replicas
8181
image-pull-policy:
@@ -109,6 +109,12 @@ quarkus:
109109
value-as-map: {}
110110
path: (kind == Deployment).spec.template.spec.affinity
111111
description: Kubernetes affinity configuration for Pod scheduling
112+
values-schema:
113+
properties:
114+
"affinity":
115+
name: app.affinity
116+
description: Kubernetes affinity configuration for Pod scheduling
117+
type: object
112118
expressions:
113119
release-name-labels:
114120
expression: "{{ .Release.Name }}"

0 commit comments

Comments
 (0)