https://github.com/cappyzawa/mask-k8s-secrets
https://github.com/cappyzawa/mask-k8s-secrets
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cappyzawa/mask-k8s-secrets
- Owner: cappyzawa
- License: apache-2.0
- Created: 2023-05-13T17:27:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-21T13:16:30.000Z (8 months ago)
- Last Synced: 2025-01-05T11:28:11.365Z (4 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mask-k8s-secrets
This command masks your kustomize secrets.
## How to install
This command can be install from [GitHub Releases](https://github.com/cappyzawa/mask-k8s-secrets/releases).
## How to use
```
$ mask-k8s-secrets# use kustomize
$ kustomize build . | mask-k8s-secrets# use a raw manifest
$ cat ./manifest.yaml | mask-k8s-secrets
```Output is as follows.
```yaml
apiVersion: v1
data:
password: '***'
username: '***'
kind: Secret
metadata:
name: secret-basic-auth
type: kubernetes.io/basic-auth
```