Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
57fef1f
Add bug to changelog so that go-changelog works (#2276)
curtbushko Jun 8, 2023
e35eaa3
Fix retry loops that use `t` (#2311)
Jun 8, 2023
f4435ac
Add FIPS builds (#2165)
skpratt Jun 8, 2023
097f945
activated weekly acceptance tests for 1-2-x (#2315)
wilkermichael Jun 8, 2023
61c7280
Net 4230/add tcp to basic acceptance test (#2297)
missylbytes Jun 9, 2023
555d4a6
[API Gateway] Add acceptance test for cluster peering (#2306)
Jun 9, 2023
b56b7dd
Mw/net 3598 update kind for consul k8s acceptance tests with latest v…
wilkermichael Jun 9, 2023
203c9d1
[API Gateway] WAN Federation test and fixes (#2295)
Jun 9, 2023
da147c1
[API Gateway] fix dangling service registrations (#2321)
Jun 9, 2023
198c443
api-gateway: add unit tests verifying scaling parameters on GatewayCl…
nathancoleman Jun 9, 2023
8245efc
Rename GatewayClassController to prevent name collision (#2317)
Jun 9, 2023
f07736b
[API Gateway] Conformance Test Fixes (#2326)
Jun 9, 2023
6933efe
pin for 1.2.x-rc latest Consul submodules (#2327)
wilkermichael Jun 9, 2023
7f6e1cb
Ensure Reconciliation Stops (#2305)
jm96441n Jun 9, 2023
7e076bb
Add CRT docker changes for release workflow (#2333)
skpratt Jun 10, 2023
4976215
Update var check with appropriate quotes (#2330)
skpratt Jun 11, 2023
60b214e
Revert "Ensure Reconciliation Stops (#2305)" (#2341)
nathancoleman Jun 12, 2023
8f47485
Improvement- [NET-189] Added helm inputs for managing audit logs (#2265)
Ganeshrockz Jun 12, 2023
fc40d5e
Set Consul service instance localities from K8s node labels (#2346)
erichaberkorn Jun 13, 2023
345f62c
fix: use correct flag when translating namespaces (#2353)
nathancoleman Jun 13, 2023
2850962
added imagePullPolicy for images in values.yaml (#2310)
aahel Jun 13, 2023
f2c166f
[chore]: Pin github action workflows (#2356)
curtbushko Jun 13, 2023
80b1f52
ci: update backport assistant to 0.3.4 (#2365)
nathancoleman Jun 13, 2023
e691f46
update changelog based on changes made to 1.2.x (#2348)
wilkermichael Jun 13, 2023
9121afc
api-gateway: nightly conformance test action (#2257)
sarahalsmiller Jun 14, 2023
3ce3302
add crds for prioritize by locality (#2357)
erichaberkorn Jun 15, 2023
19d2fb5
set everything to correct version (#2342)
curtbushko Jun 15, 2023
c4617fc
api-gateway: fix cache and service deletion issue (#2377)
Jun 15, 2023
47d4063
Adding support for weighted k8s service (#2293)
srahul3 Jun 19, 2023
fe4857e
Bumping go-discover to the lastest version (#2390)
eastebry Jun 19, 2023
a3c8771
Pin Kind versions on release branches (#2384)
wilkermichael Jun 19, 2023
aaa54c2
[COMPLIANCE] Add Copyright and License Headers (#2400)
hashicorp-copywrite[bot] Jun 20, 2023
63c7682
update consul-dataplane on main to use 1.2-dev (#2325)
curtbushko Jun 20, 2023
4141f6f
Acceptance test for permissive mTLS (#2378)
Jun 20, 2023
08534e3
Revert "added imagePullPolicy for images in values.yaml (#2310)" (#2415)
Jun 21, 2023
883fbdc
update with new make targets (#2411)
wilkermichael Jun 22, 2023
5b1856e
feat(helm): add configurable server-acl-init and cleanup resource lim…
DanStough Jun 23, 2023
c6c5d52
update redhat registry id (#2337)
alvin-huang Jun 23, 2023
f783f7e
Fix auditlog config (#2434)
Jun 23, 2023
79db263
Add acceptance test to test sync + ingress (#2421)
Jun 23, 2023
c2a149b
[COMPLIANCE] Add Copyright and License Headers (#2456)
hashicorp-copywrite[bot] Jun 26, 2023
c83ce0c
Fix GatewayClassConfig Test Timing Issue (#2409)
Jun 26, 2023
95af4c7
always update acl policy if it exists (#2392)
aahel Jun 27, 2023
e176846
Proxy Lifecycle helm, connect-inject and acceptance tests (#2233)
mikemorris Jun 27, 2023
d3f9b67
PR breaking change release note change (#2469)
Jun 28, 2023
920ee32
Adds back gateway controller halting integration test (#2412)
missylbytes Jun 28, 2023
e976b88
api-gateway: Fix nil pointer exception panic (#2487)
sarahalsmiller Jun 29, 2023
83f050b
Use correct length for certificate RSA key for tests (#2490)
jm96441n Jun 29, 2023
8fe4fb6
APIGW: Validate length of RSA Keys (#2478)
jm96441n Jun 29, 2023
ced0ae8
add changelog for 1.2.0 dataplane and consul 1.16.0 (#2496)
wilkermichael Jun 29, 2023
736649d
Adds chanelog values for 0.49.7 (#2501)
missylbytes Jun 30, 2023
30e9f55
ci: fix eks terraform quota error by cleaning up oidc providers (#2470)
ndhanushkodi Jul 3, 2023
1161322
build: update versions to 1.3.0-dev (#2511)
DanStough Jul 6, 2023
cbcbdc5
[COMPLIANCE] Add Copyright and License Headers (#2507)
hashicorp-copywrite[bot] Jul 7, 2023
0cb24d7
values.yaml - replace connect with service mesh for some instances (#…
Jul 10, 2023
6624d34
docs: self service changelog instructions (#2526)
DanStough Jul 10, 2023
11a1851
feat: adding security context and annotations to tls and acl init/cle…
DanStough Jul 10, 2023
fb02159
NET-4813: Fix issue where virtual IP saving had insufficient ACLs. (#…
hashi-derek Jul 10, 2023
6adb9a2
reactivate proxy-lifecycle tests (#2532)
wilkermichael Jul 10, 2023
4676652
Fix test flakes. (#2483)
hashi-derek Jul 10, 2023
486061a
Update chart to use OSS image (#2528)
curtbushko Jul 11, 2023
6b45156
Remove todo.txt (#2548)
curtbushko Jul 11, 2023
fd201c5
makes gateway controllers less chatty (#2524)
missylbytes Jul 11, 2023
592e457
HCP Observability acceptance test (#2254)
chapmanc Jul 11, 2023
8582286
HCP bootstrap preset to always downcase datacenter (#2551)
chapmanc Jul 11, 2023
4f06479
api-gateway: when multiple listeners have the same port, only add to …
nathancoleman Jul 11, 2023
b8be6a0
NET-4482: set route condition appropriately when parent ref includes …
nathancoleman Jul 11, 2023
73959e7
test: update nightly tests to consul 1.17-dev (#2556)
DanStough Jul 12, 2023
65c4e74
Update Release Scripts (#2558)
wilkermichael Jul 12, 2023
df0e649
added missing changelogs (#2565)
wilkermichael Jul 12, 2023
29b6ed3
Refactor test framework to allow for more than two kube contexts (#2534)
wilkermichael Jul 14, 2023
59228dd
[COMPLIANCE] Add Copyright and License Headers (#2577)
hashicorp-copywrite[bot] Jul 17, 2023
ab462d0
Consume gateway-api v0.7.1 for acceptance testing (#2578)
nathancoleman Jul 18, 2023
c790951
Update to handle validation endpoints (#2580)
chapmanc Jul 18, 2023
07cc5cd
test(eks): fix deprecated CSI driver terraform (#2584)
DanStough Jul 19, 2023
f0530d9
Add a check to prevent a nil-pointer dereference on Ingress LB (#2592)
Jul 19, 2023
b3769b1
test: remove unused workflow inputs (#2589)
DanStough Jul 19, 2023
4d4c35a
chore: Update actions for security (#2601)
curtbushko Jul 20, 2023
a4d9487
[NET-4122] Doc guidance for federation with externalServers (#2583)
zalimeni Jul 20, 2023
414554c
Handle errors properly when services are de-registered from the catal…
curtbushko Jul 20, 2023
ff24495
Adding support for Enterprise and other improvement on the Customizin…
20sr20 Jul 20, 2023
8b45de8
Differentiate FIPS linux package names (#2599)
skpratt Jul 21, 2023
efa2be8
added make target for checking for hashicorppreview (#2603)
wilkermichael Jul 21, 2023
e2adf6f
Increase golangci-lint timeout to 10m (#2621)
zalimeni Jul 21, 2023
1690fe2
Fix TestAPIGateway_GatewayClassConfig (#2631)
Jul 24, 2023
3932e28
Support running with restricted PSA enforcement enabled (part 1) (#2572)
Jul 24, 2023
a924e88
change fips delimiter to + (#2480) (#2591)
skpratt Jul 24, 2023
5b57e63
[NET-4865] security: Upgrade Go and net/http CVE-2023-29406 (#2642)
zalimeni Jul 24, 2023
6b26d91
Consul client always logs into the local datacenter (#2652)
Jul 25, 2023
89a1c6d
Add support for requestTimeout in Service Resolver spec (#2641)
markcampv Jul 25, 2023
94414a7
Increase timeout for acl replication to 60 seconds and poll every 500…
Jul 26, 2023
596a2a7
Update changelog to address cloud auto-join change in 1.0.0 (#2667)
Jul 26, 2023
f026d43
NET-4967: Fix helm install when setting copyAnnotations or nodeSelect…
nathancoleman Jul 26, 2023
7bb0a57
Fix ordering of licence in templates (#2675)
Jul 27, 2023
b6d3e61
Mw/net 4260 phase 2 automate the k8s sameness tests (#2579)
wilkermichael Jul 27, 2023
89ee905
Added logLevel field for components (#2302)
Ganeshrockz Jul 28, 2023
3e1f799
Add missing tsccr entries (#2682)
curtbushko Jul 28, 2023
63567cb
Use controller-gen 0.8.0 for CRDs (#2684)
Jul 28, 2023
3cb0cce
Fix ingress (#2687)
Jul 28, 2023
6835b1e
[NET-4865] Bump golang.org/x/net to 0.12.0 in cni (#2668)
zalimeni Jul 28, 2023
da99ce4
Fix default Ent image tag in acceptance tests (#2683)
zalimeni Jul 31, 2023
8379be9
[NET-5146] security: Upgrade Go and `x/net` (#2710)
zalimeni Aug 2, 2023
61c7761
Increase timeout while waiting for vault server to be ready (#2709)
curtbushko Aug 2, 2023
939e7c3
Acceptance tests: increase api-gateway retries (#2716)
curtbushko Aug 3, 2023
671675d
NET-3908: allow configuration of SecurityContextConstraints when runn…
nathancoleman Aug 8, 2023
71cdbc2
Gateway privileged port mapping (#2707)
missylbytes Aug 8, 2023
a1eb32b
Support restricted PSA enforcement part 2 (#2702)
Aug 8, 2023
f3d099c
NET-4413 Implement translation + validation of TLS options (#2711)
nathancoleman Aug 9, 2023
a287fce
NET-4993 JWT auth basic acceptance test (#2706)
jm96441n Aug 9, 2023
a86533b
[NET-5217] Apply K8s node locality to services and sidecars (#2748)
zalimeni Aug 10, 2023
0100fa4
Adds changelog for release of 1.1.4 (#2754)
missylbytes Aug 11, 2023
6e98cf9
Set privileged to false unless on OpenShift without CNI (#2755)
curtbushko Aug 11, 2023
b57b936
Update consul-enterprise-version script to add -ent (#2756)
curtbushko Aug 11, 2023
1968df4
Automate the k8s sameness tests add peering (#2725)
wilkermichael Aug 11, 2023
6e9f473
Updates changelog to include 1.0.9 (#2758)
missylbytes Aug 14, 2023
ab00c03
Adds changelog for 1.2.1, reorders 1.1.4 and 1.0.9 (#2768)
missylbytes Aug 15, 2023
8a5eff0
Mw/net 4260 add tproxy coverage (#2776)
wilkermichael Aug 16, 2023
48184c6
[NET-2880] Add `PrioritizeByLocality` to `ProxyDefaults` CRD (#2784)
zalimeni Aug 17, 2023
9f089ec
AKS 1.24 is deprecated, update to latest 1.25 patch (#2792)
curtbushko Aug 18, 2023
e5ad447
Net 4889 implement retry feature on the api gateway (#2735)
sarahalsmiller Aug 18, 2023
4d40591
Update Kustomize to use `patches` instead of `patchesStrategicMerge` …
Aug 21, 2023
fd19813
[NET-4498] Test locality propagation to services from k8s (#2791)
zalimeni Aug 21, 2023
13f42c2
Use Kubernetes 1.25 on AKS (#2801)
curtbushko Aug 21, 2023
4c95f8f
Point mod to main to fix build errors (#2805)
sarahalsmiller Aug 21, 2023
3c07c5d
Fix peer test flakes. (#2812)
hashi-derek Aug 22, 2023
c064868
NET-4806: Fix ACL tokens for pods don't have pod name set (#2808)
hashi-derek Aug 22, 2023
d647bee
net-1776, add job lifecycle test and changes to connhelper (#2669)
trevorLeonHC Aug 23, 2023
55cb040
Net 1784 inject sidecar first (#2743)
trevorLeonHC Aug 23, 2023
b75d803
Add readOnlyRootFilesystem to security context (#2771) (#2789)
Aug 23, 2023
3fba398
feat: func to create V2 resource client (#2823)
DanStough Aug 23, 2023
11ded8c
feat: add helm value for consul resource-apis experiment (#2800)
DanStough Aug 23, 2023
a73c716
add sameness testing performance enhancement (#2822)
wilkermichael Aug 24, 2023
95f3a28
NET-5186 Add NET_BIND_SERVICE capability to Consul's restricted secur…
nathancoleman Aug 24, 2023
835a10c
Added tests for partition dns/pq (#2816)
wilkermichael Aug 24, 2023
aa8ff67
Mw/net 4888 add namespace tests failover wan fed (#2797)
wilkermichael Aug 25, 2023
4ea0486
fix: lifecycle enabled iptables mismatch (#2842)
DanStough Aug 25, 2023
0cd68fc
refactor: make space for v2 controllers (#2832)
DanStough Aug 25, 2023
a741836
build: update SDK version to use commit from (#2846)
DanStough Aug 25, 2023
b08a159
Revert "Add readOnlyRootFilesystem to security context (#2771)" (#2847)
Aug 28, 2023
ae2b318
Fix issue where CLI install test was running Tproxy manually (#2843)
Aug 28, 2023
085c812
Configure Gateway Deployment Resources (#2723)
Aug 28, 2023
c4cbc32
correct prometheus port and scheme annotations if tls is enabled (#2782)
rigalGit Aug 29, 2023
0dc6bc1
Adds missing fields for PassiveHealthCheck on IngressGateway and Serv…
missylbytes Aug 29, 2023
3056323
added check if anonymous token policy exists (#2790)
aahel Aug 30, 2023
ef30dc0
Net 5229 create dedicated argocd stanza (#2785)
asheshvidyut Aug 31, 2023
88fa7e1
docs - Update connectInject.logLevel docs (#2871)
Aug 31, 2023
af16373
NET-5389- Remove global.acls.nodeSelector and global.acls.annotations…
sophie-gairo Sep 1, 2023
decdca5
Filter api-gateway cache logging to reduce log output on server disco…
curtbushko Sep 5, 2023
096954c
removed deprecated `patchesStrategicMerge` (#2894)
wilkermichael Sep 5, 2023
d58a340
NET-5186 Add NET_BIND_SERVICE to built-in PSPs for consul-dataplane d…
nathancoleman Sep 5, 2023
8c44e1d
feat: add v2 pod controller w/ workload lifecycle (#2868)
DanStough Sep 5, 2023
c6b703d
Add RateLimit config to serviceDefaults (#2844)
Sep 5, 2023
837ad52
Address issue #1285 via docs (#2903)
Sep 6, 2023
b66543f
Fix audit log parse error (#2905)
Ganeshrockz Sep 7, 2023
516d762
Force a check on controller-gen version (#2902)
Sep 7, 2023
fd35b89
NET-581 - Added vault namespace in helm (#2841)
asheshvidyut Sep 8, 2023
d5fdc0d
[NET-5399] Improve token fetching performance for endpoints controlle…
hashi-derek Sep 8, 2023
6e5d7d8
Update README.md - include Consul API Gateway as a use case (#2931)
Sep 8, 2023
2f84fa0
feat: add v2 endpoints controller (#2883)
zalimeni Sep 11, 2023
da909d7
Tests: Fix/improve tests with Restricted PSA enforcement (#2780)
pglass Sep 11, 2023
fcb1b3e
Fix for acceptance tests
Sep 11, 2023
b0425d6
fix accpetance test
Sep 11, 2023
582039b
fix spaces
Sep 11, 2023
2f673e8
fix get
Sep 11, 2023
d20bfe9
added bats test
Sep 11, 2023
4f575c0
fix test name
Sep 11, 2023
5bfbae8
backport of commit 4f575c08130ef5746a311940b7100ce7a70a8c09
Sep 11, 2023
b9f8cba
Merge 4f575c08130ef5746a311940b7100ce7a70a8c09 into backport/fix-acce…
hc-github-team-consul-core Sep 12, 2023
cf4d5b5
backport of commit 1b7014efc701edc768c723eac98ea28ac8817972
Sep 12, 2023
77f1ea3
Merge branch 'release/1.2.x' of ssh://github.com/hashicorp/consul-k8s…
Sep 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charts/consul/templates/ingress-gateways-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ spec:
{{- if $root.Values.global.secretsBackend.vault.agentAnnotations }}
{{ tpl $root.Values.global.secretsBackend.vault.agentAnnotations $root | nindent 8 | trim }}
{{- end }}
{{- if (and ($root.Values.global.secretsBackend.vault.vaultNamespace) (not (hasKey (default "" $root.Values.global.secretsBackend.vault.agentAnnotations | fromYaml) "vault.hashicorp.com/namespace")))}}
"vault.hashicorp.com/namespace": "{{ $root.Values.global.secretsBackend.vault.vaultNamespace }}"
{{- end }}
{{- end }}
{{- if (and $root.Values.global.metrics.enabled $root.Values.global.metrics.enableGatewayMetrics) }}
"prometheus.io/scrape": "true"
Expand Down
5 changes: 4 additions & 1 deletion charts/consul/templates/server-acl-init-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,12 @@ spec:
fieldPath: metadata.name
# Extract the Vault namespace from the Vault agent annotations.
{{- if .Values.global.secretsBackend.vault.enabled }}
{{- if .Values.global.secretsBackend.vault.agentAnnotations }}
{{- if and (.Values.global.secretsBackend.vault.agentAnnotations) (hasKey (default "" .Values.global.secretsBackend.vault.agentAnnotations | fromYaml) "vault.hashicorp.com/namespace") }}
- name: VAULT_NAMESPACE
value: {{ get (tpl .Values.global.secretsBackend.vault.agentAnnotations . | fromYaml) "vault.hashicorp.com/namespace" }}
{{- else if .Values.global.secretsBackend.vault.vaultNamespace }}
- name: VAULT_NAMESPACE
value: {{ .Values.global.secretsBackend.vault.vaultNamespace }}
{{- end }}
{{- end }}
{{- include "consul.consulK8sConsulServerEnvVars" . | nindent 8 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/consul/templates/terminating-gateways-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
{{- if $root.Values.global.secretsBackend.vault.agentAnnotations }}
{{ tpl $root.Values.global.secretsBackend.vault.agentAnnotations $root | nindent 8 | trim }}
{{- end }}
{{- if (and ($root.Values.global.secretsBackend.vault.vaultNamespace) (not (hasKey (default "" $root.Values.global.secretsBackend.vault.agentAnnotations | fromYaml) "vault.hashicorp.com/namespace")))}}
"vault.hashicorp.com/namespace": "{{ $root.Values.global.secretsBackend.vault.vaultNamespace }}"
{{- end }}
{{- end }}
{{- if (and $root.Values.global.metrics.enabled $root.Values.global.metrics.enableGatewayMetrics) }}
"prometheus.io/scrape": "true"
Expand Down
19 changes: 19 additions & 0 deletions charts/consul/test/unit/ingress-gateways-deployment.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1168,6 +1168,25 @@ key2: value2' \
[ "${actual}" = "bar" ]
}

@test "ingressGateway/Deployment: vault namespace annotations can be set when secretsBackend.vault.vaultNamespace is set and .global.secretsBackend.vault.agentAnnotations is not set." {
cd `chart_dir`
local object=$(helm template \
-s templates/ingress-gateways-deployment.yaml \
--set 'ingressGateways.enabled=true' \
--set 'connectInject.enabled=true' \
--set 'global.tls.enabled=true' \
--set 'global.secretsBackend.vault.enabled=true' \
--set 'global.secretsBackend.vault.consulClientRole=test' \
--set 'global.secretsBackend.vault.consulServerRole=foo' \
--set 'global.tls.caCert.secretName=foo' \
--set 'global.secretsBackend.vault.consulCARole=carole' \
--set 'global.secretsBackend.vault.vaultNamespace=vns' \
. | tee /dev/stderr |
yq -r '.spec.template' | tee /dev/stderr)
local actual=$(echo $object | yq -r '.metadata.annotations."vault.hashicorp.com/namespace"')
[ "${actual}" = "vns" ]
}

#--------------------------------------------------------------------
# terminationGracePeriodSeconds

Expand Down
19 changes: 19 additions & 0 deletions charts/consul/test/unit/terminating-gateways-deployment.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,25 @@ key2: value2' \
[ "${actual}" = "bar" ]
}

@test "terminatingGateways/Deployment: vault namespace annotations can be set when secretsBackend.vault.vaultNamespace is set and .global.secretsBackend.vault.agentAnnotations is not set." {
cd `chart_dir`
local object=$(helm template \
-s templates/terminating-gateways-deployment.yaml \
--set 'terminatingGateways.enabled=true' \
--set 'connectInject.enabled=true' \
--set 'global.tls.enabled=true' \
--set 'global.secretsBackend.vault.enabled=true' \
--set 'global.secretsBackend.vault.consulClientRole=test' \
--set 'global.secretsBackend.vault.consulServerRole=foo' \
--set 'global.tls.caCert.secretName=foo' \
--set 'global.secretsBackend.vault.consulCARole=carole' \
--set 'global.secretsBackend.vault.vaultNamespace=vns' \
. | tee /dev/stderr |
yq -r '.spec.template' | tee /dev/stderr)
local actual=$(echo $object | yq -r '.metadata.annotations."vault.hashicorp.com/namespace"')
[ "${actual}" = "vns" ]
}

#--------------------------------------------------------------------
# global.cloud

Expand Down