update k8 operator to use service account

This commit is contained in:
Maidul Islam
2023-04-16 16:51:36 -07:00
parent 56c35293eb
commit 619fe553ef
13 changed files with 388 additions and 30 deletions
@@ -35,6 +35,35 @@ spec:
spec:
description: InfisicalSecretSpec defines the desired state of InfisicalSecret
properties:
authentication:
properties:
serviceAccount:
properties:
environmentName:
type: string
projectId:
type: string
serviceAccountSecretReference:
properties:
secretName:
description: The name of the Kubernetes Secret
type: string
secretNamespace:
description: The name space where the Kubernetes Secret
is located
type: string
required:
- secretName
- secretNamespace
type: object
required:
- environmentName
- projectId
- serviceAccountSecretReference
type: object
required:
- serviceAccount
type: object
hostAPI:
description: Infisical host to pull secrets from
type: string
@@ -62,6 +91,8 @@ spec:
- secretName
- secretNamespace
type: object
required:
- managedSecretReference
type: object
status:
description: InfisicalSecretStatus defines the observed state of InfisicalSecret