generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
40 changed files
with
2,224 additions
and
1,969 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Flux Bootstrap Git Example | ||
|
||
This example deploy Flux into a Kubernetes cluster and configure it to synchroize from a Github repository. | ||
|
||
If you don't have a Kuberentes cluster, create one using Kind: | ||
|
||
```shell | ||
kind create cluster --name pulumi-fluxcd-nodejs | ||
``` | ||
|
||
Generate a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) (PAT) with repo permissions, make sure to copy the generated token. | ||
|
||
Configure Github personal access token and repository owner: | ||
|
||
```shell | ||
export GITHUB_TOKEN=<your-github-personal-access-token> | ||
export GITHUB_OWNER=<your-github-owner> | ||
``` | ||
|
||
Update `repoName` and `githubOwner` variables in index.ts. | ||
|
||
```javascript | ||
const repoName = "your-deployment-repository"; | ||
const githubOwner = "your-github-owner"; | ||
``` | ||
|
||
Run `pulumi up`. |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Flux Bootstrap Git Example | ||
|
||
This example deploy Flux into a Kubernetes cluster and configure it to synchroize from a Github repository. | ||
|
||
If you don't have a Kuberentes cluster, create one using Kind: | ||
|
||
```shell | ||
kind create cluster --name pulumi-fluxcd-nodejs | ||
``` | ||
|
||
Generate a [personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) (PAT) with repo permissions, make sure to copy the generated token. | ||
|
||
Configure Github personal access token and repository owner: | ||
|
||
```shell | ||
export GITHUB_TOKEN=<your-github-personal-access-token> | ||
export GITHUB_OWNER=<your-github-owner> | ||
``` | ||
|
||
Update `repo_name` and `github_owner` variables in __main__.py. | ||
|
||
```python | ||
repo_name = "your-deployment-repository" | ||
github_owner = "your-github-owner" | ||
``` | ||
|
||
Run `pulumi up`. |
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,4 +1,4 @@ | ||
pulumi>=3.0.0,<4.0.0 | ||
pulumi-github>=5.0.0 | ||
pulumi-tls>=4.6.0 | ||
pulumi-flux>=0.25.3 | ||
pulumi-flux>=1.0.1 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.