Skip to content

Commit

Permalink
Update metadata integration (#289)
Browse files Browse the repository at this point in the history
* do not return internal server error on failure to update metadata

Signed-off-by: Matt Siwiec <[email protected]>

* add deployment extraEnvFrom for additional environment

Signed-off-by: Matt Siwiec <[email protected]>

---------

Signed-off-by: Matt Siwiec <[email protected]>
  • Loading branch information
rizzza authored Dec 11, 2023
1 parent d85a9ac commit 627379f
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 23 deletions.
3 changes: 3 additions & 0 deletions chart/load-balancer-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ spec:
{{- end }}
{{- end }}
envFrom:
{{- if .Values.api.extraEnvFrom }}
{{- toYaml .Values.api.extraEnvFrom | nindent 12 }}
{{- end }}
{{- if .Values.api.db.uriSecret }}
- secretRef:
name: {{ .Values.api.db.uriSecret }}
Expand Down
1 change: 1 addition & 0 deletions chart/load-balancer-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ api:
listenPort: 7608
extraLabels: {}
extraAnnotations: {}
extraEnvFrom: {}
extraEnvVars: []
#- value: "postgresql://user@my-db-server:26257/load_balancer_api"
# name: LOADBALANCERAPI_CRDB_URI
Expand Down
11 changes: 4 additions & 7 deletions internal/graphapi/loadbalancer.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions internal/graphapi/origin.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions internal/graphapi/pool.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions internal/graphapi/port.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 627379f

Please sign in to comment.