diff --git a/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml b/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml index 22cb57e6e2..eee275f5e8 100644 --- a/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml +++ b/helm-charts/secrets-operator/templates/infisicalsecret-crd.yaml @@ -61,8 +61,24 @@ spec: - projectId - serviceAccountSecretReference type: object - required: - - serviceAccount + serviceToken: + properties: + serviceTokenSecretReference: + 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: + - serviceTokenSecretReference + type: object type: object hostAPI: description: Infisical host to pull secrets from diff --git a/k8-operator/kubectl-install/install-secrets-operator.yaml b/k8-operator/kubectl-install/install-secrets-operator.yaml index 159496f911..6c9d5ef0db 100644 --- a/k8-operator/kubectl-install/install-secrets-operator.yaml +++ b/k8-operator/kubectl-install/install-secrets-operator.yaml @@ -68,8 +68,23 @@ spec: - projectId - serviceAccountSecretReference type: object - required: - - serviceAccount + serviceToken: + properties: + serviceTokenSecretReference: + 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: + - serviceTokenSecretReference + type: object type: object hostAPI: description: Infisical host to pull secrets from