-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from sl1pm4t/mintel-to-sl1pm4t
Rename mintel to sl1pm4t and update Go version
- Loading branch information
Showing
31 changed files
with
216 additions
and
1,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,61 +10,68 @@ jobs: | |
name: helm-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: helm-lint-dex | ||
uses: stefanprodan/[email protected] | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: alexellis/setup-arkade@v1 | ||
|
||
- uses: alexellis/arkade-get@master | ||
with: | ||
helmv3: 3.0.0 | ||
run: | | ||
helmv3 lint charts/dex | ||
kubectl: latest | ||
kustomize: latest | ||
kubeconform: latest | ||
kubeval: latest | ||
helm: latest | ||
jq: latest | ||
yq: latest | ||
|
||
- name: helm-lint-dex-k8s-auth | ||
uses: stefanprodan/[email protected] | ||
with: | ||
helmv3: 3.0.0 | ||
command: | | ||
helmv3 lint charts/dex-k8s-authenticator | ||
run: | | ||
helm lint charts/dex-k8s-authenticator | ||
- name: helm-template | ||
uses: stefanprodan/[email protected] | ||
with: | ||
helmv3: 3.0.0 | ||
command: | | ||
helmv3 template charts/dex --output-dir /github/workspace/rendered-charts/dex | ||
helmv3 template charts/dex-k8s-authenticator --output-dir /github/workspace/rendered-charts/dex-k8s-authenticator | ||
run: | | ||
helm template charts/dex-k8s-authenticator --output-dir ./tmp/workspace/rendered-charts/dex-k8s-authenticator | ||
- name: kubeval | ||
uses: stefanprodan/[email protected] | ||
with: | ||
helmv3: 3.0.0 | ||
command: | | ||
kubeval -d /github/workspace/rendered-charts --strict --ignore-missing-schemas | ||
run: | | ||
kubeval -d ./tmp/workspace/rendered-charts --strict --ignore-missing-schemas | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: setup-kind | ||
uses: engineerd/setup-kind@v0.5.0 | ||
uses: helm/kind-action@v1.5.0 | ||
with: | ||
name: kind | ||
cluster_name: kind | ||
|
||
- name: build-ci-image | ||
run: | | ||
docker build -t mintel/dex-k8s-authenticator:${GITHUB_SHA} . | ||
kind load docker-image mintel/dex-k8s-authenticator:${GITHUB_SHA} | ||
docker build -t sl1pm4t/dex-k8s-authenticator:${GITHUB_SHA} . | ||
kind load docker-image sl1pm4t/dex-k8s-authenticator:${GITHUB_SHA} | ||
- name: update-helm-values | ||
run: | | ||
set -x | ||
export NODE_IP=$(kubectl get nodes -o jsonpath="{.items[0].status.addresses[0].address}") | ||
export CI_TAG=$GITHUB_SHA | ||
envsubst < ./tests/e2e/helm/dex-overrides.yaml > /tmp/dex-overrides.yaml | ||
envsubst < ./tests/e2e/helm/dex-k8s-auth-overrides.yaml > /tmp/dex-k8s-auth-overrides.yaml | ||
- name: install-dex | ||
run: | | ||
helm install -f /tmp/dex-overrides.yaml dex ./charts/dex | ||
helm repo add dexidp https://charts.dexidp.io | ||
helm install -f /tmp/dex-overrides.yaml dex dexidp/dex | ||
kubectl describe deployment dex | ||
kubectl rollout status deploy dex -w | ||
- name: install-dex-auth | ||
run: | | ||
helm install -f /tmp/dex-k8s-auth-overrides.yaml dex-k8s-authenticator ./charts/dex-k8s-authenticator | ||
kubectl describe deployment dex-k8s-authenticator | ||
kubectl rollout status deploy dex-k8s-authenticator -w | ||
- name: test | ||
run: | | ||
kubectl get pods | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,6 @@ | |
bin | ||
./idea | ||
*.iml | ||
dex-k8s-authenticator | ||
!charts/dex-k8s-authenticator | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
apiVersion: v1 | ||
appVersion: "v1.4.0" | ||
apiVersion: v2 | ||
appVersion: "v2.0.0" | ||
description: "Authenticator for using Dex with Kubernetes" | ||
name: dex-k8s-authenticator | ||
version: 1.4.0 | ||
version: 2.0.0 | ||
sources: | ||
- https://github.com/mintel/dex-k8s-authenticator | ||
- https://github.com/sl1pm4t/dex-k8s-authenticator | ||
maintainers: | ||
- name: Nick Badger | ||
email: [email protected] | ||
- name: Matt Morrison | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.