-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from astriaorg/astria@01cda46
- Loading branch information
1 parent
811e150
commit 25fadc8
Showing
7 changed files
with
101 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
set -o errexit -o nounset | ||
|
||
# Only need to configure cometbft data if not already initialized | ||
if [ -z "$(ls -A /cometbft/data)" ]; then | ||
cp -LR /data/ /cometbft/data | ||
fi | ||
|
||
# Don't replace the config directory if it already exists | ||
if [ -z "$(ls -A /cometbft/config)" ]; then | ||
cp -LR /config/ /cometbft/config | ||
else | ||
cp /config/* /cometbft/config/ | ||
fi | ||
|
||
chmod -R 0777 /cometbft |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{- if .Values.secretProvider.enabled }} | ||
|
||
--- | ||
apiVersion: secrets-store.csi.x-k8s.io/v1 | ||
kind: SecretProviderClass | ||
metadata: | ||
name: sequencer-keys-provider | ||
spec: | ||
provider: gcp | ||
secretObjects: | ||
{{- range $key, $value := .Values.secretProvider.secrets }} | ||
- secretName: {{ kebabcase $key }} | ||
type: Opaque | ||
data: | ||
- objectName: {{ $value.filename }} | ||
key: {{ $value.key }} | ||
{{- end }} | ||
parameters: | ||
secrets: | | ||
{{- range $key, $value := .Values.secretProvider.secrets }} | ||
- resourceName: {{ $value.resourceName }} | ||
fileName: "{{ $value.filename }}" | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters