@@ -13,10 +13,10 @@ go_preflight_mod_dir := .
13
13
go_preflight_ldflags := \
14
14
-X $(repo_name ) /pkg/version.PreflightVersion=$(VERSION ) \
15
15
-X $(repo_name ) /pkg/version.Commit=$(GITCOMMIT ) \
16
- -X $(repo_name ) /pkg/version.BuildDate=" $$( date -uR ) " \
17
- -X $(repo_name ) /pkg/client.ClientID=" k3TrDbfLhCgnpAbOiiT2kIE1AbovKzjo" \
18
- -X $(repo_name ) /pkg/client.ClientSecret=" f39w_3KT9Vp0VhzcPzvh-uVbudzqCFmHER3Huj0dvHgJwVrjxsoOQPIw_1SDiCfa" \
19
- -X $(repo_name ) /pkg/client.AuthServerDomain=" auth.jetstack.io"
16
+ -X $(repo_name ) /pkg/version.BuildDate=$( shell date "+ % F- % T- % Z") \
17
+ -X $(repo_name ) /pkg/client.ClientID=k3TrDbfLhCgnpAbOiiT2kIE1AbovKzjo \
18
+ -X $(repo_name ) /pkg/client.ClientSecret=f39w_3KT9Vp0VhzcPzvh-uVbudzqCFmHER3Huj0dvHgJwVrjxsoOQPIw_1SDiCfa \
19
+ -X $(repo_name ) /pkg/client.AuthServerDomain=auth.jetstack.io
20
20
21
21
oci_preflight_base_image_flavor := static
22
22
oci_preflight_image_name := quay.io/jetstack/venafi-agent
@@ -26,6 +26,7 @@ oci_preflight_image_name_development := jetstack.local/venafi-agent
26
26
deploy_name := venafi-kubernetes-agent
27
27
deploy_namespace := venafi
28
28
29
+ helm_chart_repo_base := oci://registry.venafi.cloud/charts
29
30
helm_chart_source_dir := deploy/charts/venafi-kubernetes-agent
30
31
helm_chart_name := venafi-kubernetes-agent
31
32
helm_chart_version := $(VERSION:v%=% )
@@ -34,13 +35,13 @@ helm_docs_use_helm_tool := 1
34
35
helm_generate_schema := 1
35
36
helm_verify_values := 1
36
37
37
- golangci_lint_config := .golangci. yaml
38
-
39
- define helm_values_mutation_function
40
- $(YQ ) \
38
+ # Allows us to replace the Helm values. yaml's image.repository and image.tag
39
+ # with the right values. We use "=" and not ":=" because $(YQ) isn't defined yet
40
+ # in 00_mod.mk, so we need this var to be lazy.
41
+ helm_values_mutation_function = $(YQ ) \
41
42
'( .image.repository = "$(oci_preflight_image_name ) " ) | \
42
43
( .image.tag = "$(oci_preflight_image_tag ) " )' \
43
44
$1 --inplace
44
- endef
45
45
46
+ golangci_lint_config := .golangci.yaml
46
47
go_header_file := /dev/null
0 commit comments