Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
0pens0 committed Aug 12, 2024
1 parent fc16359 commit d0a0deb
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .tanzu/config/genai-external-serivce.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: v1
data:
uri: aHR0cHM6Ly9nZW5haS1wcm94eS5zeXMudGFzLnZtdGFuenUuY29t
api-key: c2stNFkzanFoY0FldG16RjVueHFlLTZQdw==
provider: b3BlbmFp # openai
type: b3BlbmFp # openai
kind: Secret
metadata:
name: genai-creds
type: servicebinding.io/ai

---
apiVersion: services.tanzu.vmware.com/v1
kind: PreProvisionedService
metadata:
name: genai
spec:
bindingConnectors:
- name: main
description: Gen AI credentials
type: openai
secretRef:
name: genai-creds
26 changes: 26 additions & 0 deletions .tanzu/config/pgvector-external-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
data:
database: cG9zdGdyZXM=
host: dGNwLnRhcy52bXRhbnp1LmNvbQ==
password: bnMyQW8xNVE5N0U4ZnpJUDA0NjM=
port: MTAyNA== #1024
provider: dGFzcG9zdGdyZXNxbA== # tas
type: cG9zdGdyZXNxbAo= # postgresql
username: cGdhZG1pbg== # pgadmin
kind: Secret
metadata:
name: pgvector-creds
type: servicebinding.io/postgresql

---
apiVersion: services.tanzu.vmware.com/v1
kind: PreProvisionedService
metadata:
name: pgvector
spec:
bindingConnectors:
- name: main
description: Posgres pgvector service for AI use cases
type: postgresql
secretRef:
name: pgvector-creds
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main/resources/static/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.navbar .container {
background-color: black;
background-color: green;
}

.navbar .navbar-brand {
Expand Down

0 comments on commit d0a0deb

Please sign in to comment.