Skip to content

Preview v0.2.0-rc.5

Pre-release
Pre-release
Compare
Choose a tag to compare
@SIGHUP-C-3PO SIGHUP-C-3PO released this 27 Mar 14:59
· 25 commits to main since this release
ed1a486

Auth Module Release v0.2.0

Welcome to the latest release of the Auth module for the Kubernetes Fury Distribution.

Included packages

Package Current Version Previous Version
dex v2.38.0 v2.37.0
gangplank v1.0.0 New package
pomerium v0.25.0 v0.23.0

Update Guide 🦮

Process

To upgrade this module from v0.1.0 to v0.2.0, execute the following:

kustomize build <your-project-path> | kubectl apply -f -

Gangplank upgrade

⚠️ this release introduces Gangplank which replaces Gangway, this will cause downtime while performing the upgrade.

  • Since the release introduces Gangplank, the upgrade process requires deleting all resources from the old version of the package.

To add Gangplank package, execute the following:

  1. Delete the following resources:
kubectl -n kube-system delete deployment.apps/gangway
kubectl -n kube-system delete service/gangway-svc
kubectl -n kube-system delete ingress/gangway
kubectl -n kube-system delete secret/gangway
  1. Remove Gangway base reference and add the right base to your kustomize, for example:
resources:
...
   - "../../vendor/katalog/auth/gangplank"
  1. Update your patches (if you have any)

  2. Update Ingress resource, for example:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  namespace: kube-system
  annotations:
    forecastle.stakater.com/expose: "true"
    forecastle.stakater.com/appName: "Gangplank"
  name: gangplank
spec:
  rules:
  - host: login.fury.info
    http:
      paths:
      - path: /
        pathType: ImplementationSpecific
        backend:
          service:
            name: gangplank-svc
            port:
              name: http
  1. Finally, apply the new manifests:
kustomize build <your-project-path> | kubectl apply -f -