Skip to content

Commit 1e3dfc6

Browse files
committed
Add project
1 parent fa3011a commit 1e3dfc6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

roles/ocp4_workload_mta8/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ ocp4_workload_mta8_seed_pull_policy: IfNotPresent
4949
# ocp4_workload_mta8_user: admin
5050
# ocp4_workload_mta8_password: password
5151

52+
# ArgoCD project to deploy the applications into
53+
ocp4_workload_mta8_user_app_project_prefix: appproject-
54+
5255
# --------------------------------
5356
# Tackle V2 specific settings
5457
# --------------------------------

roles/ocp4_workload_mta8/templates/application.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
name: ''
1212
namespace: {{ ocp4_workload_mta8_namespace_base }}
1313
server: 'https://kubernetes.default.svc'
14-
project: default
14+
project: "{{ocp4_workload_mta8_user_app_project_prefix}}{% raw %}{{ user }}{% endraw %}"
1515
syncPolicy:
1616
syncOptions:
1717
- CreateNamespace=true

roles/ocp4_workload_mta8/templates/applicationset.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
name: ''
2323
namespace: "{{ ocp4_workload_mta8_namespace_base }}-{% raw %}{{ user }}{% endraw %}"
2424
server: 'https://kubernetes.default.svc'
25-
project: default
25+
project: "{{ocp4_workload_mta8_user_app_project_prefix}}{% raw %}{{ user }}{% endraw %}"
2626
syncPolicy:
2727
syncOptions:
2828
- CreateNamespace=true

0 commit comments

Comments
 (0)