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.
- Loading branch information
wtschreiter
authored
May 13, 2019
1 parent
c74c684
commit 2a05ee7
Showing
13 changed files
with
755 additions
and
21 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
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
56 changes: 56 additions & 0 deletions
56
internal/pkg/rancher/project/testdata/directory-include/child-directory/child.1.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,56 @@ | ||
api_version: v1.0 | ||
kind: Project | ||
metadata: | ||
name: include-child1 | ||
namespaces: | ||
- name: child1-namespace | ||
resources: | ||
certificates: | ||
- name: child1-cert | ||
key: | | ||
-----BEGIN PRIVATE KEY----- | ||
... | ||
... | ||
-----END PRIVATE KEY----- | ||
certs: | | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
namespace: child1-namespace | ||
config_maps: | ||
- name: child1-config-map | ||
data: | ||
abc: def | ||
bca: fed | ||
docker_credentials: | ||
- name: child1-registry | ||
registries: | ||
- name: child1.private.registry | ||
password: child1-docker-registry-password | ||
username: child1-docker-registry-user | ||
secrets: | ||
- name: child1-secret | ||
data: | ||
abc: def | ||
bca: fed | ||
storage_classes: | ||
- name: child1-storage-classe | ||
provisioner: kubernetes.io/no-provisioner | ||
reclaim_policy: Delete | ||
volume_bind_mode: WaitForFirstConsumer | ||
persistent_volumes: | ||
- name: child1-persistent-volume | ||
storage_class_name: child1-storage-classe | ||
apps: | ||
- name: child1-app | ||
catalog: library | ||
chart: wordpress | ||
version: 2.1.10 | ||
namespace: parent-namespace | ||
answers: | ||
ingress.enabled: "false" |
56 changes: 56 additions & 0 deletions
56
internal/pkg/rancher/project/testdata/directory-include/child-directory/child.2.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,56 @@ | ||
api_version: v1.0 | ||
kind: Project | ||
metadata: | ||
name: include-child2 | ||
namespaces: | ||
- name: child2-namespace | ||
resources: | ||
certificates: | ||
- name: child2-cert | ||
key: | | ||
-----BEGIN PRIVATE KEY----- | ||
... | ||
... | ||
-----END PRIVATE KEY----- | ||
certs: | | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
namespace: child2-namespace | ||
config_maps: | ||
- name: child2-config-map | ||
data: | ||
abc: def | ||
bca: fed | ||
docker_credentials: | ||
- name: child2-registry | ||
registries: | ||
- name: child2.private.registry | ||
password: child2-docker-registry-password | ||
username: child2-docker-registry-user | ||
secrets: | ||
- name: child2-secret | ||
data: | ||
abc: def | ||
bca: fed | ||
storage_classes: | ||
- name: child2-storage-classe | ||
provisioner: kubernetes.io/no-provisioner | ||
reclaim_policy: Delete | ||
volume_bind_mode: WaitForFirstConsumer | ||
persistent_volumes: | ||
- name: child2-persistent-volume | ||
storage_class_name: child2-storage-classe | ||
apps: | ||
- name: child2-app | ||
catalog: library | ||
chart: wordpress | ||
version: 2.1.10 | ||
namespace: parent-namespace | ||
answers: | ||
ingress.enabled: "false" |
57 changes: 57 additions & 0 deletions
57
internal/pkg/rancher/project/testdata/directory-include/project.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,57 @@ | ||
api_version: v1.0 | ||
kind: Project | ||
metadata: | ||
name: include-parent | ||
includes: | ||
- directory: child-directory | ||
namespaces: | ||
- name: parent-namespace | ||
resources: | ||
certificates: | ||
- name: parent-cert | ||
key: | | ||
-----BEGIN PRIVATE KEY----- | ||
... | ||
... | ||
-----END PRIVATE KEY----- | ||
certs: | | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
config_maps: | ||
- name: parent-config-map | ||
data: | ||
abc: def | ||
bca: fed | ||
docker_credentials: | ||
- name: parent-registry | ||
registries: | ||
- name: parent.private.registry | ||
password: parent-docker-registry-password | ||
username: parent-docker-registry-user | ||
secrets: | ||
- name: parent-secret | ||
data: | ||
abc: def | ||
bca: fed | ||
storage_classes: | ||
- name: parent-storage-classe | ||
provisioner: kubernetes.io/no-provisioner | ||
reclaim_policy: Delete | ||
volume_bind_mode: WaitForFirstConsumer | ||
persistent_volumes: | ||
- name: parent-persistent-volume | ||
storage_class_name: parent-storage-classe | ||
apps: | ||
- name: parent-app | ||
catalog: library | ||
chart: wordpress | ||
version: 2.1.10 | ||
namespace: parent-namespace | ||
answers: | ||
ingress.enabled: "false" |
56 changes: 56 additions & 0 deletions
56
internal/pkg/rancher/project/testdata/files-include/child.1.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,56 @@ | ||
api_version: v1.0 | ||
kind: Project | ||
metadata: | ||
name: include-child1 | ||
namespaces: | ||
- name: child1-namespace | ||
resources: | ||
certificates: | ||
- name: child1-cert | ||
key: | | ||
-----BEGIN PRIVATE KEY----- | ||
... | ||
... | ||
-----END PRIVATE KEY----- | ||
certs: | | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
-----BEGIN CERTIFICATE----- | ||
... | ||
... | ||
-----END CERTIFICATE----- | ||
namespace: child1-namespace | ||
config_maps: | ||
- name: child1-config-map | ||
data: | ||
abc: def | ||
bca: fed | ||
docker_credentials: | ||
- name: child1-registry | ||
registries: | ||
- name: child1.private.registry | ||
password: child1-docker-registry-password | ||
username: child1-docker-registry-user | ||
secrets: | ||
- name: child1-secret | ||
data: | ||
abc: def | ||
bca: fed | ||
storage_classes: | ||
- name: child1-storage-classe | ||
provisioner: kubernetes.io/no-provisioner | ||
reclaim_policy: Delete | ||
volume_bind_mode: WaitForFirstConsumer | ||
persistent_volumes: | ||
- name: child1-persistent-volume | ||
storage_class_name: child1-storage-classe | ||
apps: | ||
- name: child1-app | ||
catalog: library | ||
chart: wordpress | ||
version: 2.1.10 | ||
namespace: parent-namespace | ||
answers: | ||
ingress.enabled: "false" |
Oops, something went wrong.