Skip to content

Commit

Permalink
fix(rules): add Traefik
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Oct 23, 2023
1 parent f3f6689 commit d80caa3
Show file tree
Hide file tree
Showing 4 changed files with 17 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 @@ -367,6 +367,7 @@ exports[`all > should match everything 1`] = `
"terraform",
"terragrunt",
"tinybird",
"traefik",
"travisci",
"trufflesecurity",
"twigphp",
Expand Down
1 change: 1 addition & 0 deletions src/rules/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ import './httpd.js';
import './kibana.js';
import './kong.js';
import './nginx.js';
import './traefik.js';
import './zookeeper.js';
9 changes: 9 additions & 0 deletions src/rules/app/traefik.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { register } from '../../register.js';

register({
tech: 'traefik',
name: 'Traefik',
type: 'app',
files: ['traefik.yml', 'traefik.yaml', 'traefik.toml'],
dependencies: [{ type: 'docker', name: 'traefik' }],
});
6 changes: 6 additions & 0 deletions src/rules/spec/docker/__snapshots__/component.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ exports[`docker > should match everything 1`] = `
"supabase.storage",
"telegram",
"tensorflow",
"traefik",
"trufflesecurity",
"typesense",
"vale",
Expand Down Expand Up @@ -550,6 +551,11 @@ exports[`docker > should match everything 2`] = `
"tensorflow/tensorflow",
"0.0.0",
],
[
"docker",
"traefik",
"0.0.0",
],
[
"docker",
"trufflesecurity/trufflehog",
Expand Down

0 comments on commit d80caa3

Please sign in to comment.