apiVersion: apps/v1 kind: Deployment metadata: name: oidc-python-example labels: app: oidc-python-example spec: replicas: 1 selector: matchLabels: app: oidc-python-example template: metadata: labels: app: oidc-python-example spec: containers: - name: oidc-python-example image: %IMAGE% envFrom: - secretRef: name: secrets ports: - containerPort: 8080 protocol: TCP --- apiVersion: v1 kind: Service metadata: name: oidc-python-example spec: type: ClusterIP selector: app: oidc-python-example ports: - name: http targetPort: 8080 port: 80 --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: oidc-python-example annotations: cert-manager.io/cluster-issuer: letsencrypt-production-http spec: tls: - hosts: - oidc-python-example.hottis.de secretName: oidc-python-example-cert rules: - host: oidc-python-example.hottis.de http: paths: - path: / pathType: Prefix backend: service: name: oidc-python-example port: number: 80