Skip to content

Commit

Permalink
fix secret provider class
Browse files Browse the repository at this point in the history
  • Loading branch information
Telemaco019 committed Sep 30, 2024
1 parent 6d36b04 commit 98333c3
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions templates/secret-provider-class.tpl.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: SecretProviderClass
metadata:
name: nebuly-platform
name: ${secret_provider_class_name}
namespace: nebuly
spec:
provider: gcp
secretObjects:
- secretName: nebuly-platform-credentials
- secretName: ${secret_provider_class_secret_name}
type: Opaque
data:
- key: auth-db-username
- key: ${k8s_secret_key_auth_db_username}
objectName: auth-db-username
- key: auth-db-password
- key: ${k8s_secret_key_auth_db_password}
objectName: auth-db-password
- key: analytics-db-password
- key: ${k8s_secret_key_analytics_db_password}
objectName: analytics-db-password
- key: analytics-db-username
- key: ${k8s_secret_key_analytics_db_username}
objectName: analytics-db-username
- key: openai-api-key
- key: ${k8s_secret_key_openai_api_key}
objectName: openai-api-key
- key: jwt-signing-key
- key: ${k8s_secret_key_jwt_signing_key}
objectName: jwt-signing-key
- key: nebuly-azure-client-id
- key: ${k8s_secret_key_nebuly_client_id}
objectName: nebuly-client-id
- key: nebuly-azure-client-secret
- key: ${k8s_secret_key_nebuly_client_secret}
objectName: nebuly-client-secret
parameters:
secrets: |
- resourceName: projects/796017054480/secrets/dev-postgres-auth-username/versions/2
- resourceName: ${secret_name_auth_db_username}
path: auth-db-username
- resourceName: projects/796017054480/secrets/dev-postgres-auth-password/versions/2
- resourceName: ${secret_name_auth_db_password}
path: auth-db-password
- resourceName: projects/796017054480/secrets/dev-postgres-analytics-username/versions/2
- resourceName: ${secret_name_analytics_db_username}
path: analytics-db-username
- resourceName: projects/796017054480/secrets/dev-postgres-analytics-password/versions/2
- resourceName: ${secret_name_analytics_db_password}
path: analytics-db-password
- resourceName: projects/796017054480/secrets/dev-nebuly-client-id/versions/1
- resourceName: ${secret_name_nebuly_client_id}
path: nebuly-client-id
- resourceName: projects/796017054480/secrets/dev-nebuly-client-secret/versions/1
- resourceName: ${secret_name_nebuly_client_secret}
path: nebuly-client-secret
- resourceName: projects/796017054480/secrets/dev-openai-api-key/versions/1
- resourceName: ${secret_name_openai_api_key}
path: openai-api-key
- resourceName: projects/796017054480/secrets/dev-jwt-signing-key/versions/1
- resourceName: ${secret_name_jwt_signing_key}
path: jwt-signing-key

0 comments on commit 98333c3

Please sign in to comment.