Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/kisunji/vault-ca-clean-unused-is…
Browse files Browse the repository at this point in the history
…suers' into kisunji/vault-ca-clean-unused-issuers

# Conflicts:
#	.changelog/18773.txt
  • Loading branch information
Chris S. Kim committed Sep 13, 2023
2 parents 157a406 + 01accb7 commit 34d6441
Show file tree
Hide file tree
Showing 25 changed files with 1,940 additions and 640 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test-integrations-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
envoy-version: [ "1.24.10", "1.25.9", "1.26.4", "1.27.0" ]
envoy-version: [ "1.27.0" ]
xds-target: [ "server", "client" ]
env:
ENVOY_VERSION: ${{ matrix.envoy-version }}
Expand Down Expand Up @@ -103,22 +103,22 @@ jobs:
# https://hashicorp.atlassian.net/browse/NET-4973
# ^ Ticket to figure out why grouping test case is failing on Windows Machine

- name: Envoy Integration Tests for windows case-api-gateway-http-hostnames
shell: bash
if: always()
env:
GOTESTSUM_JUNITFILE: ${{ env.TEST_RESULTS_DIR }}/results.xml
GOTESTSUM_FORMAT: standard-verbose
COMPOSE_INTERACTIVE_NO_CLI: 1
LAMBDA_TESTS_ENABLED: "true"
# tput complains if this isn't set to something.
TERM: ansi
run: |
# shellcheck disable=SC2001
echo "Running Integration Test case-api-gateway-http-hostnames"
# shellcheck disable=SC2001
go test -v -timeout=45m -tags integration \
./test/integration/connect/envoy -run="TestEnvoy/case-api-gateway-http-hostnames" -win=true
# - name: Envoy Integration Tests for windows case-api-gateway-http-hostnames
# shell: bash
# if: always()
# env:
# GOTESTSUM_JUNITFILE: ${{ env.TEST_RESULTS_DIR }}/results.xml
# GOTESTSUM_FORMAT: standard-verbose
# COMPOSE_INTERACTIVE_NO_CLI: 1
# LAMBDA_TESTS_ENABLED: "true"
# # tput complains if this isn't set to something.
# TERM: ansi
# run: |
# # shellcheck disable=SC2001
# echo "Running Integration Test case-api-gateway-http-hostnames"
# # shellcheck disable=SC2001
# go test -v -timeout=45m -tags integration \
# ./test/integration/connect/envoy -run="TestEnvoy/case-api-gateway-http-hostnames" -win=true

- name: Envoy Integration Tests for windows case-api-gateway-http-simple
shell: bash
Expand Down
6 changes: 2 additions & 4 deletions agent/xds/proxystateconverter/listeners.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,6 @@ func (s *Converter) makeInboundListener(cfgSnap *proxycfg.ConfigSnapshot, name s
if l7Dest == nil {
return nil, fmt.Errorf("l7 destination on inbound listener should not be empty")
}
l7Dest.AddEmptyIntention = true

// TODO(proxystate): L7 Intentions and JWT Auth will be added in the future.
//jwtFilter, jwtFilterErr := makeJWTAuthFilter(cfgSnap.JWTProviders, cfgSnap.ConnectProxy.Intentions)
Expand Down Expand Up @@ -1053,8 +1052,7 @@ func (s *Converter) makeInboundListener(cfgSnap *proxycfg.ConfigSnapshot, name s
l4Dest.MaxInboundConnections = uint64(cfg.MaxInboundConnections)
}

// TODO(proxystate): Intentions will be added to l4 destination in the future. This is currently done in finalizePublicListenerFromConfig.
l4Dest.AddEmptyIntention = true
l4Dest.TrafficPermissions = &pbproxystate.L4TrafficPermissions{}
}
l.Routers = append(l.Routers, localAppRouter)

Expand Down Expand Up @@ -1575,7 +1573,7 @@ func (g *Converter) makeL7Destination(opts destinationOpts) (*pbproxystate.L7Des
// access and that every filter chain uses our TLS certs.
if len(opts.httpAuthzFilters) > 0 {
// TODO(proxystate) support intentions in the future
dest.Intentions = make([]*pbproxystate.L7Intention, 0)
dest.TrafficPermissions = &pbproxystate.L7TrafficPermissions{}
//cfg.HttpFilters = append(opts.httpAuthzFilters, cfg.HttpFilters...)
}

Expand Down
Loading

0 comments on commit 34d6441

Please sign in to comment.