mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 15:09:34 +00:00
7
.zshrc
7
.zshrc
@@ -167,13 +167,18 @@ function bitnami_seal() {
|
|||||||
then
|
then
|
||||||
echo 'Invalid parameter, should be like bitnami_seal <namespace> <filename>'
|
echo 'Invalid parameter, should be like bitnami_seal <namespace> <filename>'
|
||||||
else
|
else
|
||||||
|
if [[ ! -f $2 ]]
|
||||||
|
then
|
||||||
|
echo "The file does not exist"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
if [[ $2 != *".raw.yaml" ]]; then
|
if [[ $2 != *".raw.yaml" ]]; then
|
||||||
echo "The variable does not have the .raw.yaml extension"
|
echo "The variable does not have the .raw.yaml extension"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
# parse *.raw.yaml to *.yaml
|
# parse *.raw.yaml to *.yaml
|
||||||
newname=${2//.raw/}
|
newname=${2//.raw/}
|
||||||
kubeseal --controller-namespace sealed-secrets --controller-name sealed-secrets -oyaml -n $1 < $2 > $newname
|
kubeseal --controller-namespace sealed-secrets --controller-name sealed-secrets -oyaml -n $1 -f $2 > $newname
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
1
setup.sh
1
setup.sh
@@ -22,6 +22,7 @@ CONFIG_FILES=(
|
|||||||
starship.toml
|
starship.toml
|
||||||
stylua.toml
|
stylua.toml
|
||||||
direnv
|
direnv
|
||||||
|
zed
|
||||||
)
|
)
|
||||||
|
|
||||||
CUSTOM_FILES=(
|
CUSTOM_FILES=(
|
||||||
|
|||||||
0
zed/keymap.json
Normal file
0
zed/keymap.json
Normal file
14
zed/settings.json
Normal file
14
zed/settings.json
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// Zed settings
|
||||||
|
//
|
||||||
|
// For information on how to configure Zed, see the Zed
|
||||||
|
// documentation: https://zed.dev/docs/configuring-zed
|
||||||
|
//
|
||||||
|
// To see all of Zed's default settings without changing your
|
||||||
|
// custom settings, run the `open default settings` command
|
||||||
|
// from the command palette or from `Zed` application menu.
|
||||||
|
{
|
||||||
|
"ui_font_size": 16,
|
||||||
|
"buffer_font_family": "JetBrainsMono Nerd Font Mono",
|
||||||
|
"vim_mode": true,
|
||||||
|
"buffer_font_size": 16
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user