mirror of
https://github.com/devitq/homelab.git
synced 2026-11-20 21:57:39 +00:00
init(): initial commit
This commit is contained in:
216 files changed
+36511
No files matched your search
@@ -0,0 +1,20 @@
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ClusterSecretStore
|
||||
metadata:
|
||||
name: infisical
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-1"
|
||||
spec:
|
||||
provider:
|
||||
infisical:
|
||||
hostAPI: https://vault.itqdev.xyz
|
||||
auth:
|
||||
kubernetesAuthCredentials:
|
||||
identityId:
|
||||
name: infisical-kubernetes-auth
|
||||
key: identityId
|
||||
namespace: external-secrets
|
||||
secretsScope:
|
||||
projectSlug: k8s-homelab
|
||||
environmentSlug: prod
|
||||
secretsPath: /
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: infisical-kubernetes-auth
|
||||
namespace: external-secrets
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
type: Opaque
|
||||
stringData:
|
||||
identityId: 306b967d-5f24-4b78-bbb1-0b49d20c64b0
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: external-secrets-infisical-token-reviewer
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
rules:
|
||||
- apiGroups:
|
||||
- authentication.k8s.io
|
||||
resources:
|
||||
- tokenreviews
|
||||
verbs:
|
||||
- create
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: external-secrets-infisical-token-reviewer
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: external-secrets-infisical-token-reviewer
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: external-secrets-operator
|
||||
namespace: external-secrets
|
||||
Reference in new issue
Block a user