netscaler-helm-charts icon indicating copy to clipboard operation
netscaler-helm-charts copied to clipboard

[citrix-ingress-controller] feat(extraVolumes): Addition

Open eyenx opened this issue 2 years ago • 5 comments

  • Adds extraVolume/Mounts to the Chart
  • this allows us to deploy cic with additional volumemounts to implemente CSI Secret Provider Classes for holding the nslogin secret.

Signed-off-by: Toni Tauro [email protected]

eyenx avatar Sep 06 '21 13:09 eyenx

hi @eyenx, Thanks for your enhancement, we will review and validate. And also we need to take care of other files as well, we will consider this as an enhancement.

subashd avatar Sep 07 '21 08:09 subashd

any update?

eyenx avatar Mar 01 '22 18:03 eyenx

bump

eyenx avatar Apr 06 '22 21:04 eyenx

hi @eyenx , with the extraVolumeMounts, this will only create extra mounts inside CIC, but you will still need to create the secret as CIC looks for environment variables NS_USER and NS_PASSWORD which picks the values from secret.

        - name: "NS_USER"
          valueFrom:
            secretKeyRef:
              name: {{ .Values.adcCredentialSecret }}
              key: username
        - name: "NS_PASSWORD"
          valueFrom:
            secretKeyRef:
              name: {{ .Values.adcCredentialSecret }}
              key: password

raviganapatp avatar Jul 01 '22 10:07 raviganapatp

I am aware of that

eyenx avatar Jul 01 '22 11:07 eyenx

hi @eyenx we have added this feature to have extra volume mounts and the same can be found in values.yaml

extraVolumeMounts: []
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user.
  #- name: github-key
  #  mountPath: /etc/config/keys/
  #  readOnly: true
  #- name: agent-init-scripts
  #  mountPath: /docker-entrypoint.d/

extraVolumes: []
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user.
  #- name: agent-init-scripts
  #  configMap:
  #     name: agent-init-scripts
  #     defaultMode: 0755
  #- name: github-key
  #  secret:
  #    secretName: github-key
  #    defaultMode: 0744

raviganapatp avatar Nov 10 '22 12:11 raviganapatp