add scripts, remove unneeded kustomizations

This commit is contained in:
Angel Nunez Mencias 2024-11-09 21:01:12 -03:00
parent 77e204d86c
commit f22b700704
Signed by: angel.nunez
SSH key fingerprint: SHA256:z1nFAg1v1AfbhEHrgBetByUJUwziv2R2f4VyN75opcg
4 changed files with 8 additions and 15 deletions

View file

@ -63,7 +63,7 @@ spec:
memory: 64Mi
limits:
memory: 64Mi
cpu: 10m
cpu: 100m
defaultPodOptions:
securityContext:
runAsNonRoot: true

View file

@ -1,7 +0,0 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml

View file

@ -1,7 +0,0 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./bjw-s.yaml

7
scripts/rewrap-secrets.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
FOLDER="$(dirname "$(dirname "$(readlink -f "$0")")")"
#find $FOLDER -type f -name ".+\.secret(\.sops)?\.ya?ml"
for f in $(find $FOLDER -type f -name "*secret.sops.yaml"); do
cd $(dirname $f)
sops updatekeys --yes $f
done