Skip to content

Commit

Permalink
Cleaning up helm chart default values so that they don't contain depl…
Browse files Browse the repository at this point in the history
…oyment specific settings
  • Loading branch information
hatboyzero committed Dec 12, 2023
1 parent e959033 commit 823b366
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 145 deletions.
20 changes: 19 additions & 1 deletion deploy/gvalues.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,22 @@ azureWorkloadIdentity:
langChainApiClientId: {{langChainApiMiClientId}}
promptHubApiClientId: {{promptHubApiMiClientId}}
semanticKernelApiClientId: {{semanticKernelApiMiClientId}}
tenantId: {{tenantId}}
tenantId: {{tenantId}}

ingress:
enabled: true
protocol: https
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
17 changes: 1 addition & 16 deletions deploy/helm/agent-factory-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/agent-hub-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/chat-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/core-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "DNT,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,X-AGENT-HINT"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/data-source-hub-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/gatekeeper-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/langchain-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/prompt-hub-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down
17 changes: 1 addition & 16 deletions deploy/helm/semantic-kernel-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,7 @@ tolerations: []
affinity: {}

ingress:
enabled: true
protocol: #http | https (set by script)
annotations:
kubernetes.io/ingress.class: addon-http-application-routing
ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/rewrite-target: /$2
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/secure-backends: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
nginx.ingress.kubernetes.io/cors-allow-methods: "*"
tls:
- secretName: tls-prod
enabled: false

env:
configmap:
Expand Down

0 comments on commit 823b366

Please sign in to comment.