Skip to content

Commit

Permalink
fix(rules): add OVH Kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 21, 2023
1 parent 75b7dbf commit e9c0ec6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ exports[`all > should match everything 1`] = `
"oraclecloud",
"ovh",
"ovh.database",
"ovh.kubernetes",
"pagerduty",
"papertrail",
"paypal",
Expand Down
1 change: 1 addition & 0 deletions src/rules/hosting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import './github.pages.js';
import './koyeb.js';
import './kubernetes.js';
import './mongodbatlas.js';
import './ovh.kubernetes.js';
import './platformsh.js';
import './qovery.cluster.js';
import './render.js';
Expand Down
10 changes: 10 additions & 0 deletions src/rules/hosting/ovh.kubernetes.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { register } from '../../register.js';

register({
tech: 'ovh.kubernetes',
name: 'OVH Kubernetes',
type: 'hosting',
dependencies: [
{ type: 'terraform.resource', name: 'ovh_cloud_project_kube' },
],
});
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ exports[`terraform (resource) > should match everything 1`] = `
"jira",
"ovh",
"ovh.database",
"ovh.kubernetes",
"qovery",
"qovery.cluster",
"qovery.database",
Expand Down
2 changes: 2 additions & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ export type AllowedKeys =
| 'optimizely'
| 'oraclecloud'
| 'ovh.database'
| 'ovh.kubernetes'
| 'ovh.storage'
| 'ovh'
| 'pagerduty'
| 'papertrail'
Expand Down

0 comments on commit e9c0ec6

Please sign in to comment.