This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
wtschreiter
authored
Jun 9, 2019
1 parent
fc41756
commit 64158fa
Showing
12 changed files
with
121 additions
and
12 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 @@ | ||
{{readWithTemplate "template.txt" | trim }} |
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 @@ | ||
line1 | ||
line2 | ||
line3 |
7 changes: 7 additions & 0 deletions
7
internal/pkg/template/testdata/read-template/read-template-false.golden
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,7 @@ | ||
line1 | ||
line2 | ||
line3 | ||
|
||
line1 | ||
line2 | ||
line3 |
7 changes: 7 additions & 0 deletions
7
internal/pkg/template/testdata/read-template/read-template-true.golden
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,7 @@ | ||
line1 | ||
line2 | ||
line3 | ||
|
||
line1 | ||
line2 | ||
line3 |
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 @@ | ||
{{read .file_name1 | indent 4 }} | ||
|
||
{{read .file_name1 | indent 5 }} |
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,15 @@ | ||
--- | ||
wordpressUsername: "{{ .wordpress.username }}" | ||
wordpressPassword: "{{ .wordpress.password }}" | ||
wordpressEmail: "{{ .wordpress.email }}" | ||
mariadb: | ||
master: | ||
persistence: | ||
enabled: false | ||
persistence: | ||
enabled: false | ||
ingress: | ||
enabled: true | ||
hosts: | ||
- name: xip.io | ||
serviceType: ClusterIP |
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,15 @@ | ||
--- | ||
api_version: v1.0 | ||
kind: Project | ||
metadata: | ||
name: "{{ .project_name }}" | ||
namespaces: | ||
- name: "{{ .project_name }}-web" | ||
apps: | ||
- name: blog-wordpress-from-values-yaml | ||
catalog: library | ||
chart: wordpress | ||
version: "2.1.10" | ||
namespace: "{{ .project_name }}-web" | ||
values_yaml: | | ||
{{readWithTemplate "app-values.yaml" | indent 2 | trim}} |
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,5 @@ | ||
project_name: test-project | ||
wordpress: | ||
username: 'my-wordpress-user' | ||
password: 'a-simple-password-to-be-changed' | ||
email: 'info@my-wordpress-blog' |
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,5 @@ | ||
project_name: test-project | ||
wordpress: | ||
username: 'my-wordpress-user' | ||
password: 'a-simple-password-to-be-changed-changed' | ||
email: 'info@my-wordpress-blog' |
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