Skip to content

Commit

Permalink
Merge pull request #27 from mhjacks/wip-main
Browse files Browse the repository at this point in the history
True-up with common, and make necessary changes
  • Loading branch information
mhjacks authored Jan 21, 2022
2 parents d6cf9b5 + e5c6fb6 commit 23850a5
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 113 deletions.
6 changes: 5 additions & 1 deletion common/acm/templates/policies/application-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ spec:
- name: global.hubClusterDomain
value: {{ $.Values.global.hubClusterDomain }}
- name: global.localClusterDomain
value: '{{`{{ (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain }}`}}'
{{- if $.Values.clusterGroup.isHubCluster }}
value: {{ $.Values.global.hubClusterDomain }}
{{- else }}
value: '{{ `{{ (lookup "config.openshift.io/v1" "Ingress" "" "cluster").spec.domain }}` }}'
{{- end }}
{{- range .helmOverrides }}
- name: {{ .name }}
value: {{ .value | quote }}
Expand Down
4 changes: 4 additions & 0 deletions common/clustergroup/templates/applications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ spec:
- name: global.hubClusterDomain
value: {{ $.Values.global.hubClusterDomain }}
- name: global.localClusterDomain
{{- if $.Values.clusterGroup.isHubCluster }}
value: {{ $.Values.global.hubClusterDomain }}
{{- else }}
value: {{ $.Values.global.localClusterDomain }}
{{- end }}
{{- range .overrides }}
- name: {{ .name }}
value: {{ .value | quote }}
Expand Down
5 changes: 1 addition & 4 deletions common/clustergroup/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ global:

clusterGroup:
name: example

proposedOptions:
manageGitops: True
isHubCluster: True
isHubCluster: true

# managedClusterGroups:
# - name: factory
Expand Down
1 change: 0 additions & 1 deletion common/vault-route/.helmignore

This file was deleted.

6 changes: 0 additions & 6 deletions common/vault-route/Chart.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions common/vault-route/templates/vault-route.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions common/vault-route/values.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions values-hub.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
clusterGroup:
name: hub

proposedOptions:
manageGitops: True
isHubCluster: True
isHubCluster: true

namespaces:
- open-cluster-management
Expand Down
5 changes: 1 addition & 4 deletions values-region-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ global:

clusterGroup:
name: region-one

proposedOptions:
manageGitops: False
isHubCluster: False
isHubCluster: false

namespaces:
- multicloud-gitops-region-one
Expand Down
67 changes: 0 additions & 67 deletions values-region-two.yaml

This file was deleted.

0 comments on commit 23850a5

Please sign in to comment.