Skip to content

Commit

Permalink
updating enterprise to use fqdn (#367)
Browse files Browse the repository at this point in the history
* updating enterprise to use fqdn
* bumping enterprise chart version
* enterprise feeds lock update


---------

Signed-off-by: Hung Nguyen <[email protected]>
Co-authored-by: Brady Todhunter <[email protected]>
  • Loading branch information
HN23 and Btodhunter authored Apr 17, 2024
1 parent 452b50d commit e543e13
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions stable/enterprise/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ dependencies:
version: 17.11.8
- name: feeds
repository: https://charts.anchore.io/stable
version: 2.4.2
digest: sha256:6cbc2e4d2cdacc3d92006e58270c57ea2c1bc2330d6e797f9b691dd83395082b
generated: "2024-04-15T16:38:41.016359-04:00"
version: 2.4.3
digest: sha256:9679bd4d060c7c348f874a0ab1d16f3c4cddfbb644941843b4dd00ae428ca219
generated: "2024-04-17T12:43:40.046686-04:00"
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.4"
version: "2.5.5"
appVersion: "5.4.1"
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 e543e13

Please sign in to comment.