Fix helm stuff

This commit is contained in:
Finn 2024-08-26 22:52:28 -07:00
parent 129d0d5b02
commit 49d2740813
4 changed files with 51 additions and 29 deletions

View file

@ -3,9 +3,9 @@ kind: Kustomization
helmCharts: helmCharts:
- name: external-secrets - name: external-secrets
valuesInline: valuesInline:
fullnameOverride: external-secrets # otherwise all resource names are inexplicably prefixed with "release-name-"
bitwarden-sdk-server: bitwarden-sdk-server:
enabled: false # default, bitwarden-sdk-server doesn't work with vaultwarden (https://github.com/external-secrets/bitwarden-sdk-server/issues/18) enabled: false # default, bitwarden-sdk-server doesn't work with vaultwarden (https://github.com/external-secrets/bitwarden-sdk-server/issues/18)
namespace: external-secrets namespace: external-secrets
releaseName: external-secrets
version: v0.10.0 version: v0.10.0
repo: https://charts.external-secrets.io repo: https://charts.external-secrets.io

View file

@ -0,0 +1,20 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openbao
helmCharts:
- name: openbao
valuesInline:
fullnameOverride: openbao
global:
namespace: openbao
injector:
enabled: false
server:
ha:
enabled: true
repliacas: 3
raft:
enabled: true
releaseName: openbao
version: 0.4.0
repo: https://openbao.github.io/openbao-helm

View file

@ -1,9 +1,11 @@
#!/bin/bash #!/bin/bash
# Usage: from the git root directory (../ relative to this file)
# podman run -v $(pwd):/repo --workdir /repo/helm nixery.dev/shell/kubectl/kubernetes-helm sh -c ./render-all.sh
set -exuo pipefail set -exuo pipefail
header="# DO NOT EDIT: This file has been automatically generated by the script in helm/render-all.sh, edits may get overwritten" header="# DO NOT EDIT: This file has been automatically generated by the script in helm/render-all.sh, edits may get overwritten"
echo "${header}" > ../k8s/operators/external-secrets/bundle.yaml # operators
kubectl kustomize --enable-helm external-secrets/ >> ../k8s/operators/external-secrets/bundle.yaml for component in openbao external-secrets; do
echo "${header}" > ../k8s/operators/${component}/bundle.yaml
kubectl kustomize --enable-helm ${component}/ >> ../k8s/operators/${component}/bundle.yaml
done

View file

@ -13166,7 +13166,7 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13178,7 +13178,7 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-cert-controller app.kubernetes.io/name: external-secrets-cert-controller
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13190,7 +13190,7 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13202,7 +13202,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13240,7 +13240,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-cert-controller app.kubernetes.io/name: external-secrets-cert-controller
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13306,7 +13306,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13417,7 +13417,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13461,7 +13461,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13482,7 +13482,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13523,7 +13523,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13543,7 +13543,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-cert-controller app.kubernetes.io/name: external-secrets-cert-controller
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13562,7 +13562,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13581,7 +13581,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13594,7 +13594,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13609,7 +13609,7 @@ spec:
protocol: TCP protocol: TCP
targetPort: 10250 targetPort: 10250
selector: selector:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
type: ClusterIP type: ClusterIP
--- ---
@ -13617,7 +13617,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13629,12 +13629,12 @@ spec:
revisionHistoryLimit: 10 revisionHistoryLimit: 10
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets app.kubernetes.io/name: external-secrets
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13672,7 +13672,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-cert-controller app.kubernetes.io/name: external-secrets-cert-controller
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13684,12 +13684,12 @@ spec:
revisionHistoryLimit: 10 revisionHistoryLimit: 10
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/name: external-secrets-cert-controller app.kubernetes.io/name: external-secrets-cert-controller
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-cert-controller app.kubernetes.io/name: external-secrets-cert-controller
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13739,7 +13739,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0
@ -13751,12 +13751,12 @@ spec:
revisionHistoryLimit: 10 revisionHistoryLimit: 10
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
template: template:
metadata: metadata:
labels: labels:
app.kubernetes.io/instance: release-name app.kubernetes.io/instance: external-secrets
app.kubernetes.io/managed-by: Helm app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: external-secrets-webhook app.kubernetes.io/name: external-secrets-webhook
app.kubernetes.io/version: v0.10.0 app.kubernetes.io/version: v0.10.0