odpi / egeria-samples

various samples that can be useful either for learning or as initial starting points for working with Egeria
Apache License 2.0
13 stars 8 forks source link

If istio auto-sidecar-injection enabled in namespace, charts won't override #21

Closed planetf1 closed 3 years ago

planetf1 commented 5 years ago

If auto sidecar injection of istio is enabled at a namespace level, setting istio: enabled: false

isn't sufficient, since no annotations will be made to a pod definition to prevent this

Instead we need to actually pass the false value, not skip the annotation

ie

  annotations:
    {{ if .Values.istio.enabled }}
    sidecar.istio.io/inject: "true"
    {{- end }}

It's probably better to

Istio does allow default configuration at the namespace level -- this annotation will just override in a pod specific way.

Mitigation - to stop using istio now, remove the annotation from the namespace.

planetf1 commented 5 years ago

see https://istio.io/help/ops/setup/injection/

planetf1 commented 5 years ago

To remove istio injection kubectl label namespace egeria istio-injection=disabled --overwrite

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.

planetf1 commented 4 years ago

still valid

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.

planetf1 commented 3 years ago

The VDC environment will need significant re-work to adapt to the many changes made in Egeria to better support metadata integration. Additionally the helm charts used for the lab & a simple base config have evolved to better support different types of services, exposing of ports, persistent storage etc.

As such specific incremental changes to the current - now old - charts do not really add value.

As such closing for now