-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat(catalog): Add istio-stack #110
Conversation
4e292b4
to
52a8314
Compare
1bd88e3
to
66f4699
Compare
46a53e6
to
b199e28
Compare
32f5365
to
4475955
Compare
name: istio-apps-mtls | ||
namespace: apps | ||
spec: | ||
host: "*.apps.svc.cluster.local" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is apps? What if the customer doesn't have an apps namespace? Imo this is user specific configuration whcih you can't foresee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it can be removed and a howto on the readme can be added for enabling this feature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we shouldn't do it at all. This too opinionated. We just provide preconfiguration for istio based on where its running, but not how they should define their ingress/egress
1c1e0d2
to
288dc4f
Compare
698ab6a
to
73b524c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it looks fine. Im currently working on infrastructure tests, which we can use here as an admission control
catalog/istio-stack/README.md
Outdated
# istio-stack | ||
|
||
This stack made it easier to setup a service mesh with [istio](https://istio.io/latest/). | ||
It provides the setup for [istio-operator](https://github.com/stevehipwell/helm-charts/tree/master/charts/istio-operator) with sensible defaults |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, didnt see it before. I think this link is not the correct anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjust this sentence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haven't used the separate istio charts yet, just used the istio-operator.
but from the scope (install all base components without explicit configuration) it looks fine.
lets just try it with the next chance.
enabled: true | ||
is_core: false | ||
grafana: | ||
url: "http://kube-prometheus-stack-grafana.monitoring.svc.cluster.local" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url: "http://kube-prometheus-stack-grafana.monitoring.svc.cluster.local" | |
url: "http://prometheus-operator-grafana.monitoring.svc.cluster.local" |
grafana: | ||
url: "http://kube-prometheus-stack-grafana.monitoring.svc.cluster.local" | ||
prometheus: | ||
url: "http://kube-prometheus-stack-operator.monitoring.svc.cluster.local:9090" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url: "http://kube-prometheus-stack-operator.monitoring.svc.cluster.local:9090" | |
url: "http://prometheus-operated.monitoring.svc.cluster.local:9090" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for me kube-prometheus-stack-operator is the one, when kube-prometheus-stack is is in use. Currently we only have the kube-prometheus-stack in the catalog
custom_dashboards: | ||
enabled: true | ||
is_core: false | ||
grafana: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but probably extract the two urls in postBuild.subsitution to make it easy to override?
can one kustomization override the postBuild.subsitutions of another?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good question, but you could also just patch the helmrelease via kustomize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can one kustomization override the postBuild.subsitutions of another?
not sure, but probably not.
maybe we can take out these specific urls and let the user override them according to their setup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure ;) postBuild.substitutions just would be simpler - but I also guess it won't work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if i want to overwrite something, I patch the HelmRelease
is it finished=? |
hm, think so, waiting for the resolution of the conversation about the grafana/prometheus links. |
For me its fine. People can override with kustomize patches |
See issue: