@shepherdjerred/helm-types 1.4.0-dev.5388 → 1.4.0-dev.5410
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
|
@@ -22848,4 +22848,9 @@ Run with --help for usage information`);
|
|
|
22848
22848
|
function toPascalCase(str) {
|
|
22849
22849
|
return str.split(/[-_\s]+/).map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()).join("");
|
|
22850
22850
|
}
|
|
22851
|
-
main
|
|
22851
|
+
if (__require.main == __require.module) {
|
|
22852
|
+
main();
|
|
22853
|
+
}
|
|
22854
|
+
export {
|
|
22855
|
+
toPascalCase
|
|
22856
|
+
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"replicaCount": {
|
|
6
|
+
"type": "integer",
|
|
7
|
+
"description": "Number of pod replicas to run."
|
|
8
|
+
},
|
|
9
|
+
"image": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"repository": { "type": "string" },
|
|
13
|
+
"pullPolicy": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": ["Always", "IfNotPresent", "Never"]
|
|
16
|
+
},
|
|
17
|
+
"tag": { "type": "string" }
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"serviceEnabled": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether the service is enabled."
|
|
23
|
+
},
|
|
24
|
+
"service": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"type": { "type": "string" },
|
|
28
|
+
"port": { "type": "integer" }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# -- Number of pod replicas to run.
|
|
2
|
+
replicaCount: 2
|
|
3
|
+
|
|
4
|
+
image:
|
|
5
|
+
# -- Container image repository.
|
|
6
|
+
repository: nginx
|
|
7
|
+
# -- Image pull policy.
|
|
8
|
+
pullPolicy: IfNotPresent
|
|
9
|
+
# -- Image tag; defaults to the chart appVersion when empty.
|
|
10
|
+
tag: ""
|
|
11
|
+
|
|
12
|
+
# -- Whether the service is enabled.
|
|
13
|
+
serviceEnabled: true
|
|
14
|
+
|
|
15
|
+
service:
|
|
16
|
+
# -- Kubernetes service type.
|
|
17
|
+
type: ClusterIP
|
|
18
|
+
# -- Service port.
|
|
19
|
+
port: 80
|
|
20
|
+
|
|
21
|
+
# -- Extra environment variables passed to the container.
|
|
22
|
+
extraEnv: []
|
package/src/cli.ts
CHANGED
|
@@ -205,11 +205,13 @@ async function main() {
|
|
|
205
205
|
/**
|
|
206
206
|
* Convert a string to PascalCase
|
|
207
207
|
*/
|
|
208
|
-
function toPascalCase(str: string): string {
|
|
208
|
+
export function toPascalCase(str: string): string {
|
|
209
209
|
return str
|
|
210
210
|
.split(/[-_\s]+/)
|
|
211
211
|
.map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())
|
|
212
212
|
.join("");
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
if (import.meta.main) {
|
|
216
|
+
void main();
|
|
217
|
+
}
|