Skip to content

Commit

Permalink
Use https
Browse files Browse the repository at this point in the history
  • Loading branch information
benchiverton committed Jun 26, 2024
1 parent 3a103b1 commit 38ca1fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/instance-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
location: 'East US'
resourceGroup: ${{ env.resource_group_name }}
targetPort: 8080
environmentVariables: "OTEL_EXPORTER_OTLP_ENDPOINT=http://${{ env.container_app_monitoring_fqdn }}:18889"
environmentVariables: "OTEL_EXPORTER_OTLP_ENDPOINT=https://${{ env.container_app_monitoring_fqdn }}:18889"
- name: Deploy website
uses: azure/container-apps-deploy-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/instance-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
location: 'East US'
resourceGroup: ${{ env.resource_group_name }}
targetPort: 8080
environmentVariables: "OTEL_EXPORTER_OTLP_ENDPOINT=http://${{ env.container_app_monitoring_fqdn }}:18889"
environmentVariables: "OTEL_EXPORTER_OTLP_ENDPOINT=https://${{ env.container_app_monitoring_fqdn }}:18889"
- name: Deploy website
uses: azure/container-apps-deploy-action@v1
with:
Expand All @@ -144,7 +144,7 @@ jobs:
const output = `### Test environment information
#### πŸ”—[Visit website](https://${{ env.container_app_website_fqdn }}/)
#### πŸ”—[Visit API](https://${{ env.container_app_api_fqdn }}/swagger/)
#### πŸ”—[Visit monitoring UI](http://${{ env.container_app_monitoring_fqdn }})
#### πŸ”—[Visit monitoring UI](https://${{ env.container_app_monitoring_fqdn }})
*Pusher: @${{ github.actor }}, Action: \`${{ github.event_name }}\`, Working Directory: \`${{ env.tf_actions_working_dir }}\`, Workflow: \`${{ github.workflow }}\`*`;
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Company.Api/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"Microsoft.AspNetCore": "Warning"
}
},
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://onlinestore-update-monitoring-monitoring.eastus.azurecontainer.io:18889",
"OTEL_EXPORTER_OTLP_ENDPOINT": "set-me",
"OTEL_SERVICE_NAME": "Company.Api"
}
1 change: 0 additions & 1 deletion terraform/instance/container_apps.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ resource "azurerm_container_app" "monitoring" {
external_enabled = true
transport = "http"
target_port = 18888
allow_insecure_connections = true
traffic_weight {
latest_revision = true
percentage = 100
Expand Down

0 comments on commit 38ca1fc

Please sign in to comment.