Skip to content

farghul/satis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Satis

Create a Helm driven Satis deployment with NGiNX proxy.

Satis

Prerequisites

The following files are necessary for a successful deployment.

An auth.json and satis.json file with instance specific information in the ansible/assets subdirectory. (See links for reference)

Ansible

An main.yaml file in the ansible/defaults subdirectory:

---
REPO: Path to the Satis repository
INSTALL: Path to the Satis installation
NAMESPACE: The Kubernetes namespace
...

Additional variables needed for Docker image creation

---
NGiNX: `[repo]/[name]:[version]` of the NGiNX image
PHP: `[repo]/[name]:[version]` of the PHP image
SELF: Path to the local clone of the wordpress repository
...

An ~/inventory.yaml file for Ansible to reference the hosts value. (See link for reference)

Docker

The images can be built, tagged, and pushed to a container registry for easy access.

docker buildx build --file Dockerfile --tag [name] .

docker image tag [name]:latest [repo]/[name]:[version]

docker push [repo]/[name]:[version]

Or, using Ansible / Docker Bake to automate the process:

ansible-playbook docker.yaml -i ~/inventory.yaml

Helm

To install the deployment, navigate to the helm folder and run:

helm install [name] .

To update the deployment, edit the Helm charts as necessary and run:

helm upgrade [name] .

To delete the deployment, and remove all the created elements:

helm uninstall [name]

Finally, to automate the Satis instalation process, navigate to the ansible folder and run:

ansible-playbook playbook.yaml -i ~/inventory.yaml

About

A Helm driven Satis deployment in Kubernetes with NGiNX proxy.

Topics

Resources

License

Stars

Watchers

Forks