Skip to content

Commit

Permalink
Fix cors issues (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfespa17 authored Apr 27, 2022
1 parent f7d4750 commit 98725e1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ spec:
spec:
containers:
- name: terrakube-api
image: azbuilder/api-server:{{ .Values.api.version }}
#image: azbuilder/api-server:{{ .Values.api.version }}
image: azbuilder/api-server:2.1.8
ports:
- containerPort: 8080
envFrom:
Expand Down
3 changes: 2 additions & 1 deletion templates/deployment-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ spec:
spec:
containers:
- name: terrakube-registry
image: azbuilder/open-registry:{{ .Values.registry.version }}
#image: azbuilder/open-registry:{{ .Values.registry.version }}
image: azbuilder/open-registry:2.1.8
ports:
- containerPort: 8075
envFrom:
Expand Down
1 change: 1 addition & 0 deletions templates/secrets-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ stringData:
DatasourcePassword: '{{ .Values.api.properties.databasePassword }}'
TerrakubeHostname: '{{ .Values.ingress.api.domain }}'
AzBuilderExecutorUrl: 'http://terrakube-executor-service:8090/api/v1/terraform-rs'
TerrakubeUiURL: 'https://{{ .Values.ingress.ui.domain }}'
{{ end }}
1 change: 1 addition & 0 deletions templates/secrets-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ stringData:
TerrakubeEnableSecurity: 'true'
AzureAdAppId: '{{ .Values.security.azure.appClientId }}'
AzureAdApiIdUri: '{{ .Values.security.azure.appIdURI }}'
TerrakubeUiURL: 'https://{{ .Values.ingress.ui.domain }}'
{{ end }}

0 comments on commit 98725e1

Please sign in to comment.