charts icon indicating copy to clipboard operation
charts copied to clipboard

cluster: add projected volume support

Open plesoun-stein opened this issue 9 months ago • 4 comments

I added projected volume support in In cluster specification tested. my simple testing env: namespace: aaa clusterName: firstcnpg-cluster values:

  projectedVolumeTemplate:
    sources:
      - secret:
          name: crl
          items:
            - key: crl.pem
              path: crl/crl-01.pem

secret successfully mounted in /projected/crl/crl-01.pem

plesoun-stein avatar Feb 03 '25 12:02 plesoun-stein

Could you please include an example in the non-default configuration test?

itay-grudev avatar Feb 03 '25 23:02 itay-grudev

Could you please include an example in the non-default configuration test?

to the file 01-non_default_configuration_cluster.yaml only or 01-non_default_configuration_cluster-assert.yaml too?

plesoun-stein avatar Feb 05 '25 13:02 plesoun-stein

Could you please include an example in the non-default configuration test?

I have added projected volume definiton into values file 01-non_default_configuration_cluster.yaml

  projectedVolumeTemplate:
    sources:
      - secret:
          name: ca-secret 
          items:
          - key: ca.crt
            path: crt/ca-01.pem

I have reused a ca-secret from above and I expect, there is a ca.crt key in the secret.

plesoun-stein avatar Feb 11 '25 16:02 plesoun-stein

Ihave fixed trailing spaces error

plesoun-stein avatar Feb 12 '25 08:02 plesoun-stein

The test here is missing an assertion.

itay-grudev avatar Apr 15 '25 10:04 itay-grudev

Can this be merged ?

mercuryyy avatar Apr 28 '25 13:04 mercuryyy

The test here is missing an assertion.

I have added assertion in charts/cluster/test/postgresql-cluster-configuration/01-non_default_configuration_cluster-assert.yaml I hope it's on the right place.

plesoun-stein avatar May 07 '25 11:05 plesoun-stein

@itay-grudev we're also very interested in this feature. Do we have to fix something or is it just forgotten in the hustle?

pha91 avatar Aug 08 '25 12:08 pha91