From 19aadf6a3db3955f6647c9c3b7aa750c9186ec0e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 29 Jul 2021 20:18:14 +0200 Subject: [PATCH] fix(deps): update dependency @socialgouv/kosko-charts to v9 (#113) * fix(deps): update dependency @socialgouv/kosko-charts to v9 * test(k8s): update snapshot Co-authored-by: Renovate Bot Co-authored-by: Douglas DUTEIL --- .../kosko generate --env dev.ts.snap | 9 ++++--- .../kosko generate --env preprod.ts.snap | 9 ++++--- .../kosko generate --env prod.ts.snap | 9 ++++--- .k8s/package.json | 2 +- .k8s/yarn.lock | 26 ++++++++++++------- 5 files changed, 36 insertions(+), 19 deletions(-) diff --git a/.k8s/__tests__/__snapshots__/kosko generate --env dev.ts.snap b/.k8s/__tests__/__snapshots__/kosko generate --env dev.ts.snap index 11803e89..f252e3c7 100644 --- a/.k8s/__tests__/__snapshots__/kosko generate --env dev.ts.snap +++ b/.k8s/__tests__/__snapshots__/kosko generate --env dev.ts.snap @@ -125,7 +125,7 @@ spec: app: serving-ml type: ClusterIP --- -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: @@ -149,9 +149,12 @@ spec: http: paths: - backend: - serviceName: serving-ml - servicePort: 80 + service: + name: serving-ml + port: + name: http path: / + pathType: Prefix tls: - hosts: - master-dev42-serving-ml.dev42.fabrique.social.gouv.fr diff --git a/.k8s/__tests__/__snapshots__/kosko generate --env preprod.ts.snap b/.k8s/__tests__/__snapshots__/kosko generate --env preprod.ts.snap index a2f3029d..213f39ad 100644 --- a/.k8s/__tests__/__snapshots__/kosko generate --env preprod.ts.snap +++ b/.k8s/__tests__/__snapshots__/kosko generate --env preprod.ts.snap @@ -124,7 +124,7 @@ spec: app: serving-ml type: ClusterIP --- -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: @@ -148,9 +148,12 @@ spec: http: paths: - backend: - serviceName: serving-ml - servicePort: 80 + service: + name: serving-ml + port: + name: http path: / + pathType: Prefix tls: - hosts: - preprod-serving-ml.dev42.fabrique.social.gouv.fr diff --git a/.k8s/__tests__/__snapshots__/kosko generate --env prod.ts.snap b/.k8s/__tests__/__snapshots__/kosko generate --env prod.ts.snap index e309db9b..4fe18822 100644 --- a/.k8s/__tests__/__snapshots__/kosko generate --env prod.ts.snap +++ b/.k8s/__tests__/__snapshots__/kosko generate --env prod.ts.snap @@ -101,7 +101,7 @@ spec: app: serving-ml type: ClusterIP --- -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: @@ -126,9 +126,12 @@ spec: http: paths: - backend: - serviceName: serving-ml - servicePort: 80 + service: + name: serving-ml + port: + name: http path: / + pathType: Prefix tls: - hosts: - serving-ml.fabrique.social.gouv.fr diff --git a/.k8s/package.json b/.k8s/package.json index 1a508abb..9dcdd2b3 100644 --- a/.k8s/package.json +++ b/.k8s/package.json @@ -9,7 +9,7 @@ "dependencies": { "@kosko/env": "2.0.1", "@kubernetes-models/sealed-secrets": "^1.6.3", - "@socialgouv/kosko-charts": "^6.1.0", + "@socialgouv/kosko-charts": "^9.0.0", "@types/node": "^14.17.5", "kosko": "^1.1.5", "kubernetes-models": "^1.7.1", diff --git a/.k8s/yarn.lock b/.k8s/yarn.lock index 43205ede..5f02b52f 100644 --- a/.k8s/yarn.lock +++ b/.k8s/yarn.lock @@ -646,10 +646,10 @@ "@nodelib/fs.scandir" "2.1.4" fastq "^1.6.0" -"@sindresorhus/is@^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.0.0.tgz#2ff674e9611b45b528896d820d3d7a812de2f0e4" - integrity sha512-FyD2meJpDPjyNQejSjvnhpgI/azsQkA4lGbuu5BQZfjvJ9cbRZXzeWL2HceCekW4lixO9JPesIIQkSoLjeJHNQ== +"@sindresorhus/is@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.0.1.tgz#d26729db850fa327b7cacc5522252194404226f5" + integrity sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g== "@sinonjs/commons@^1.7.0": version "1.8.2" @@ -665,13 +665,16 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@socialgouv/kosko-charts@^6.1.0": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@socialgouv/kosko-charts/-/kosko-charts-6.1.0.tgz#a51e4cae9e8f9fb641d120607342150f87cc5792" - integrity sha512-+3Q0SRD2nhteEjuD+VmxwJ3FA2UpjRb117BOtWh8YUcJzvDsxiMsC99dcnXGn//A9Roa7vaMxAMvzOFG+CzrKw== +"@socialgouv/kosko-charts@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@socialgouv/kosko-charts/-/kosko-charts-9.0.0.tgz#e7debb5f6da36e7d71c71d61e0e646a2006447e1" + integrity sha512-lT2TXHA0fQmbyKMZOGBZ/fFkiBJ5TKVWbZUL4+/54g7R74sNb5jVR2/VD1N9p815jpT/qipTR3kb++nt32HENw== dependencies: - "@sindresorhus/is" "^4.0.0" + "@kubernetes-models/sealed-secrets" "^1.6.3" + "@sindresorhus/is" "^4.0.1" fs-extra "^10.0.0" + kubernetes-models "^1.7.1" + slugify "^1.6.0" "@tootallnate/once@1": version "1.1.2" @@ -2801,6 +2804,11 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slugify@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/slugify/-/slugify-1.6.0.tgz#6bdf8ed01dabfdc46425b67e3320b698832ff893" + integrity sha512-FkMq+MQc5hzYgM86nLuHI98Acwi3p4wX+a5BO9Hhw4JdK4L7WueIiZ4tXEobImPqBz2sVcV0+Mu3GRB30IGang== + source-map-support@^0.5.17, source-map-support@^0.5.6: version "0.5.19" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"