-
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 branch 'master' of github.com:romnnn/marina
- Loading branch information
Showing
12 changed files
with
65 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.0.11 | ||
current_version = 0.0.15 | ||
commit = True | ||
tag = True | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: lint | ||
on: [push] | ||
|
||
jobs: | ||
lint-chart: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Lint helm chart | ||
run: helm lint charts/marina/ |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
publish-chart: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Lint helm chart | ||
run: helm lint charts/marina/ | ||
|
||
- run: | | ||
echo "repo_user=$(echo ${GITHUB_REPOSITORY} | awk -F / '{print $1}' )" >> $GITHUB_ENV | ||
echo "repo_name=$(echo ${GITHUB_REPOSITORY} | awk -F / '{print $2}' )" >> $GITHUB_ENV | ||
- name: Package helm chart | ||
run: | | ||
touch ./public/.nojekyll | ||
charts/marina/add-repos.sh | ||
helm package --dependency-update --destination ./public/charts charts/marina | ||
helm repo index --url https://${{ env.repo_user }}.github.io/${{ env.repo_name }}/charts ./public/charts | ||
- name: Deploy to pages | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: public | ||
CLEAN: true |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ Let's get started! | |
export OUT="/tmp/ansible-playbook-istio-helm-k8s" | ||
# download the playbook from the github master branch | ||
git clone -b master --single-branch --depth 1 [email protected]:romnnn/ansible-playbook-istio-helm-k8s.git ${OUT} | ||
git clone -b master --single-branch --depth 1 [email protected]:romnn/ansible-playbook-istio-helm-k8s.git ${OUT} | ||
# write a ansible inventory file "hosts" | ||
# this file tells ansible the IP of the server | ||
|
@@ -85,11 +85,11 @@ Let's get started! | |
```bash | ||
helm repo add stable https://kubernetes-charts.storage.googleapis.com/ | ||
helm repo add harbor https://helm.goharbor.io | ||
helm repo add ldapmanager https://romnnn.github.io/ldap-manager/charts | ||
helm repo add ldapmanager https://romnn.github.io/ldap-manager/charts | ||
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add jetstack https://charts.jetstack.io | ||
helm repo add marina https://romnnn.github.io/marina/charts | ||
helm repo add marina https://romnn.github.io/marina/charts | ||
``` | ||
|
||
6. Install MetalLB to the cluster. | ||
|
@@ -288,4 +288,4 @@ Let's get started! | |
--set "harbor.persistence.persistentVolumeClaim.redis.storageClass=nfsc" \ | ||
--set "harbor.persistence.persistentVolumeClaim.trivy.storageClass=nfsc" \ | ||
marina/marina | ||
``` | ||
``` |
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ IP="<YOUR_PUBLIC_IP>" | |
SERVICE_USER="<YOUR_NON_ROOT_USER>" | ||
SERVICE_GROUP="<YOUR_NON_ROOT_USER_GROUP>" | ||
|
||
REPO="[email protected]:romnnn/ansible-playbook-istio-helm-k8s.git" | ||
REPO="[email protected]:romnn/ansible-playbook-istio-helm-k8s.git" | ||
BRANCH="master" | ||
OUT="/tmp/ansible-playbook-istio-helm-k8s" | ||
|
||
|
@@ -18,4 +18,4 @@ ansible-playbook -i hosts ${OUT}/kubernetes-master.yml \ | |
-e apiserver_advertise_address=${IP} \ | ||
-e node_ip=${IP} \ | ||
-e service_user=${SERVICE_USER} \ | ||
-e service_group=${SERVICE_GROUP} | ||
-e service_group=${SERVICE_GROUP} |
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