FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
stackrox/dev-tools/setup-notifier-encryption.sh at master · stackrox/stackrox · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
stackrox
/
stackrox
Public
Notifications
You must be signed in to change notification settings
Fork
191
Star
1.3k
Code
Issues
54
Pull requests
604
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
stackrox
/
dev-tools
/
setup-notifier-encryption.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
26 lines (21 loc) · 724 Bytes
Breadcrumbs
stackrox
/
dev-tools
/
setup-notifier-encryption.sh
Copy path
File metadata and controls
executable file
·
26 lines (21 loc) · 724 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!
/usr/bin/env bash
set
-eo pipefail
DIR=
"
$(
cd
"
$(
dirname
"
${BASH_SOURCE[0]}
"
)
"
&&
pwd
)
"
cd
"
$DIR
"
/..
key_string=
$(
echo
"
key-string-1234
"
|
base64
)
echo
"
apiVersion: v1
stringData:
key-chain.yaml: |
keyMap:
0:
$key_string
activeKeyId: 0
kind: Secret
metadata:
name: central-encryption-key-chain
namespace: stackrox
type: Opaque
"
|
kubectl -n stackrox apply -f -
kubectl -n stackrox
set
env deployment/central ROX_ENC_NOTIFIER_CREDS=true
make -C
"
$DIR
/../
"
cli-linux
"
$DIR
"
/debug-helm-chart.sh -n stackrox upgrade stackrox-central-services --set central.notifierSecretsEncryption.enabled=true --reuse-values
"
$DIR
"
/../stackrox-central-services-chart
Back
|
FazBrowse Home
|
New Git URL