Update renovate/renovate Docker tag to v41.169.1 - abandoned #97
38
infra/configs/ovh-cert-manager-secret.yaml
Normal file
38
infra/configs/ovh-cert-manager-secret.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: ovh-credentials
|
||||
namespace: cert-manager
|
||||
---
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultAuth
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
method: kubernetes
|
||||
mount: kubernetes
|
||||
kubernetes:
|
||||
role: cert-manager
|
||||
serviceAccount: ovh-credentials
|
||||
---
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: webhook-ovh-credentials
|
||||
namespace: cert-manager
|
||||
spec:
|
||||
type: kv-v2
|
||||
|
||||
mount: secret
|
||||
path: ovh-cert-manager
|
||||
|
||||
destination:
|
||||
create: true
|
||||
name: ovh-credentials
|
||||
type: Opaque
|
||||
transformation:
|
||||
excludeRaw: true
|
||||
|
||||
vaultAuthRef: cert-manager
|
||||
@@ -20,3 +20,4 @@ resources:
|
||||
- configs/single-hdd-sc.yaml
|
||||
- configs/mayastor-snapshotclass.yaml
|
||||
- configs/openbao-cert.yaml
|
||||
- configs/ovh-cert-manager-secret.yaml
|
||||
|
||||
6
vault/kubernetes-roles/cert-manager.yaml
Normal file
6
vault/kubernetes-roles/cert-manager.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
bound_service_account_names:
|
||||
- ovh-credentials
|
||||
bound_service_account_namespaces:
|
||||
- cert-manager
|
||||
token_policies:
|
||||
- ovh-credentials
|
||||
3
vault/policy/ovh-credentials.hcl
Normal file
3
vault/policy/ovh-credentials.hcl
Normal file
@@ -0,0 +1,3 @@
|
||||
path "secret/data/ovh-cert-manager" {
|
||||
capabilities = ["read"]
|
||||
}
|
||||
Reference in New Issue
Block a user