DEV Community

DarkEdges
DarkEdges

Posted on

Deploying Ping Authorize into Kubernetes

Deploy pingctl

This enables us to create the necessary secrets needed to enable Ping Licenses for the deployment.

curl -sL https://bit.ly/pingctl-install | sh
sudo mv /home/nirving/pingctl /usr/local/bin/.
Enter fullscreen mode Exit fullscreen mode

The following enables the creation of the secrets

pingctl k8s generate devops-secret > devops.yaml
Enter fullscreen mode Exit fullscreen mode

Add Ping DevOps

helm repo add pingidentity https://helm.pingidentity.com/ 
help repo update
Enter fullscreen mode Exit fullscreen mode

Create an updated Ingress file

global:
  envs:
    PING_IDENTITY_ACCEPT_EULA: "YES"
  ingress:
    enabled: true
    annotations:
      nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
      cert-manager.io/cluster-issuer: vault-issuer
    spec:
      ingressClassName: nginx
pingauthorize:
  ingress:
    hosts:
      - host: pingauthorize.pingauthorize.internal.darkedges.com.au
        paths:
          - path: /
            pathType: Prefix
            backend:
              serviceName: https
    tls:
      - secretName: pingauthorize
        hosts:
          - pingauthorize.pingauthorize.internal.darkedges.com.au
pingauthorizepap:
  ingress:
    hosts:
      - host: pingauthorizepap.pingauthorize.internal.darkedges.com.au
        paths:
          - path: /
            pathType: Prefix
            backend:
              serviceName: https
    tls:
      - secretName: pingauthorizepap
        hosts:
          - pingauthorizepap.pingauthorize.internal.darkedges.com.au
pingdataconsole:
  ingress:
    hosts:
      - host: pingdataconsole.pingauthorize.internal.darkedges.com.au
        paths:
          - path: /
            pathType: Prefix
            backend:
              serviceName: https
    tls:
      - secretName: pingdataconsole
        hosts:
          - pingdataconsole.pingauthorize.internal.darkedges.com.au
pingdirectory:
  ingress:
    hosts:
      - host: pingdirectory.pingauthorize.internal.darkedges.com.au
        paths:
          - path: /
            pathType: Prefix
            backend:
              serviceName: https
    tls:
      - secretName: pingdirectory
        hosts:
          - pingdirectory.pingauthorize.internal.darkedges.com.au

Enter fullscreen mode Exit fullscreen mode

Deploy Ping Authorize

kubectl apply -f devops.yaml
helm upgrade --install pingauthorize pingidentity/ping-devops --create-namespace --namespace ping -f https://raw.githubusercontent.com/pingidentity/pingidentity-devops-getting-started/master/30-helm/pingauthorize-pingdirectory.yaml -f ingress.yaml
Enter fullscreen mode Exit fullscreen mode

Console

Directory

https://pingdataconsole.pingauthorize.internal.darkedges.com/

Server Username Password
pingauthorize-pingdirectory administrator 2FederateM0re

Policy Editor

https://pingauthorizepap.pingauthorize.internal.darkedges.com/login

username password
admin password123

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay