-
Notifications
You must be signed in to change notification settings - Fork 8
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
1 parent
2b00942
commit ea35690
Showing
10 changed files
with
198 additions
and
11 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
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,21 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: development | ||
resources: | ||
- ../../base | ||
|
||
secretGenerator: | ||
- name: random-quotes-secrets | ||
literals: | ||
- homepageDisplay="blah dev" | ||
|
||
images: | ||
- name: octopussamples/randomquotes-k8s | ||
newName: octopussamples/randomquotes-k8s | ||
newTag: "0.0.1" | ||
|
||
patches: | ||
- target: | ||
kind: Ingress | ||
name: randomquotes-ingress-nginx | ||
path: randomquotes-ingress-nginx.yaml |
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 @@ | ||
- op: replace | ||
path: /spec/rules/0/host | ||
value: randomquotesdev.local |
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,21 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: production | ||
resources: | ||
- ../../base | ||
|
||
secretGenerator: | ||
- name: random-quotes-secrets | ||
literals: | ||
- homepageDisplay="blah prod" | ||
|
||
images: | ||
- name: octopussamples/randomquotes-k8s | ||
newName: octopussamples/randomquotes-k8s | ||
newTag: "0.0.1" | ||
|
||
patches: | ||
- target: | ||
kind: Ingress | ||
name: randomquotes-ingress-nginx | ||
path: randomquotes-ingress-nginx.yaml |
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 @@ | ||
- op: replace | ||
path: /spec/rules/0/host | ||
value: randomquotesprod.local |
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,21 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: staging | ||
resources: | ||
- ../../base | ||
|
||
secretGenerator: | ||
- name: random-quotes-secrets | ||
literals: | ||
- homepageDisplay="blah staging" | ||
|
||
images: | ||
- name: octopussamples/randomquotes-k8s | ||
newName: octopussamples/randomquotes-k8s | ||
newTag: "0.0.1" | ||
|
||
patches: | ||
- target: | ||
kind: Ingress | ||
name: randomquotes-ingress-nginx | ||
path: randomquotes-ingress-nginx.yaml |
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 @@ | ||
- op: replace | ||
path: /spec/rules/0/host | ||
value: randomquotesstaging.local |
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,21 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: test | ||
resources: | ||
- ../../base | ||
|
||
secretGenerator: | ||
- name: random-quotes-secrets | ||
literals: | ||
- homepageDisplay="blah test" | ||
|
||
images: | ||
- name: octopussamples/randomquotes-k8s | ||
newName: octopussamples/randomquotes-k8s | ||
newTag: "0.0.1" | ||
|
||
patches: | ||
- target: | ||
kind: Ingress | ||
name: randomquotes-ingress-nginx | ||
path: randomquotes-ingress-nginx.yaml |
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 @@ | ||
- op: replace | ||
path: /spec/rules/0/host | ||
value: randomquotestest.local |