Update push-secret-with-template.yaml

This commit is contained in:
Daniel Hougaard
2025-03-28 08:12:11 +04:00
parent 03b0334fa0
commit 10a3c7015e

View File

@@ -4,7 +4,7 @@ metadata:
name: infisical-api-secret-sample-push
spec:
resyncInterval: 1m
hostAPI: http://localhost:8080/api
hostAPI: https://app.infisical.com/api
# Optional, defaults to replacement.
updatePolicy: Replace # If set to replace, existing secrets inside Infisical will be replaced by the value of the PushSecret on sync.
@@ -33,7 +33,21 @@ spec:
# Only have one authentication method defined or you are likely to run into authentication issues.
# Remove all except one authentication method.
authentication:
awsIamAuth:
identityId: <machine-identity-id>
azureAuth:
identityId: <machine-identity-id>
gcpIamAuth:
identityId: <machine-identity-id>
serviceAccountKeyFilePath: </path-to-service-account-key-file.json>
gcpIdTokenAuth:
identityId: <machine-identity-id>
kubernetesAuth:
identityId: <machine-identity-id>
serviceAccountRef:
name: <secret-name>
namespace: <secret-namespace>
universalAuth:
credentialsRef:
secretName: universal-auth-credentials
secretNamespace: default
secretName: <secret-name> # universal-auth-credentials
secretNamespace: <secret-namespace> # default