@secretlint/secretlint-rule-no-k8s-kind-secret v9.3.4
@secretlint/secretlint-rule-no-k8s-kind-secret
A secretlint rule that disallow to use Kind: Secret in Kubernetes repository.
Install
Install with npm:
npm install @secretlint/secretlint-rule-no-k8s-kind-secretUsage
Via .secretlintrc.json(Recommended)
{
"rules": [
{
"id": "@secretlint/secretlint-rule-no-k8s-kind-secret"
}
]
}MessageIds
disallowToUseKindSecret
disallow to use Kind: Secret in manifest: {{FILE_NAME}}
Kubernetes's Kind: Secret includes credentials as plain format.
It just base64 encoded value.
apiVersion: v1
kind: Secret
metadata:
name: mysecret
type: Opaque
data:
username: YWRtaW4=
password: MWYyZDFlMmU2N2RmSo, Kind: Secret manifest is not committable file into a repository.
In GitOps context, you can use another solution like SealedSecret, Vault etc...
- GitOps - Frequently Asked Questions
- Secret Management - Argo CD - Declarative GitOps CD for Kubernetes
Options
- No Options
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test:
npm i -d && npm testContributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
License
MIT © azu
8 months ago
10 months ago
6 months ago
7 months ago
7 months ago
8 months ago
8 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago