Skip to content

Commit

Permalink
Add an ingress for swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
guzel.khuziakhmetova committed Aug 21, 2024
1 parent e9389a3 commit b037122
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions deployment/helm/client/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ spec:
backend:
service:
name: ping-pong-client-service
port:
number: 8080
- path: /swagger
pathType: Prefix
backend:
service:
name: ping-pong-service-service
port:
number: 8080
2 changes: 1 addition & 1 deletion deployment/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ resource "kubectl_manifest" "argocd-ping-pong-service" {
}

resource "kubectl_manifest" "argocd-ping-pong-client" {
depends_on = [helm_release.argocd, stackit_ske_cluster.ske]
depends_on = [helm_release.argocd, stackit_ske_cluster.ske, kubectl_manifest.argocd-ping-pong-service]
yaml_body = templatefile("${path.module}/argocd_templates/argocd-ping-pong-client.yaml", {
github_repo_url = var.ping_pong_game_github_repo_url
helm_chart_path = "deployment/helm/client"
Expand Down

0 comments on commit b037122

Please sign in to comment.