Skip to content

Commit

Permalink
udpating chart for istio
Browse files Browse the repository at this point in the history
  • Loading branch information
sepulworld committed Mar 31, 2022
1 parent 3bacdc1 commit f8f0c1c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/dinghy-ping/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "v1.0.0"
description: A Helm chart for dinghy-ping
name: dinghy-ping
version: 0.4.5
version: 0.4.6
icon: https://user-images.githubusercontent.com/538171/64288240-732bef00-cf16-11e9-830a-7b08759bffad.jpg
maintainers:
- name: sepulworld
2 changes: 1 addition & 1 deletion charts/dinghy-ping/templates/istio-virtual-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
gateways:
{{ toYaml . | indent 4 }}
{{ toYaml .Values.istioVirtualService.gateways | indent 4 }}
hosts:
- {{ .Release.Name }}.{{- .Values.subdomain }}
http:
Expand Down
3 changes: 1 addition & 2 deletions charts/dinghy-ping/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ nginxIngress:

istioVirtualService:
enabled: false
# gateways:
# - istio-gateways/private-gateway
gateways: []
tls: []
# - secretName: chart-example-tls
# hosts:
Expand Down
4 changes: 1 addition & 3 deletions tests/api_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
import sys

import pytest
import services.api as service

sys.path.insert(0, "./dinghy_ping/")
import dinghy_ping.services.api as service

with open("tests/multiple_domains.json") as f:
multiple_domains = json.load(f)
Expand Down

0 comments on commit f8f0c1c

Please sign in to comment.