Code Monkey home page Code Monkey logo

charts's Issues

mailpit helm chart seems to be broken

Hello.

It looks like mailpit helm chart is broken:

$ helm repo add jouve https://jouve.github.io/charts/
$ helm template --version "0.7.2" mailpit jouve/mailpit
Error: template: mailpit/templates/smtp-service.yaml:6:14: executing "mailpit/templates/smtp-service.yaml" at <include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $)>: error calling include: template: mailpit/charts/common/templates/_tplvalues.tpl:35:11: executing "common.tplvalues.merge" at <include "common.tplvalues.render" (dict "value" . "context" $.context "scope" $.scope)>: error calling include: template: mailpit/charts/common/templates/_tplvalues.tpl:19:8: executing "common.tplvalues.render" at <tpl $value .context>: error calling tpl: cannot retrieve Template.Basepath from values inside tpl function: app.kubernetes.io/version: '{{ .Values.image.tag }}': "BasePath" is not a value

Use --debug flag to render out invalid YAML

Thank you for looking at it...

Enable crd for HNC

Currently the CRDs are hosted in this repo, but they are not packaged in the helm chart. If the installation of the CRDs could be included in the Helm chart, and exposed through a Values options such as “installCRD: true” that would be helpful

Accessing mailpit-smtp service via ingress

Hello,

Is there any possibility to access the mailpit-smtp service from Kubernetes through an ingress? In other words, can messages be sent to mailpit installed in kubernetes from an external application (an app created outside Kubernetes, where mailpit-smtp.namespace.svc.cluster.local cannot be used)?

I tried to create a working ingress for the mailpit-smtp service but without success.

I didn't find any discussion about this.

Thank you!

mailpit: Problem getting TLS to work on Ingress

Running helm install mailpit jouve/mailpit --values values.yaml with the following config:

ingress:
  enabled: true
  ingressClassName: "nginx-ingress-controller"
  hostname: "mail.example.domain"
  tls: true

The Ingress resource generated looks like this, no TLS config gets rendered:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    meta.helm.sh/release-name: mailpit
    meta.helm.sh/release-namespace: default
  creationTimestamp: "2024-01-30T14:44:26Z"
  generation: 1
  labels:
    app.kubernetes.io/instance: mailpit
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: mailpit
    app.kubernetes.io/version: v1.13.0
    helm.sh/chart: mailpit-0.13.0
  name: mailpit
  namespace: default
  resourceVersion: "2111429"
  uid: ef91e520-e519-4d85-b312-84c77b19564a
spec:
  ingressClassName: nginx-ingress-controller
  rules:
  - host: mail.example.domain
    http:
      paths:
      - backend:
          service:
            name: mailpit-http
            port:
              name: http
        path: /
        pathType: ImplementationSpecific
status:
  loadBalancer:
    ingress:
    - ip: xxx.xxx.xxx.xxx

Reporting a vulnerability

Hello!

I hope you are doing well!

We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.

Can you enable it, so that we can report it?

Thanks in advance!

PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository

mailpit: Wrong indentation for items for projected volumes (io.k8s.api.core.v1.VolumeProjection)

Description

Wrong indentation for items for projected volumes (io.k8s.api.core.v1.VolumeProjection) with the following error :

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.volumes[0].projected.sources[1]): unknown field "items" in io.k8s.api.core.v1.VolumeProjection

Version of Helm used

version.BuildInfo{Version:"v3.12.3", GitCommit:"3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e", GitTreeState:"clean", GoVersion:"go1.20.7"}

How to reproduce

Simply enable tls (mailpit.ui.tls.enabled=true) or other projected volumes.

envfromsecret support

It would be nice to have and option to set credential for smtp relay using secrets

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.