![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@socialgouv/sre-secrets
Advanced tools
Readme
Generate sealed secrets files for k8s deployment.
yarn global add @socialgouv/sre-secrets
This package can also be installed locally.
:warning: It requires kubeseal
CLI installed on your system to work.
Usage: sre-secrets [options]
Options:
-h, --help Show help [boolean]
-f, --from File containing secrets [string] [default: "./.secrets.yaml"]
-t, --to Folder to store sealed secrets [string] [default: "./.k8s"]
-v, --version Show version number [boolean]
Ran at project level it produces all required sealed secrets files for k8s deployment.
sre-secrets --from=./.secrets.yaml --to=./.k8s
Assuming the existence of a .secrets.yaml
file as follows:
namespace: "carnets"
services:
- name: "app"
environments:
dev:
secrets:
SERVICE_TOKEN: "V16gKZBHjh8z7aO2IeFxTqvS5JFCmxHIgyuqQ"
USER_PASSWORD: "ObkWO7BUkmDFAl3v_XP-nNEYADymg2FeO5168-nj9BdreHTyp7NSrnmumBFNbY1dg6m-irxrEHxw"
preprod:
secrets:
SERVICE_TOKEN: "V16gKZBHjh8z7aO2IeFxTqvS5JFCmxHIgyuqQ"
USER_PASSWORD: "ObkWO7BUkmDFAl3v_XP-nNEYADymg2FeO5168-nj9BdreHTyp7NSrnmumBFNbY1dg6m-irxrEHxw"
prod:
secrets:
SERVICE_TOKEN: "V16gKZBHjh8z7aO2IeFxTqvS5JFCmxHIgyuqQ"
USER_PASSWORD: "ObkWO7BUkmDFAl3v_XP-nNEYADymg2FeO5168-nj9BdreHTyp7NSrnmumBFNbY1dg6m-irxrEHxw"
- name: "hasura"
environments:
dev:
secrets:
HASURA_GRAPHQL_ADMIN_SECRET: "hasurapassword"
preprod:
secrets:
HASURA_GRAPHQL_ADMIN_SECRET: "hasurapassword"
prod:
secrets:
HASURA_GRAPHQL_ADMIN_SECRET: "hasurapassword"
HASURA_GRAPHQL_DATABASE_URL: "postgresql://user%40my_server..."
- name: "pg"
environments:
dev:
secretsName: "azure-pg-admin-user" # overwrite default sealed secrets name
secrets:
DATABASE_URL: "postgresql://user%40my_server..."
PGHOST: "my_server..."
PGPASSWORD: "my_password..."
PGSSLMODE: "require"
PGUSER: "my_user..."
preprod:
fileName: "pg-user" # overwrite default sealed secrets file name
secretsName: "azure-pg-user"
secrets:
DATABASE_URL: "postgresql://user%40my_server..."
PGHOST: "my_server..."
PGPASSWORD: "my_password..."
PGSSLMODE: "require"
PGUSER: "my_user..."
prod:
fileName: "pg-user"
secretsName: "azure-pg-user"
secrets:
DATABASE_URL: "postgresql://user%40my_server..."
PGHOST: "my_server..."
PGPASSWORD: "my_password..."
PGSSLMODE: "require"
PGUSER: "my_user..."
yarn start
yarn build
yarn test
With coverage:
yarn test-coverage
FAQs
Generate sealed secrets files for k8s deployment.
The npm package @socialgouv/sre-secrets receives a total of 5 weekly downloads. As such, @socialgouv/sre-secrets popularity was classified as not popular.
We found that @socialgouv/sre-secrets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.