首页 > 解决方案 > Kubernetes 上的 Rundeck 不能做 https

问题描述

看来我的rundeck不能做https。我正在负载均衡器上进行 ssl 卸载。以下是我的部署 yml 的片段

 containers:
    - name: rundeck
      image:rundeck/rundeck:3.1.1
      env:
        - name: RUNDECK_GRAILS_URL
          value: "https://rundeck.somehost.io"
        - name: SERVER_SECURED_URL
          value: "https://rundeck.somehost.io"
        - name: RUNDECK_JVM_SETTINGS
          value: "-Dserver.web.context=/rundeck -Drundeck.jetty.connector.forwarded=true"

我已经按照网络上的大多数提示进行操作,但登录后我的 rundeck 仍在寻找 http

标签: kubernetesrundeck

解决方案


You need to enable the ssl settings, for example:

    args: ["-Dserver.https.port=4443 -Drundeck.ssl.config=/home/rundeck/server/config/ssl.properties"]

But you will need to add a certificate (for example a self-certificate) to the container.

You can try:

1) extend the Rundeck official image (like this )

2) create a volume with the certificate and mount it on /home/rundeck/etc/truststore (also you might need to mount the /home/rundeck/server/config/ssl.properties with the right password ). BTW, I haven't tried that


推荐阅读