ansible/awx-operator

awx-web to use https using NodePort and SSL

Open

#1,563 opened on Sep 14, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Jinja (712 forks)auto 404
communityhelp wantedtype:enhancement

Repository metrics

Stars
 (1,488 stars)
PR merge metrics
 (PR metrics pending)

Description

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX is open source software provided for free and that I might not receive a timely response.

Feature type

Enhancement to Existing Feature

Feature Summary

Document Refrence - https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/network-and-tls-configuration.md

There is not option to enable SSL for while using NodePort.

Select the relevant components

  • UI
  • API
  • Docs
  • Collection
  • CLI
  • Other

Steps to reproduce

apiVersion: v1 kind: Service metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"labels":{"app.kubernetes.io/component":"awx","app.kubernetes.io/managed-by":"awx-operator","app.kubernetes.io/operator-version":"2.1.0","app.kubernetes.io/part-of":"awx"},"name":"awx-service","namespace":"awx"},"spec":{"ports":[{"name":"http","nodePort":30080,"port":80,"protocol":"TCP","targetPort":8052}],"selector":{"app.kubernetes.io/component":"awx","app.kubernetes.io/managed-by":"awx-operator","app.kubernetes.io/name":"awx-web"},"type":"NodePort"}}' labels: app.kubernetes.io/component: awx app.kubernetes.io/managed-by: awx-operator app.kubernetes.io/operator-version: 2.1.0 app.kubernetes.io/part-of: awx name: awx-service namespace: awx ownerReferences:

  • apiVersion: awx.ansible.com/v1beta1 kind: AWX name: awx uid: 2affd367-98df-4c95-b973-d767e31ab7db resourceVersion: "1022059" uid: 5ed4466d-259b-4f95-92b8-c6c42e5ecb78 spec: clusterIP: 10.109.69.30 clusterIPs:
  • 10.109.69.30 externalTrafficPolicy: Cluster internalTrafficPolicy: Cluster ipFamilies:
  • IPv4 ipFamilyPolicy: SingleStack ports:
  • name: http nodePort: 30080 port: 80 protocol: TCP targetPort: 8052 selector: app.kubernetes.io/component: awx app.kubernetes.io/managed-by: awx-operator app.kubernetes.io/name: awx-web sessionAffinity: None type: NodePort status: loadBalancer: {}

Current results

ports:

  • name: http nodePort: 30080 port: 80 protocol: TCP targetPort: 8052 selector: app.kubernetes.io/component: awx app.kubernetes.io/managed-by: awx-operator app.kubernetes.io/name: awx-web sessionAffinity: None type: NodePort

Sugested feature result

HTTPS support with NodePort.

Additional information

No response

Contributor guide