Skip to content

Commit 0fb07bd

Browse files
authored
Fix generated Helm chart values.schema.json JSON Schema (#16)
* fix generated Helm chart values.schema.json JSON Schema * small ASCII chart alignment fix
1 parent 14d5c52 commit 0fb07bd

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)