Skip to content

Commit 19d9333

Browse files
author
Maurice Faber
committed
fix: file refs, api version
1 parent 14a2ad9 commit 19d9333

File tree

14 files changed

+301
-205
lines changed

14 files changed

+301
-205
lines changed

.eslintrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ extends:
1919
- plugin:import/errors
2020
- plugin:import/warnings
2121
- plugin:import/typescript
22+
- plugin:chai-friendly/recommended
2223

2324
plugins:
2425
- import

chart/otomi/templates/job.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@ spec:
3232
set -e
3333
kubectl -n otomi get cm otomi-status && echo 'Already installed. Installation of Otomi with chart can happen only once! To destroy or modify the configuration please use the Otomi CLI.' && exit 1
3434
binzx/otomi bootstrap
35-
sleep infinity
36-
# binzx/otomi apply
37-
# kubectl -n otomi create cm otomi-status --from-literal=status='Installed using chart'
35+
binzx/otomi apply
3836
env:
3937
- name: CI
4038
value: '1'
4139
- name: IN_DOCKER
4240
value: '1'
4341
- name: VERBOSITY
44-
value: '2'
42+
value: '1'
4543
- name: ENV_DIR
4644
value: /home/app/stack/env
4745
- name: VALUES_INPUT

package-lock.json

+75
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dependencies": {
1212
"@apidevtools/json-schema-ref-parser": "^9.0.9",
1313
"ajv": "^8.6.0",
14+
"clean-deep": "^3.4.0",
1415
"cli-select": "^1.1.2",
1516
"debug": "^4.3.1",
1617
"dotenv": "^10.0.0",
@@ -57,6 +58,7 @@
5758
"eslint": "^7.29.0",
5859
"eslint-config-airbnb-base": "^14.2.1",
5960
"eslint-config-prettier": "^8.3.0",
61+
"eslint-plugin-chai-friendly": "^0.7.2",
6062
"eslint-plugin-import": "^2.23.4",
6163
"eslint-plugin-prettier": "^3.4.0",
6264
"git-cz": "^4.7.6",
@@ -71,6 +73,10 @@
7173
"ts-node": "^10.1.0",
7274
"typescript": "^4.3.4"
7375
},
76+
"engines": {
77+
"node": ">=15.0.0",
78+
"npm": ">=6.0.0"
79+
},
7480
"homepage": "https://github.com/redkubes/otomi-core#readme",
7581
"husky": {
7682
"hooks": {
@@ -136,9 +142,6 @@
136142
"tag": true
137143
}
138144
},
139-
"engines": {
140-
"node": ">=15.0.0"
141-
},
142145
"type": "module",
143146
"version": "0.13.11"
144147
}

src/cmd/apply.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const commitOnFirstRun = async () => {
4747

4848
if ((await nothrow($`git ls-remote`)).stdout.trim().length !== 0) return
4949
await commit()
50-
await nothrow($`kubectl -n otomi create cm otomi-status --from-literal=status='Installed using CLI'`)
50+
await nothrow($`kubectl -n otomi create cm otomi-status --from-literal=status='Installed'`)
5151
cd(startingDir)
5252
}
5353

0 commit comments

Comments
 (0)