UNCLASSIFIED - NO CUI

Skip to content

Add support for networkPolicies to elasticsearchKibana schema

Andrew Kesterson requested to merge ek_143_networkPolicies_schema into master

Package Merge Request

Package Changes

This change modifies the bigbang values schema to allow for the use of networkPolicies in the elasticsearchKibana block.

Before the change, this override causes an error:

elasticsearchKibana:
  networkPolicies:
    enabled: true
    additionalPolicies:
      - name: this-is-an-ek-operator-job-test-test
        spec:
          podSelector: {}
          policyTypes:
          - Egress
          egress:
          - to:
            - ipBlock:
                cidr: 172.20.0.0/12
      - name: this-is-a-zwei-ek-operator-job-test-test
        spec:
          podSelector: {}
          policyTypes:
          - Ingress
          ingress:
          - from:
            - ipBlock:
                cidr: 172.20.0.0/12


Error: values don't meet the specifications of the schema(s) in the following chart(s):
bigbang:
- elasticsearchKibana: Additional property networkPolicies is not allowed

After the change, this override deploys cleanly.

Package MR

big-bang/product/packages/elasticsearch-kibana!231 (merged)

For Issue

elasticsearch-kibana #143 : Add support for custom network policies

Upgrade Notices

(Include any relevant notes about upgrades here or write "N/A" if there are none)

Edited by Andrew Kesterson

Merge request reports