Skip to content

Commit

Permalink
updating enterprise to use fqdn
Browse files Browse the repository at this point in the history
Signed-off-by: Hung Nguyen <[email protected]>
  • Loading branch information
HN23 committed Apr 12, 2024
1 parent 2c1fe43 commit 2066286
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion stable/enterprise/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: enterprise
version: "2.5.3"
version: "2.5.4"
appVersion: "5.4.0"
kubeVersion: 1.23.x - 1.28.x || 1.23.x-x - 1.29.x-x
description: |
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/templates/_common.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ When calling this template, .component can be included in the context for compon
{{ toYaml . }}
{{- end }}
- name: ANCHORE_ENDPOINT_HOSTNAME
value: {{ include (printf "enterprise.%s.fullname" $component) . }}
value: {{ include (printf "enterprise.%s.fullname" $component) . }}.{{ .Release.Namespace }}.svc.cluster.local
{{- with (index .Values (print $component)).service }}
- name: ANCHORE_PORT
value: {{ .port | quote }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ should render proper initContainers:
- name: bar
value: baz
- name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-999-upgrade
value: test-release-enterprise-999-upgrade.test-namespace.svc.cluster.local
- name: ANCHORE_PORT
value: "null"
- name: ANCHORE_HOST_ID
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/analyzer_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-analyzer
value: test-release-enterprise-analyzer.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/api_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-api
value: test-release-enterprise-api.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/catalog_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-catalog
value: test-release-enterprise-catalog.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/notifications_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-notifications
value: test-release-enterprise-notifications.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/policyengine_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-policy
value: test-release-enterprise-policy.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/reports_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-reports
value: test-release-enterprise-reports.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/reportsworker_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-reportsworker
value: test-release-enterprise-reportsworker.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/simplequeue_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-simplequeue
value: test-release-enterprise-simplequeue.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down
2 changes: 1 addition & 1 deletion stable/enterprise/tests/ui_resources_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ tests:
path: spec.template.spec.containers[0].env
content:
name: ANCHORE_ENDPOINT_HOSTNAME
value: test-release-enterprise-ui
value: test-release-enterprise-ui.test-namespace.svc.cluster.local
count: 1
- contains:
path: spec.template.spec.containers[0].env
Expand Down

0 comments on commit 2066286

Please sign in to comment.