Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add istio gateway template #183

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yciabaud
Copy link

Hi there I made a little addition to your project, I made a PR from it it you are interested in it too.

This adds the ability to create a istio gateway crd to expose istio services in an ingress gateway.

@goruha
Copy link
Member

goruha commented Dec 27, 2018

@yciabaud awesome.
Thanks for the PR.
I did not work with istio.
Do we need one gateway per chart or it would be better to have a list of gateways?

Copy link
Member

@aknysh aknysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comments

@yciabaud yciabaud force-pushed the feature-monochart-gateway branch from 9eb582b to 6338fb8 Compare March 22, 2019 16:36
@yciabaud yciabaud force-pushed the feature-monochart-gateway branch from c936e35 to 0cd7ca4 Compare March 22, 2019 16:44
@yciabaud yciabaud force-pushed the feature-monochart-gateway branch from 0cd7ca4 to b6bd15e Compare March 22, 2019 16:52
@yciabaud
Copy link
Author

Sorry I forgot to come back here for a while, I have updated my PR, feel free to have a look at it.

@@ -314,3 +314,28 @@ ingress:
# - secretName: server-tls
# hosts:
# - domain.com

# Istio gateway
istio_gateways:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add [] since the list is commented out?

Suggested change
istio_gateways:
istio_gateways: []

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@goruha 👆

@@ -65,3 +65,29 @@ deployment:
## https://github.com/jtblin/kube2iam
# iam.amazonaws.com/role: role-arn
labels: {}

istio_gateways:
- name: gateway1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yciabaud I think we should change the pattern now istio_gateways defined

istio_gateways:
  gateway1:
    enabled: true
    selector:
      istio: istio-gateway
    servers:
    - hosts:
      - '*.domain.com'
      port:
        name: http
        number: 80
        protocol: HTTP
      tls:
        httpsRedirect: true
    - hosts:
      - '*.domain.com'
      port:
        name: http-tls
        number: 443
        protocol: HTTP
      tls:
        mode: SIMPLE
        privateKey: /etc/istio/ingressgateway-certs/tls.key
        serverCertificate: /etc/istio/ingressgateway-certs/tls.crt

Copy link
Member

@goruha goruha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check the comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants