File tree Expand file tree Collapse file tree 8 files changed +25
-16
lines changed
ansible/roles/telco-core-ztp
files/release-4.18/reference-crs/optional/logging Expand file tree Collapse file tree 8 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 3
3
4
4
# Currently only the 4.18 profile has been placed and adjusted for this testing in this repo
5
5
telco_core_profile_version : 4.18
6
+
7
+ # Enable means uncommented, so false means comment out for now
8
+ telco_core_cluster_logging_version_enable : false
9
+ telco_core_cluster_logging_version : cluster-logging.v6.0.0
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
name : cluster-logging
6
6
namespace : openshift-logging
7
7
spec :
8
- channel : " stable-6.0 "
8
+ channel : " stable-6.1 "
9
9
name : cluster-logging
10
10
source : redhat-operators-disconnected
11
11
sourceNamespace : openshift-marketplace
Original file line number Diff line number Diff line change 28
28
src : " {{ item.src }}"
29
29
dest : " {{ item.dest }}"
30
30
loop :
31
- - src : cluster-ns- application.yaml
32
- dest : " {{ install_directory }}/rhacm-ztp/cnf-features-deploy/ztp/gitops-subscriptions/argocd/cluster-applications/ztp-core.yaml"
33
- - src : policy-baseline- application.yaml
34
- dest : " {{ install_directory }}/rhacm-ztp/cnf-features-deploy/ztp/gitops-subscriptions/argocd/policy-applications/ztp-core.yaml"
31
+ - src : cluster-application.yaml
32
+ dest : " {{ install_directory }}/rhacm-ztp/cnf-features-deploy/ztp/gitops-subscriptions/argocd/cluster-applications/ztp-core-cluster .yaml"
33
+ - src : policy-application.yaml
34
+ dest : " {{ install_directory }}/rhacm-ztp/cnf-features-deploy/ztp/gitops-subscriptions/argocd/policy-applications/ztp-core-policies .yaml"
35
35
36
36
# https://github.com/openshift-kni/telco-reference/tree/release-4.18/telco-core/configuration
37
37
- name : Template Telco Core Profile policy manifests into cnf-features-deploy
Original file line number Diff line number Diff line change 1
1
---
2
- apiVersion : v1
3
- kind : Namespace
4
- metadata :
5
- name : ztp-core
6
- ---
7
2
apiVersion : argoproj.io/v1alpha1
8
3
kind : Application
9
4
metadata :
10
- name : ztp-core
5
+ name : ztp-core-cluster
11
6
namespace : openshift-gitops
12
7
spec :
13
8
destination :
14
9
server : https://kubernetes.default.svc
15
- namespace : ztp-core
10
+ namespace : ztp-core-cluster
16
11
project : ztp-app-project
17
12
source :
18
13
path : ztp/gitops-subscriptions/argocd/cluster/ztp-core
Original file line number Diff line number Diff line change 2
2
apiVersion : argoproj.io/v1alpha1
3
3
kind : Application
4
4
metadata :
5
- name : policy-telco- core
5
+ name : ztp- core-policies
6
6
namespace : openshift-gitops
7
7
spec :
8
8
destination :
9
9
server : https://kubernetes.default.svc
10
- namespace : ztp-site
10
+ namespace : ztp-core-policies
11
11
project : policy-app-project
12
12
source :
13
13
path : ztp/gitops-subscriptions/argocd/policy/telco-core
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
2
2
kind : Kustomization
3
3
generators :
4
4
- core-baseline.yaml
5
- - core-overlay.yaml
5
+ # Overlay commented out until template-value ConfigMaps completed
6
+ # - core-overlay.yaml
6
7
# - core-upgrade.yaml
7
8
8
9
resources :
Original file line number Diff line number Diff line change @@ -40,7 +40,11 @@ policies:
40
40
- kind : ClusterServiceVersion
41
41
namespace : openshift-logging
42
42
# Update with specific target version
43
- name : cluster-logging.v6.0.0
43
+ {% if telco_core_cluster_logging_version_enable %}
44
+ name : {{ telco_core_cluster_logging_version }}
45
+ {% else %}
46
+ # name: {{ telco_core_cluster_logging_version }}
47
+ {% endif %}
44
48
conditions :
45
49
- type : Succeeded
46
50
status : " True"
Original file line number Diff line number Diff line change 1
1
---
2
2
apiVersion : v1
3
3
kind : Namespace
4
+ metadata :
5
+ name : ztp-core-cluster
6
+ ---
7
+ apiVersion : v1
8
+ kind : Namespace
4
9
metadata :
5
10
name : ztp-core-policies
You can’t perform that action at this time.
0 commit comments