-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3ce9c4b
Showing
16 changed files
with
690 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
inventory/hosts | ||
*.pyc | ||
__pycache* |
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,9 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018 wikitops | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,63 @@ | ||
# Ansible : Playbook ArgoCD | ||
|
||
The aim of this project is to deploy ArgoCD on a Kubernetes cluster. | ||
|
||
## Getting Started | ||
|
||
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. | ||
|
||
### Prerequisites | ||
|
||
What things you need to run this Ansible playbook : | ||
|
||
* A running Kubernetes cluster (locally or on cloud) | ||
* Configure the hosts file based on your architecture. Rename the inventory/hosts.ini in inventory/hosts | ||
* Download the Ansible requirements: | ||
|
||
```bash | ||
$ ansible-galaxy install -r requirements.yml | ||
``` | ||
|
||
### Usage | ||
|
||
A good point with Vagrant is that you can create, update and destroy all architecture easily with some commands. | ||
|
||
Be aware that you need to be in the Vagrant directory to be able to run the commands. | ||
|
||
#### Deployment | ||
|
||
To deploy ArgoCd on Vagrant instances, just run this command : | ||
|
||
```bash | ||
$ vagrant up | ||
``` | ||
|
||
If everything run as expected, you should be able to list the virtual machine created : | ||
|
||
```bash | ||
$ vagrant status | ||
|
||
Current machine states: | ||
|
||
neuvector01 running (virtualbox) | ||
``` | ||
|
||
If everything run has expected, you should access : | ||
* The NeuVector Docs interface : http://10.0.4.81/ | ||
* The NeuVector Console interface : https://10.0.4.81:8443/ | ||
|
||
#### Destroy | ||
|
||
To destroy the Vagrant resources created, just run this command : | ||
|
||
```bash | ||
$ vagrant destroy | ||
``` | ||
|
||
## Author | ||
|
||
Member of Wikitops : https://www.wikitops.io/ | ||
|
||
## Licence | ||
|
||
This project is licensed under the Apache License, Version 2.0. For the full text of the license, see the LICENSE file. |
Oops, something went wrong.