Enapter / charts

Enapter Helm Charts
MIT License
48 stars 49 forks source link

podAntiAffinity - option to change it from values #39

Closed liviuf-ancas closed 2 years ago

liviuf-ancas commented 2 years ago

Hi, can you add option to change the podAntiAffinity rules from values ?

For example i want to change it to requiredDuringSchedulingIgnoredDuringExecution and it's not possible via additionalAffinities variable right now because the sts template has hardcoded podAntiAffinity rules.

My antiaffinity rules :

  podAntiAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
    - labelSelector:
        matchExpressions:
        - key: app.kubernetes.io/instance
          operator: In
          values:
          - "keydb" 
      topologyKey: "kubernetes.io/hostname"       

Thanks

Antiarchitect commented 2 years ago

@liviuancas-elrond Sorry for the delay. Please see keydb 0.30.0 and read https://github.com/Enapter/charts/blob/master/keydb/README.md#0300-upgrade-notice and look into values.yaml