Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of Add NET_BIND_SERVICE to the security context in the deployment of Mesh Gateway (NET-6463) into release/1.0.x #3567

This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 24, 2023

  1. NET-5186 Add NET_BIND_SERVICE capability to Consul's restricted secur…

    …ityContext (#2787)
    
    * Add NET_BIND_SERVICE capability to Consul's restricted securityContext
    
    * Add changelog entry
    
    * Update related bats tests
    
    * Change type of release note
    nathancoleman authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    95f3a28 View commit details
    Browse the repository at this point in the history
  2. Added tests for partition dns/pq (#2816)

    * Added tests for partition dns/pq
    - did some light refactoring
    wilkermichael authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    835a10c View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Mw/net 4888 add namespace tests failover wan fed (#2797)

    * added fixtures
    
    * modified connHelper Create Intention
    - Function can now take optional intention ops. For now just supports overriding the source/destination namespaces
    
    * added WAN Federation test
    - split out into own test because TestWANFederation also does some PSA related tests. Didn't want to change this test too much, and my test requires consul-k8s mirroring
    - added new test TestWANFederationFailover which tests some failover scenarios, including to different namespaces and datacenters
    
    * refactored connHelper to use opts
    wilkermichael authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    aa8ff67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ea0486 View commit details
    Browse the repository at this point in the history
  3. refactor: make space for v2 controllers (#2832)

    refator: make space for v2 controllers
    DanStough authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    0cd68fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a741836 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Revert "Add readOnlyRootFilesystem to security context (#2771)" (#2847)

    Revert "Add readOnlyRootFilesystem to security context (#2771) (#2789)"
    
    This reverts commit b75d803.
    David Yu authored Aug 28, 2023
    Configuration menu
    Copy the full SHA
    b08a159 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae2b318 View commit details
    Browse the repository at this point in the history
  3. Configure Gateway Deployment Resources (#2723)

    * Update comments on Deployment
    
    * Move resources into managedGatewayClass
    
    * Add resource configuration to GatewayClassConfig
    
    * Regenerate CRDs
    
    * Pass resource configuration into the gateway-resources-job
    
    * Pull in resources from GatewayClassConfig
    
    * Add flag for resources in `gateway-resources` subcommand
    
    * Clean up some comments in existing code
    
    * Add gateway-resources configmap
    
    * Load configmap into gateway-resources job
    
    * Load resources from json
    
    * Update CRDs
    
    * Read resources in from the configmap
    
    * Add BATs for Gateway Resources Configmap
    
    * Add Changelog
    
    * Fix unquoted value in BATs
    
    * Fix how resources.json is read
    
    * Fix BATs errors for real
    
    * Fix seg fault bug
    
    * Fix reading of resources file
    
    * Quote "$actual"
    
    * Fix zsh/sh differences in BATs
    
    * Update control-plane/api-gateway/common/helm_config.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Move resources into DeploymentSpec
    
    * Remove extra split in crds
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    Thomas Eckert and nathancoleman authored Aug 28, 2023
    Configuration menu
    Copy the full SHA
    085c812 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. correct prometheus port and scheme annotations if tls is enabled (#2782)

    * correct prometheus port and scheme annotations if tls is enabled
    rigalGit authored Aug 29, 2023
    Configuration menu
    Copy the full SHA
    c4cbc32 View commit details
    Browse the repository at this point in the history
  2. Adds missing fields for PassiveHealthCheck on IngressGateway and Serv…

    …iceDefault CRDs (#2796)
    
    Co-authored-by: Andrew Stucki <andrew.stucki@hashicorp.com>
    missylbytes and Andrew Stucki authored Aug 29, 2023
    Configuration menu
    Copy the full SHA
    0dc6bc1 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. added check if anonymous token policy exists (#2790)

    * added check if anonymous token policy exists
    
    * changed checkIfAnonymousTokenPolicyExists impl
    
    * made consts private
    
    * added test for configureAnonymousPolicy
    
    * fixed unit test
    
    * fixed test and minor refactoring
    
    * fix typo
    
    * changed some var names
    
    * added changelog
    aahel authored Aug 30, 2023
    Configuration menu
    Copy the full SHA
    3056323 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. Net 5229 create dedicated argocd stanza (#2785)

    * enable argocd
    
    * adds bats test and setting argo annotations if global.argocd.enabled = true
    
    * update comment
    
    * added change log
    
    * Update charts/consul/templates/gateway-cleanup-job.yaml
    
    Co-authored-by: Ganesh S <ganesh.seetharaman@hashicorp.com>
    
    * comments fixes
    
    * fix line diff
    
    * change log fix
    
    * fix comment
    
    * Update .changelog/2785.txt
    
    Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Ganesh S <ganesh.seetharaman@hashicorp.com>
    Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
    3 people authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    ef30dc0 View commit details
    Browse the repository at this point in the history
  2. docs - Update connectInject.logLevel docs (#2871)

    * Update values.yaml
    
    Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
    David Yu and boruszak authored Aug 31, 2023
    Configuration menu
    Copy the full SHA
    88fa7e1 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. NET-5389- Remove global.acls.nodeSelector and global.acls.annotations…

    … from Gateway Resources Jobs (#2869)
    
    * Remove  and  from Gateway Resources Jobs
    
    * changelog
    
    * Remove acl annotations from gateway resources unit tests
    sophie-gairo authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    af16373 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Filter api-gateway cache logging to reduce log output on server disco…

    …nnect (#2880)
    
    * Reduce api-gateway logging
    * add changelog
    curtbushko authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    decdca5 View commit details
    Browse the repository at this point in the history
  2. removed deprecated patchesStrategicMerge (#2894)

    * removed deprecated `patchesStrategicMerge`
    
    * fixed some extra whitespace
    wilkermichael authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    096954c View commit details
    Browse the repository at this point in the history
  3. NET-5186 Add NET_BIND_SERVICE to built-in PSPs for consul-dataplane d…

    …eployments (#2890)
    
    Add NET_BIND_SERVICE to built-in PSPs for consul-dataplane deployments
    nathancoleman authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    d58a340 View commit details
    Browse the repository at this point in the history
  4. feat: add v2 pod controller w/ workload lifecycle (#2868)

    * feat: add v2 pod controller w/ workload lifecycle
    DanStough authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    8c44e1d View commit details
    Browse the repository at this point in the history
  5. Add RateLimit config to serviceDefaults (#2844)

    Chris S. Kim authored Sep 5, 2023
    Configuration menu
    Copy the full SHA
    c6b703d View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Address issue #1285 via docs (#2903)

    * Update values.yaml
    Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
    David Yu authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    837ad52 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Fix audit log parse error (#2905)

    * Fix audit log parse error
    
    * Add changelog
    
    * Fix filename
    
    * Address comments
    Ganeshrockz authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    b66543f View commit details
    Browse the repository at this point in the history
  2. Force a check on controller-gen version (#2902)

    Thomas Eckert authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    516d762 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. NET-581 - Added vault namespace in helm (#2841)

    * added namespace
    
    * namespace in connect ca
    
    * updated tests
    
    * fix test desc
    
    * changelog
    
    * Update .changelog/2841.txt
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * Update charts/consul/values.yaml
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * removed new line added
    
    * fix templates
    
    * bats test
    
    * fix double colon
    
    * fix template
    
    * added 2 more tests
    
    * fixes bats tests
    
    * fix json in api gateway
    
    * updated bats test
    
    * Update charts/consul/values.yaml
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * fix client daemon set bats
    
    * fix bats test
    
    * fix bats
    
    * api gateway fix
    
    * fix bats
    
    * fix clientdaemon set and api gateway controller
    
    * fix connect inject deployment
    
    * fix mesh gateway deployment
    
    * added tests for partition init job
    
    * server acl init job tests added
    
    * fix server stateful bats
    
    * fix sync catalog
    
    * fix includes check
    
    * bats test fixes
    
    * fix connect inject
    
    * fix yaml
    
    * fix yaml
    
    * fix assertions in bats
    
    * fix client daemon set bats
    
    * Update charts/consul/values.yaml
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * Update charts/consul/templates/server-config-configmap.yaml
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * change yaml
    
    * added addional config test
    
    * fix tests
    
    * added more tests
    
    * fix bats
    
    * Update charts/consul/test/unit/server-config-configmap.bats
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * Update charts/consul/test/unit/server-config-configmap.bats
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * Update .changelog/2841.txt
    
    Co-authored-by: David Yu <dyu@hashicorp.com>
    
    * Update .changelog/2841.txt
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * added dummy commit to run CI
    
    * fix change log
    
    * fix comment
    
    ---------
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    Co-authored-by: David Yu <dyu@hashicorp.com>
    3 people authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    fd35b89 View commit details
    Browse the repository at this point in the history
  2. [NET-5399] Improve token fetching performance for endpoints controlle…

    …r. (#2910)
    
    Improve token fetching performance for endpoints controller.
    
    Prior to this change, the endpoints controller would list all ACL tokens in a
    namespace when a service instance is being deleted. This commit improves the
    performance by querying only the necessary subset of tokens by service-identity
    / service-name.
    hashi-derek authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    d5fdc0d View commit details
    Browse the repository at this point in the history
  3. Update README.md - include Consul API Gateway as a use case (#2931)

    Update README.md
    David Yu authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6e5d7d8 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2023

  1. feat: add v2 endpoints controller (#2883)

    Implement the basic requirements of a new Endpoints controller that
    registers Services via Consul's V2 API.
    
    Further tests and TODOs will be addressed in follow-up changes.
    zalimeni authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    2f84fa0 View commit details
    Browse the repository at this point in the history
  2. Tests: Fix/improve tests with Restricted PSA enforcement (#2780)

    * tests: Respect UseAppNamespace in ConnectHelper
    
    * tests: Auto-configure restricted PSA enforcement when enabled
    
    ---------
    
    Co-authored-by: Paul Glass <pglass@hashicorp.com>
    pglass and Paul Glass authored Sep 11, 2023
    Configuration menu
    Copy the full SHA
    da909d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e8831f View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. Fix for acceptance tests (#2937)

    * Fix for acceptance tests
    
    * fix accpetance test
    
    * fix spaces
    
    * fix get
    
    * added bats test
    
    * fix test name
    
    * fix bats
    absolutelightning authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    43fb01e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    869b097 View commit details
    Browse the repository at this point in the history
  3. [NET-5574] Update Go version to 1.20.8 (#2936)

    Update Go version to 1.20.8
    
    This resolves several CVEs (see changelog entry).
    zalimeni authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e20ff98 View commit details
    Browse the repository at this point in the history
  4. Create mesh webhook to support v2 resources (#2930)

    * mesh webhook v2
    thisisnotashwin authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c73605e View commit details
    Browse the repository at this point in the history
  5. NET-5531 Translate response header modifier(s) from HTTPRoute onto Co…

    …nsul config entry (#2904)
    
    * Translate response header modifier(s) from HTTPRoute onto Consul config entry
    
    * Update dependency pins to include response filter changes in consul modules
    
    * Add changelog entry
    
    * Account for response filters when determining whether an HTTPRoute change requires a sync
    
    * Stop setting empty header modifier in Consul when not present in HTTPRoute
    
    * Remove unnecessary len check
    
    * Make comments more robust for replace directives
    
    Also use same pin for `sdk` that we're using for `api` and `proto-public`
    nathancoleman authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    fd4e184 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. Configuration menu
    Copy the full SHA
    ed61c56 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. feat: v2 mesh-init command (#2941)

    * feat: v2 mesh-init command
    
    * bugfix mesh-init test
    
    * add mesh-init args to webhook
    
    * fix: remove v2 flags from partition-init
    
    * update telemetry-collector with v2 flags
    
    * Apply suggestions from code review
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * PR feedback Part II
    
    * bugfix test
    
    * fix: endpoints v2 selector stability
    
    ---------
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    DanStough and zalimeni authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    38dc912 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2fe5ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7966629 View commit details
    Browse the repository at this point in the history
  4. feat: add namespace controller (#2956)

    * feat: add node controller
    
    * lint fix
    
    * Apply suggestions from code review
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
    
    * PR feedback Part II
    
    ---------
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
    3 people authored Sep 14, 2023
    Configuration menu
    Copy the full SHA
    6e163e3 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. GKE Autopilot support (#2952)

    * GKE Autopilot support
    curtbushko authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    ca870a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1bc57e View commit details
    Browse the repository at this point in the history
  3. [NET-5314] Limit v2 Service port registration to L4 TCP ports (#2965)

    Limit v2 Service port registration to L4 TCP ports
    
    Ignore non-TCP L4 ports in K8s services. This is expected behavior and
    also prevents unintended duplication of Service port values registered
    to Consul (which is not supported) when ports have multiplexed L4
    traffic.
    zalimeni authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    60d09e2 View commit details
    Browse the repository at this point in the history
  4. APIGW NS JWT Auth (#2962)

    * NET-4978: New CRDs for GW JWT Auth (#2734)
    
    * Added CRDs for gateway policy and httproute auth filter
    
    * Added bats tests
    
    * Correctly configured http route auth filter extension
    
    * Small docs update for operator-sdk usage
    
    * updated docs a bit, added gateway policy CRD
    
    * removed extra crd, updated bats tests
    
    * Added changelog
    
    * Added periods for consistency
    
    * Revert unnecessary changes
    
    * make jwt requirement optional
    
    * Updated jwt config to be optional to allow for other auth types
    
    * Rename HTTPRouteAuthFilter to RouteAuthFilter
    
    * Fix typo for omitempty
    
    * finish httprouteauthfilters rename to routeauthfilters
    
    * Added target reference for gateway policies
    
    * Add period to sentence for linter
    
    * Rename APIGatewayJWT* fields to GatewayJWT* and fixed spots of renaming
    of HTTPRouteAuthFilter to RouteAuthFilter
    
    * Gateway policy translation NET 4980 (#2835)
    
    * squash
    
    * reset crd-gatewaypolicies
    
    * reset
    
    * reset
    
    * fix lint issues
    
    * fix nil pointer issue
    
    * checkpoint
    
    * change to resourseref key
    
    * update to pull all policies
    
    * add nil checks
    
    * more nil pointer checks for defensice programing
    
    * fix lint issue
    
    * delete comment
    
    * add unit test, fix add function
    
    * Update control-plane/api-gateway/common/translation.go
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * Translate HTTPAuthFilter onto HTTPRoute (#2836)
    
    * Add function
    
    * Add RouteAuthFilterKind export
    
    * Add ServicesForRoute function
    
    * Start adding translateHTTPRouteAuth
    
    * Added translation filter to existing filter processing
    
    * Split out formatting into subfunctions
    
    * Remove original function
    
    * Remove ServicesForRoute
    
    * Change httprouteauthfilter to routeauthfilter
    
    * Reuse GatewayJWT type for Routes
    
    * Match Sarah's style for translation functions
    
    * Start adding filter tests
    
    * Wrap up test for filters
    
    * Uncomment other tests
    
    * Use existing v1alpha1 import for group
    
    * Remove old make* function
    
    * Use ConvertSliceFunc
    
    * Fix group in translation_test
    
    * Manually un-diff CRDs
    
    * cleanup
    
    * cleanup
    
    * clean up
    
    * update index function
    
    ---------
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * Added validating webhook for gateway policy (#2912)
    
    * Added validating webhook for gateway policy
    
    * Change denied message to provide more information to the operator
    
    * [APIGW] Add comparison of gateway policies to diffing logic (#2939)
    
    * Fix bug in comparison of gateway policies
    
    * fix fmting
    
    * Added gateway equal test
    
    * Finished adding tests and refactored to use slices convencience
    functions
    
    * Reconcile Route Auth Filter changes (#2954)
    
    * Group indices by resource
    
    * Add index for HTTPRoutes referencing RouteAuthFilters
    
    * Add watch for HTTPRoutes referencing RouteAuthFilters
    
    * Add permissions to connect-inject clusterrole
    
    * Compare JWT filters for equality
    
    * Add RouteAuthFilter to resource translator
    
    * [NET-5017] APIGW Status Conditions for Gateway for JWT/Reconcile on JWTProvider Changes (#2950)
    
    * Added watches and status condition on gateway listeners for JWT
    validation
    
    * Only append errors if they're non-nil
    
    * Added tests for validating jwt on listener and for adding/retrieving jwt
    from resource map
    
    * fix fmting
    
    * Clean up from PR review
    
    * Use two value form of map access
    
    * Rename function
    
    * clean up from PR review
    
    * [NET-5017] APIGW Status Conditions for Gateway Policies (#2955)
    
    * Adding status conditions for gw policy
    
    * Fixed issue where status was not being propagated for policies
    
    * Moved code to correct places
    
    * Revert formatting
    
    * Cleaned up error creation, added validation tests
    
    * Added results tests, updated binding test
    
    * Updates from PR review: clean up comments/appends, use correct
    conditions for defaults
    
    * [NET-5017] APIGW Status Conditions for RouteAuthFilter and Routes wrt JWT (#2961)
    
    * NET-4978: New CRDs for GW JWT Auth (#2734)
    
    * Added CRDs for gateway policy and httproute auth filter
    
    * Added bats tests
    
    * Correctly configured http route auth filter extension
    
    * Small docs update for operator-sdk usage
    
    * updated docs a bit, added gateway policy CRD
    
    * removed extra crd, updated bats tests
    
    * Added changelog
    
    * Added periods for consistency
    
    * Revert unnecessary changes
    
    * make jwt requirement optional
    
    * Updated jwt config to be optional to allow for other auth types
    
    * Rename HTTPRouteAuthFilter to RouteAuthFilter
    
    * Fix typo for omitempty
    
    * finish httprouteauthfilters rename to routeauthfilters
    
    * Added target reference for gateway policies
    
    * Add period to sentence for linter
    
    * Rename APIGatewayJWT* fields to GatewayJWT* and fixed spots of renaming
    of HTTPRouteAuthFilter to RouteAuthFilter
    
    * Gateway policy translation NET 4980 (#2835)
    
    * squash
    
    * reset crd-gatewaypolicies
    
    * reset
    
    * reset
    
    * fix lint issues
    
    * fix nil pointer issue
    
    * checkpoint
    
    * change to resourseref key
    
    * update to pull all policies
    
    * add nil checks
    
    * more nil pointer checks for defensice programing
    
    * fix lint issue
    
    * delete comment
    
    * add unit test, fix add function
    
    * Update control-plane/api-gateway/common/translation.go
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * Translate HTTPAuthFilter onto HTTPRoute (#2836)
    
    * Add function
    
    * Add RouteAuthFilterKind export
    
    * Add ServicesForRoute function
    
    * Start adding translateHTTPRouteAuth
    
    * Added translation filter to existing filter processing
    
    * Split out formatting into subfunctions
    
    * Remove original function
    
    * Remove ServicesForRoute
    
    * Change httprouteauthfilter to routeauthfilter
    
    * Reuse GatewayJWT type for Routes
    
    * Match Sarah's style for translation functions
    
    * Start adding filter tests
    
    * Wrap up test for filters
    
    * Uncomment other tests
    
    * Use existing v1alpha1 import for group
    
    * Remove old make* function
    
    * Use ConvertSliceFunc
    
    * Fix group in translation_test
    
    * Manually un-diff CRDs
    
    * cleanup
    
    * cleanup
    
    * clean up
    
    * update index function
    
    ---------
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * Added status conditions for JWT for auth filters and for routes
    
    * Extract function
    
    * Use more generic error for invalid filter
    
    * Re-run ctrl-manifests with correct controller-generate version
    
    * Clean up from pr review
    
    * gofmt
    
    ---------
    
    Co-authored-by: sarahalsmiller <100602640+sarahalsmiller@users.noreply.github.com>
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * Added changelog
    
    * clean up some renames from httprouteauthfilter -> routeauthfilter
    
    * Fix broken webhook test, added new test
    
    ---------
    
    Co-authored-by: sarahalsmiller <100602640+sarahalsmiller@users.noreply.github.com>
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    3 people authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    2d03f3e View commit details
    Browse the repository at this point in the history
  5. [NET-5318] feat: add v2 service account controller (#2947)

    feat: add v2 service account controller
    
    Implement the basic requirements of a new Service Account controller
    that registers Workload Identities via Consul's V2 API.
    
    Also lightly refactor some of the shared controller data in V2.
    
    Further tests and TODOs will be addressed in follow-up changes.
    zalimeni authored Sep 15, 2023
    Configuration menu
    Copy the full SHA
    cf13889 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Configuration menu
    Copy the full SHA
    7cf20be View commit details
    Browse the repository at this point in the history
  2. fix(control-plane): Only register v2 service when pods injected (#2969)

    We are currently registering all services in k8s regardless of whether
    they represent mesh-injected workloads. This is both creating "junk"
    registrations for Consul and k8s components, but additionally can create
    issues in Consul core when generating routes with TProxy enabled, since
    these services will not have endpoints.
    
    To solve for both of these issues, selectively sync k8s services to
    Consul in the v2 Endpoints controller only when at least one of its pods
    is injected.
    
    Follow-up work will address edge cases where we want to maintain a
    service entry even without workloads, such as when the global inject
    flag is set, and when a service temporarily loses endpoints but is
    already registered and part of the mesh.
    zalimeni authored Sep 18, 2023
    Configuration menu
    Copy the full SHA
    58749fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4616cf View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. Revert temporary fixes to endpoints v2 tests (#2971)

    These were necessary to get tests to pass during the merge of several
    PRs across `consul` and `consul-k8s` but are no longer needed.
    zalimeni authored Sep 19, 2023
    Configuration menu
    Copy the full SHA
    f662cf5 View commit details
    Browse the repository at this point in the history
  2. feat: Add HCP Observability ClientID and ClientSecret (#2958)

    * feat: Add HCP Observability ClientID and ClientSecret
    
    * go mod tidy
    
    * changelog
    clly authored Sep 19, 2023
    Configuration menu
    Copy the full SHA
    1b52ac3 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. v2: multiport acceptance test in tproxy mode (#2970)

    * wip: controllers are running, and now multiport mesh init is stuck, with workloads not being synced to consul and error logs from endpoints v2 controller
    * explicitly specify dataplane tenancy (needed from manual testing)
    * connect inject deployment was missing a \ to complete the command
    * server statefulset was also missing a \ so v2 mode wasn't being turned
    on.
    
    
    ---
    Thanks for pairing, I may have missed a few names of folks who've hopped in to help debug these:
    Co-authored-by: Iryna Shustava <iryna@hashicorp.com>
    Co-authored-by: Dan Stough <dan.stough@hashicorp.com>
    Co-authored-by: Michael Wilkerson <mwilkerson@hashicorp.com>
    Co-authored-by: John Murret <john.murret@hashicorp.com>
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    ndhanushkodi authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    1fde7ab View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Mw/net 5340 add support for explicit upstreams (#2977)

    * fixed some comments and old things
    - spelling mistakes
    - clarity on old controller also removed peer from unlabeled as this is unsupported
    
    * added explicit upstreams writing/deleting
    - added processing for pod annotations to handle labeled and unlabeled case. This is heavily based on what was done in the endpoints controller
    - one deviation is instead of looking for the first key to determine the labeled case, I scan for all keys. I think this will provide us with more meaningful errors since the ordering matters.
    
    * added explicit upstream write/delete tests
    - most of the tests cases are based on what is currently in the endpoint controller
    - split some of the write cases into just testing the processing logic so that we don't have to spin up a Consul client each time which made the test very slow.
    
    * disable support for peers and dcs in annotations, this will be added back when supported
    wilkermichael authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    04b7db2 View commit details
    Browse the repository at this point in the history
  2. [NET-5682] Disable flaky Vault namespace test (#2983)

    Disable flaky Vault namespace test
    zalimeni authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    57317ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b20a99 View commit details
    Browse the repository at this point in the history
  4. test(control-plane): add ENT tests for pod controller (#2974)

    * test(control-plane): add ENT tests for pod controller
    
    * Apply suggestions from code review
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    
    * Add Upstreams ENT tests
    
    ---------
    
    Co-authored-by: Michael Zalimeni <michael.zalimeni@hashicorp.com>
    DanStough and zalimeni authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    c1bcdf4 View commit details
    Browse the repository at this point in the history
  5. [NET-5674] v2: Conditional target port when numeric in k8s (#2978)

    v2: Conditional target port when numeric in k8s
    
    When choosing a Consul service TargetPort (name) in the v2 Endpoints
    Controller, attempt to find the best match among endpoint container
    ports when the K8s service target port value is a number.
    
    This bridges an existing gap between Consul (which always expects a
    Workload port to be named), and K8s (where container ports need not be
    named, and names are ignored when the K8s service targets by number).
    
    This change will be mostly reverted in a future release once Consul's v2
    data model allows for target ports to be a name or number in alignment
    w/ K8s behavior.
    zalimeni authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    f700c2d View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Update changelog (#2990)

    Chris S. Kim authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    de31ec7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d11a467 View commit details
    Browse the repository at this point in the history
  3. V2 MeshConfig Controller and TrafficPermissions CRD (#2967)

    Co-authored-by: DanStough <dan.stough@hashicorp.com>
    thisisnotashwin and DanStough authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    e57edf5 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. traffic-permissions: fix unit tests to account for mutation hook (#3004)

    Consul now will default tenancy for traffic permission sources. This PR changes unit tests to account for that
    ishustava authored Sep 23, 2023
    Configuration menu
    Copy the full SHA
    db6c3de View commit details
    Browse the repository at this point in the history
  2. Add explicit upstreams to multiport acceptance test (#2986)

    * added explicit upstream write/delete tests
    - most of the tests cases are based on what is currently in the endpoint controller
    - split some of the write cases into just testing the processing logic so that we don't have to spin up a Consul client each time which made the test very slow.
    jmurret authored Sep 23, 2023
    Configuration menu
    Copy the full SHA
    c84b059 View commit details
    Browse the repository at this point in the history
  3. refactored annotation processing (#2996)

    * refactored annotation processing for reuse
    wilkermichael authored Sep 23, 2023
    Configuration menu
    Copy the full SHA
    12aeb30 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Configuration menu
    Copy the full SHA
    8c1904b View commit details
    Browse the repository at this point in the history
  2. Mw/net 5679 explicit upstreams mesh webhook injects upstream env vari…

    …able (#2995)
    
    * added logic for injecting environment variable based on annotations
    
    * fixed a bug in annotation processor
    - nil pointer exception because we weren't checking for a length of two in the unlabeled case
    - added a test to make sure it's covered
    
    * added container env logic for injecting env variables
    - due to refactoring can support same labeled/unlabeld parsing logic as when pod controller processes the annotations
    
    * added an error check to the `containerEnvVars(pod)` call
    wilkermichael authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    756c37f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04a8d98 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Rename pbmesh.Upstreams to pbmesh.Destinations (#3005)

    * Rename pbmesh.Upstreams to pbmesh.Destinations
    
    * fix traffic perm acceptance tests fixture
    
    * more mesh v2 acceptance test fixes
    
    * kick off k8s tests
    
    * update images
    ishustava authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    78ad376 View commit details
    Browse the repository at this point in the history
  2. docs: add V2 RC changelog (#2999)

    * docs: add V2 RC changelog
    DanStough authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    f014fc7 View commit details
    Browse the repository at this point in the history
  3. Disable Flaky Acceptance Tests (#3006)

    * flaky proxy-lifecycle
    
    * flaky rate limiting
    wilkermichael authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    d3e60df View commit details
    Browse the repository at this point in the history
  4. fix test (#3009)

    thisisnotashwin authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    1c39328 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Configuration menu
    Copy the full SHA
    885511c View commit details
    Browse the repository at this point in the history
  2. Load test for CTGW (#3008)

    * CC-6461 Cleanup load test
    
    * Reset values to main
    
    * Fix lint failures in changed module
    chapmanc authored Sep 27, 2023
    Configuration menu
    Copy the full SHA
    5f34a84 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. support mesh v2 annotations in cni (#3023)

    - include the "consul.hashicorp.com/mesh-inject-status" when checking if traffic redirection can be skipped
    wilkermichael authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    3f47215 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b55466 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. [NET-5559] Clean up TODOs in Endpoints Controller V2 (#3010)

    Clean up TODOs in Endpoints Controller V2
    zalimeni authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    6a34e82 View commit details
    Browse the repository at this point in the history
  2. Fix typo in ControlPlaneRequestLimits CRD for preparedQuery (#3001)

    This commit fixes typo in ControlPlaneRequestLimits CRD where the
    `preparedQuery` rate limit config was exposed as `perparedQuery`.
    blake authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    672c686 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. [NET-5718] feat(control-plane): ServiceAccount v2 backoff on missing …

    …Consul NS (#3029)
    
    feat(control-plane): ServiceAccount v2 backoff on missing Consul NS
    
    Add backoff for missing Consul NS similar to other v2 controllers.
    zalimeni authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    ad4192e View commit details
    Browse the repository at this point in the history
  2. Mw/add tooling rc branches (#3030)

    * add make target for preparing rc branch
    
    * added rc branch enterprise handling
    wilkermichael authored Oct 3, 2023
    Configuration menu
    Copy the full SHA
    6355b9c View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Fix Flaky Wan Federation Failover Test (#3032) (#3035)

    * fix check
    
    * add better check for load balancing
    wilkermichael authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    012227d View commit details
    Browse the repository at this point in the history
  2. Fixing validating cert webhooks, fixing replace statements for go mod (

    …#3034)
    
    * Fixing validating cert webhooks, fixing replace statements for go mod
    
    * Fixed nil pointer error, added test
    jm96441n authored Oct 4, 2023
    Configuration menu
    Copy the full SHA
    07fa7eb View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Update ci.hcl (#3036)

    * Update ci.hcl
    
    This update, moves consul-k8s to use the prepare workflow. This workflow encapsulates several previous workflows, running jobs in parallel to reduce the artifact processing time.
    See https://hashicorp.atlassian.net/wiki/spaces/RELENG/pages/2489712686/Dec+7th+2022+-+Introducing+the+new+Prepare+workflow for more info.
    
    * Update ci.hcl
    
    add branch for testing
    
    * Update build.yml
    
    add branch for testing
    
    * Update ci.hcl
    
    remove branch used for testing
    
    * Update build.yml
    
    remove branch used for testing
    sarahethompson authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    31cef6f View commit details
    Browse the repository at this point in the history
  2. [NET-5704] feat(control-plane): v2 only register services for injecte…

    …d pods (#3039)
    
    feat(control-plane): v2 only register services for injected pods
    
    Rather than indiscriminately registering any service that is not
    excluded due to NS allow/deny-listing, selectively register services
    that target injected pods (i.e. in alignment with the mesh webhook).
    
    Do not deregister services that already exist when endpoints are empty;
    rather, predicate registration on pod injection and deletion on service
    deletion from Kubernetes. In the future, we can layer on explicit
    allow/deny annotations for services as needed.
    
    This is already implemented by existing workload selector logic that
    filters on mesh-inject status; this change removes TODOs, updates
    comments, and adds tests for the desired behavior.
    zalimeni authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    d5f55f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d308a11 View commit details
    Browse the repository at this point in the history
  4. Change from 'hub' to 'gh' for member checks on JIRA PR syncs (#3048)

    Update jira-pr.yaml
    David Yu authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    5ff131e View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Update backport assistant to use merge commits (#3050)

    * Update backport assistant to use merge commits
    
    * update to true
    curtbushko authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    4d87352 View commit details
    Browse the repository at this point in the history
  2. NET-5818 Gateway Policy Status (#3046)

    * Fix gw policy status to mimic routes when referenced gateway cannot be
    found
    
    * Added test for binding when gateway is deleted
    jm96441n authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    b9318cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b826d4 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. [Net-5640] Route Binding Unit Tests (#3051)

    * Added test for route missing external ref
    
    * Add test for missing JWT reference, fix message for status condition
    
    * Added test for when route auth filter references invalid filter type
    
    * Added tests for binding results status
    jm96441n authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    77125e5 View commit details
    Browse the repository at this point in the history
  2. Fix Gateway API CRDs (#3065)

    * Regenerate external Gateway CRDs
    
    * Remove errant .yml
    
    * Add external CRDs to copywrite ignore
    Thomas Eckert authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e937e6d View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. [NET-5717] feat(control-plane): v2 add service account name to worklo…

    …ad identity meta (#3068)
    
    feat(control-plane): v2 add service account name to workload identity meta
    zalimeni authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    b5c8f6e View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    70d3b21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    070a571 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. NET-5947 Add NET_BIND_SERVICE capability in security context for api-…

    …gateway pod on OpenShift (#3070)
    
    * Add NET_BIND_SERVICE capability in security context for api-gateway pod(s)
    
    * Add changelog entry
    
    * Use proper casing for ALL capabilities constant
    
    * Add test assertion verifying security context is set for every api-gateway pod
    
    * Update .changelog/3070.txt
    
    * Update 3070.txt
    nathancoleman authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    d2d6125 View commit details
    Browse the repository at this point in the history
  2. [NET-5681] v2: Debounce unnecessary Service writes to Consul (#3049)

    v2: Debounce unnecessary Service writes to Consul
    
    Endpoints Controller v2 should not write services every time endpoints
    change, as this can occur far more frequently and be subject to rapid
    updates in the case of large clusters or flapping pod health.
    
    Instead, track writes by storing a fingerprint of the written payload
    along with the Consul resource generation, and compare each potential
    write and existing Consul resource to them, writing only if a
    discrepancy is detected or the fingerprint read/compare itself fails
    (pessimistically fall back to blind writes).
    zalimeni authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    c339c41 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Fix ENT Tests Now that They Are Running Again 🏃 (#3077)

    test: fix tests that are failing on main
    DanStough authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    0b6d4eb View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. L7 CRDs (#3019)

    * Create sub-folders for auth and mesh
    * Support CRDs for L7 mesh
    
    - TCPRoute
    - HTTPRoute
    - GRPCRoute
    - ProxyConfiguration
    
    Update TrafficPermissions to embed proto type directly.
    thisisnotashwin authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    f4ccbaa View commit details
    Browse the repository at this point in the history
  2. [NET-5944] security: Upgrade Go and x/net (#3085)

    security: Upgrade Go and x/net
    
    Upgrade to Go 1.20.10 and `x/net` 1.17.0 to resolve
    [CVE-2023-39325](https://nvd.nist.gov/vuln/detail/CVE-2023-39325)
    / [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487).
    zalimeni authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    5d498f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    2b0ef6a View commit details
    Browse the repository at this point in the history
  2. Add New Make Target for prepare release dev (#3083)

    add new make target
    wilkermichael authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    5bf38c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. [NET-5402] Halting Test with JWT (#3099)

    * Added jwt to routes for halting test
    
    * GW Policy halting tests added
    jm96441n authored Oct 18, 2023
    Configuration menu
    Copy the full SHA
    8847cbd View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. prepare main for 1.4 dev (#3092)

    * prepare main for 1.4 dev
    
    * add cloud tests
    
    * add patch version for dataplane, now required.
    
    * test: use only minor versions for tests
    
    * build: remove last set-output from yaml
    
    * add patch version for dataplane, now required.
    
    * fixed error message change
    
    ---------
    
    Co-authored-by: DanStough <dan.stough@hashicorp.com>
    wilkermichael and DanStough authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    d09fc3d View commit details
    Browse the repository at this point in the history
  2. Enable GW JWT Tests (#3097)

    * kind of running
    
    * WIP
    
    * Unskip test and setup so it works correctly
    
    * revert typo
    
    * Move tokens into constants
    
    * Adds test scenario for adding a second gateway policy to a gateway, should and will fail
    
    * linter
    
    * Add case for multiple routes on listener with only one defining JWT
    configuration
    
    * Multiple routes referencing the same external ref
    
    * Add check for route referencing route extension outside of local
    namespace failing
    
    ---------
    
    Co-authored-by: Melisa Griffin <melisa.griffin@hashicorp.com>
    jm96441n and missylbytes authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    6a3d0ab View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfa2141 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    75ed6de View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2023

  1. Update Envoy (#3116)

    cthain authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    2aac339 View commit details
    Browse the repository at this point in the history
  2. Remove copyright headers from external crds (#3124)

    * Remove copyright headers from externally-defined CRDs not owned by HashiCorp
    
    * Make comment more accurate in .copywrite.hcl config
    
    * Fix exclude path in .copywrite.hcl
    nathancoleman authored Oct 23, 2023
    Configuration menu
    Copy the full SHA
    811c82d View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    901f55c View commit details
    Browse the repository at this point in the history
  2. NET-6204- Repeating error log in consul-connect-injector (#3128)

    * better handle gateway timeout errors
    
    * strings not refs
    
    * changelog
    
    * Add missing import, fix import blocking
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    sophie-gairo and nathancoleman authored Oct 24, 2023
    Configuration menu
    Copy the full SHA
    0d85bbc View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. [CC 5965] Improve HCP Observability E2E tests and add periodic tests (#…

    …2946)
    
    * Setup observability metrics tests
    
    * Cleanup http_client.go and observability_test.go
    
    * Refactor tests by using table driven approach
    
    * Refactor and add comments to the client
    
    * Remove param to token function
    
    * remove consul export test redundant
    
    * Remove hardcoded collector image
    
    * Move metrics validation from server to consul-k8s tests and update to use the /records endpoint
    
    * Change to achooo docker hub and fix lint errors
    Achooo authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    692c783 View commit details
    Browse the repository at this point in the history
  2. [NET-6138] security: Bump google.golang.org/grpc to 1.56.3 (CVE-2023-…

    …44487) (#3139)
    
    Bump google.golang.org/grpc to 1.56.3
    
    This resolves [CVE-2023-44487](https://nvd.nist.gov/vuln/detail/CVE-2023-44487).
    
    Also bump `consul-server-connection-manager` to latest to align with
    that library's matching gRPC upgrade.
    zalimeni authored Oct 30, 2023
    Configuration menu
    Copy the full SHA
    7079ad5 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Update kubernetes to 1.28.x (#3138)

    * Update kind to 1.28.0
    curtbushko authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    6024cec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbf09e6 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. main: revert k8s version to 1.22.x (#3153)

    Revert "Update chart version (#3152)"
    
    This reverts commit fbf09e6.
    David Yu authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2b7e1bb View commit details
    Browse the repository at this point in the history
  2. Add Acceptance Test for Cluster Peered Terminating Gateway (#3114)

    * Add terminating gateway and external server to peering test
    
    Add external server and terminating gateway to cluster peered acceptance test
    
    * Export terminating gateway common functions
    
    Write the new terminating gateway role
    
    * Move other helper functions into the common file
    
    Add service defaults and destination
    
    Update terminating gateway section with proper config
    
    Change the address we are trying to hit
    
    Remove own external-server
    
    WIP
    
    * Move RegisterExternalService to helpers
    
    Register external service for terminating gateway
    
    Remove external static-server case
    
    Remove tgw.yaml
    
    * Add external services to exported services
    
    * Remove the old test output
    
    * Use HTTP instead of HTTPS for connection
    
    * Clean up tests
    
    * Remove test.sh
    
    * Remove ip hostname
    
    * Add a comment to RegisterExternalService
    
    * Log the name of the service created in RegisterExternalService
    
    * Apply suggestions from code review
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Move `terminatinggateway` to the correct import block
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    Thomas Eckert and nathancoleman authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    c1ed354 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Configuration menu
    Copy the full SHA
    e50c8e2 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. fix(controller): v2 pod controller errors for acl deletion (#3172)

    * fix(controller): v2 pod controller errors for acl deletion
    
    * test: fix tests for unsupported L7 TPs
    DanStough authored Nov 7, 2023
    Configuration menu
    Copy the full SHA
    cd79533 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    faf3bed View commit details
    Browse the repository at this point in the history
  3. NET-5392 Replace dev dependencies w/ latest release tags (#3181)

    * NET-5392 Replace dev dependencies w/ latest release tags
    
    * go mod tidy
    
    * Adjust api-gateway logic based on changes in consul/api
    
    * Stop setting removed field EnvoyExtensions in test
    
    The field was intentionally removed in hashicorp/consul#19186
    
    * gofmt
    nathancoleman authored Nov 7, 2023
    Configuration menu
    Copy the full SHA
    173910a View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. NET 6409 (#3158)

    * init
    
    * fix help and synopsis
    
    * added some tests
    
    * change log
    
    * some fixes
    
    * rename var name
    
    * tests for get envoy stats
    
    * fix tests
    
    * Update cli/cmd/envoy-stats/envoy_stats.go
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * proxy stats command
    
    * fix command options
    
    * pr comment resolved
    
    * fix globaloptions
    
    * fix lint
    
    ---------
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    absolutelightning and Thomas Eckert authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    b8512ee View commit details
    Browse the repository at this point in the history
  2. [NET-5025] Helm Chart: Support StatefulSet PVC retention (#3180)

    Helm Chart: Support StatefulSet PVC retention
    
    Add new variable on the Helm chart to define the PVC retention policy for
    the StatefulSet
    
    Co-authored-by: Aleix Murtra <alemurbcn@gmail.com>
    zalimeni and alemuro authored Nov 8, 2023
    Configuration menu
    Copy the full SHA
    39aae71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3d1715 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. NET-6303 Add 1.3.0 notes to changelog (#3193)

    Add 1.3.0 notes to changelog
    nathancoleman authored Nov 9, 2023
    Configuration menu
    Copy the full SHA
    dcfcaae View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Add replace directive in Go mod for Control Plane so that we pull in …

    …the latest Consul submodules (#3194)
    
    * Add replace directive in Go mod for Control Plane so that we pull in the latest Consul submodules
    
    * Add a comment to explain why we need a replace directive
    Thomas Eckert authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    19685df View commit details
    Browse the repository at this point in the history
  2. NET-6331 Create MeshGateway CRD (#3195)

    Add MeshGateway to `mesh.consul.hashicorp.com/v2beta1`
    Thomas Eckert authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    2d1724e View commit details
    Browse the repository at this point in the history
  3. Add validation to account for type change (#3202)

    add validation to account for type change
    sarahalsmiller authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    e138154 View commit details
    Browse the repository at this point in the history
  4. NET-4992- Kitchen sink gateway test (#3196)

    * checkpoint
    
    * checkpoint, passing test
    
    * kitchen sink, NET-4992
    
    * lint issue
    
    * clean up unneeded calls
    
    ---------
    
    Co-authored-by: Sarah Alsmiller <sarah.alsmiller@sarah.alsmiller-RQQ26PQ2L5>
    sarahalsmiller and Sarah Alsmiller authored Nov 10, 2023
    Configuration menu
    Copy the full SHA
    a4813e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. NET-6406 Adds GatewayClassConfig and MeshGateway resources to the gat…

    …eway-reso… (#3200)
    
    * Adds GatewayClassConfig and MeshGateway resources to the gateway-resources-configmap.yaml in the Helm chart
    
    * Updates the configmap to include more fields for the gatewayClassConfig for mesh gateways
    missylbytes authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    7371bfa View commit details
    Browse the repository at this point in the history
  2. chore: skaffold build experiment (#3179)

    * chore: skaffold build experiment
    
    * feedback: add experiment comments
    DanStough authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    b18b849 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    d3d5b73 View commit details
    Browse the repository at this point in the history
  2. NET-6401 Stub MeshGateway controller (#3204)

    * NET-6401 Stub MeshGateway controller
    
    * Add MeshGateways resource to connect-inject-clusterrole
    
    * Setup v2controller for MeshGateway
    
    * Add bats test assertion for connect-inject-clusterrole
    
    * Regenerate control-plane/config/rbac/role.yaml
    nathancoleman authored Nov 14, 2023
    Configuration menu
    Copy the full SHA
    9d2fd31 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    7215ec0 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Add -output-format json to consul-k8s proxy list command (#3221)

    * Add -o json to consul-k8s proxy list command
    
    * added changelog
    
    * dummy commit to trigger ci
    
    * fix tests
    absolutelightning authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    2509cc8 View commit details
    Browse the repository at this point in the history
  2. Remove nightly and weekly jobs (#3231)

    remove nightly and weekly jobs
    curtbushko authored Nov 17, 2023
    Configuration menu
    Copy the full SHA
    f2ccd72 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. NET-6563 Stub CRUD hooks for MeshGatewayController (#3213)

    * Stub createUpdate and delete handlers in MeshGatewayController
    
    * Add unit test coverage
    
    * Fix import blocking
    
    * Move TODOs inside CRUD hooks
    
    * Specify scheme when initializing controller for tests
    nathancoleman authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    183c1e2 View commit details
    Browse the repository at this point in the history
  2. Add Mesh GatewayClass CRD (#3224)

    * Add gateway_class_types.go
    
    * Update dependencies so that CRDs can be added
    
    * Generate the CRD
    Thomas Eckert authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    3b15385 View commit details
    Browse the repository at this point in the history
  3. feat: add named prom port to dataplane sidecar (#3222)

    * feat: add named prom port to dataplane sidecar
    
    Co-authored-by: Hamish <hamish.forbes@gmail.com>
    
    * PR Feedback
    
    ---------
    
    Co-authored-by: Hamish <hamish.forbes@gmail.com>
    DanStough and hamishforbes authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    7363d57 View commit details
    Browse the repository at this point in the history
  4. Add CRD for MeshConfiguration (#3216)

    * Update the Consul package dependency to my branch
    
    * Add the stubbed gateway_configuration
    
    * Update proto-public dependency
    
    * Add deepcopy
    
    * Run make ctrl-manifests
    
    * Fix comment on MeshConfig struct
    Thomas Eckert authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    b0568b0 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Net 6529 Gatewayclassconfig CRD (#3225)

    * CRD file gneration
    
    * update to cluster scope
    
    * cluster scope
    sarahalsmiller authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    cc0c3d2 View commit details
    Browse the repository at this point in the history
  2. Add telemetryCollector.cloud.resourceId field that works even when …

    …`global.cloud.enabled` is false (#3219)
    Joshua Timmons authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    bf12fb9 View commit details
    Browse the repository at this point in the history
  3. NET-6664 Specify cluster scope for MeshGateway CRD (#3236)

    Specify cluster scope for MeshGateway CRD
    nathancoleman authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    6446f42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    710918d View commit details
    Browse the repository at this point in the history
  5. Add refreshes and retries to server-acl-init job (#3137)

    Add refreshes and retries to server-acl-init job
    curtbushko authored Nov 21, 2023
    Configuration menu
    Copy the full SHA
    6638261 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. uniform make file experience (#3198)

    * organize the sections
    
    * tag the image
    
    * add phony to all targets
    wangxinyi7 authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    d435688 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. [NET-6617] security: Bump github.com/golang-jwt/jwt/v4 to 4.5.0 (#3237)

    security: Bump github.com/golang-jwt/jwt/v4 to 4.5.0
    
    This version is accepted by Prisma/Twistlock, resolving scan results for
    issue PRISMA-2022-0270. Chosen over later versions to avoid a major
    version with breaking changes that is otherwise unnecessary.
    
    Note that in practice this is a false positive (see
    golang-jwt/jwt#258), but we should update the
    version to aid customers relying on scanners that flag it.
    zalimeni authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    83a8616 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. NET-6536 Adds stub of GatewayClass controller into v2 controllers (#3245

    )
    
    * Adds stub of GatewayClass controller into v2 controllers
    
    * regen without weird spaces
    
    * Update control-plane/config-entries/controllersv2/gateway_class_controller.go
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    missylbytes and nathancoleman authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    dc6a70a View commit details
    Browse the repository at this point in the history
  2. fixed acl deletetion in endpoints controller (#3210)

    * fixed acl deletetion in endpoints controller
    
    * fixed tests
    
    * fixed other tests
    
    * fixed ent tests
    
    * added changelog
    
    * updated TestReconcileDeleteEndpoint to support deleting token by pod uid
    
    * passed pod-uid to dataplane
    
    * fixed tests
    
    * fixed more tests
    
    * fixed dataplane env
    
    * fixed test
    
    * fixed passing env to dataplane
    
    * fixed unit test
    aahel authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    1b6f700 View commit details
    Browse the repository at this point in the history
  3. Remove Duplicate UBI Tags (#3265)

    - Amalgamate UBI with Dockerhub and Redhat tags into one step
    - Avoids a production incident that errors on duplicate tags:
    hashicorp/releng-support#123
    emilymianeil authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    a8857ea View commit details
    Browse the repository at this point in the history
  4. NET-6394 Create/update/delete ServiceAccount on MeshGateway reconcile (

    …#3244)
    
    * Create/update/delete ServiceAccount on MeshGateway reconcile
    
    * Implement owner ref checking for existing objects before create/update
    
    * Use builder struct for creating k8s resources
    
    * Extend upsert function to handle delete as well
    
    * Add unit tests asserting ServiceAccount CRUD w/ ownership enforcement
    
    * Update list of TODOs in reconcile handlers
    
    * Uncomment call to MeshConfigController.ReconcileEntry
    
    * Check error returned by SetControllerReference
    
    * Add unit test coverage for MeshGatewayBuilder.serviceAccount()
    
    * Omit namespace on MeshGateway's resource ID tenancy
    
    The MeshGateway is partition-scoped which means that it should never include a namespace in its resource ID
    
    * Provide existing object to operation
    
    This enables any future merge operations than need to be done before writing the new object, such as setting a value that needs to carry forward from the existing object onto the new object.
    
    * Declare ownership of ServiceAccount when setting up controller
    
    * Fix typo
    
    * Rely on garbage collector to delete resource instead of deleting explicitly
    nathancoleman authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    a1761c4 View commit details
    Browse the repository at this point in the history
  5. Net 6535- GatewayClassConfig controller stubs (#3253)

    * rename v1 crd
    
    * gatewayclass controller stub
    
    * register controller
    
    * old version
    
    * reorder cluster role
    
    * fix accidental find and replace error
    sarahalsmiller authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    c3ab09e View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2023

  1. Set cron jobs for release branches back to weekly (#3282)

    Set jobs to weekly
    curtbushko authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    bac589a View commit details
    Browse the repository at this point in the history
  2. Net 6555 Adds field to MeshGW Crd based on new Consul Proto (#3281)

    * Regenerates MeshGateway CRD with new fields added in Consul Proto
    
    * Fixes spacing issue in Makefile causing ensure-controller-gen-version to fail
    
    * Remove file that wasn't supposed to be added
    missylbytes authored Nov 29, 2023
    Configuration menu
    Copy the full SHA
    4a7588e View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. NET-6722 Rename MeshConfigController to ConsulResourceController (#3283)

    * Refactor MeshConfigController to ConsulResouceController
    
    * Rename controller file
    
    * Rename MeshConfig to ConsulResource
    
    * Rename Controller to ResourceController
    
    * Update some references to meshConfig
    
    * Fixup some comments
    
    * Change MeshConfigController to ConsulResourceController in all implementations
    
    * Change MeshConfigController to ConsulResourceController in instances
    
    * Fix references to MeshConfigController in some tests
    
    * Rename mockMeshConfig to mockConsulResource
    
    * Rename meshConfigReconciler to consulResourceReconciler
    
    * Rename ConsulResourceController to Controller
    
    * Fix calls to validate
    
    * Use "Controller" instead of "Reconciler"
    
    * Empty commit to retrigger tests
    Thomas Eckert authored Nov 30, 2023
    Configuration menu
    Copy the full SHA
    fd0af5e View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Update MatchesConsul to normalize partitions during comparison. (#3284)

    * Update MatchesConsul to normalize partitions during comparison.
    * Update test cases with valid datasets
    thisisnotashwin authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    6e9f63d View commit details
    Browse the repository at this point in the history
  2. NET-6752 Change scope of MeshGateway CRD to Namespaced (#3287)

    * Change scope of MeshGateway CRD to Namespaced
    
    This matches the scope of the corresponding Gateway CRD in the Kubernetes Gateway API, which we will one day use.
    
    It also prevents some undesirable side effects of being cluster-scoped. Namely, the cluster-scoped MeshGateway always resides in the "default" namespace implicitly and thus cannot be referenced as the owner of Deployments, ServiceAccounts, etc in any other namespace due to the fact that cross-namespace owner references are not allowed.
    
    * Specify namespace in serviceaccount builder test
    
    * Set namespace for meshGateways in resource job config map
    
    * Modify unit test to use non-default namespace
    nathancoleman authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    981eb8b View commit details
    Browse the repository at this point in the history
  3. Stop syncing GatewayClass + GatewayClassConfig into Consul (#3286)

    * Stop syncing GatewayClass + GatewayClassConfig into Consul
    
    * gofmt
    nathancoleman authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    dc9de11 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. NET-6758 Use kubebuilder for v2 GatewayClassConfig CRD (#3297)

    * Create GatewayClassConfig CRD using kubebuilder instead of Consul proto
    
    * Hardcode inapplicable Consul resource logic
    
    * Restructure to embed labels/annotations + remove .kubernetes
    
    * Remove implementation of Consul resource interface
    
    This will prevent the GatewayClassConfig from ever being accidentally assumed to be syncable into Consul
    
    * Use existing GatewayClassConfig structure
    
    This allows us to keep the discussion about the new structure of the GatewayClassConfig in a separate PR for discussion
    nathancoleman authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    cc812d1 View commit details
    Browse the repository at this point in the history
  2. [COMPLIANCE] Add Copyright and License Headers (#3174)

    Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
    hashicorp-copywrite[bot] authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    ccabee4 View commit details
    Browse the repository at this point in the history
  3. [NET-6462] Update gateway resources job for mesh gw v2 (#3273)

    * create gateway class and gateway class config for mesh gateway if config
    file is present
    
    * Comment method, add mesh gw config to existing run test
    
    * use generic gateway names rather than specific mesh gateway, add test
    for when file is not found
    
    * Update control-plane/subcommand/gateway-resources/command.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update control-plane/subcommand/gateway-resources/command.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update control-plane/subcommand/gateway-resources/command_test.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Modified test name, made function more generic
    
    * Rebase main, add tests for loading json
    
    * use k8s yaml
    
    * Use json for config file, move resources to separate config map
    
    * back to yaml
    
    * Use kubebuilder built gatewayclassconfig
    
    * Fix creating gatewayclass and classconfig resources
    
    * Fix bats tests for config map
    
    * Appease the linter
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    jm96441n and nathancoleman authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    fd6d765 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Net 6392- Create MeshGateway Deployment (#3290)

    * checkpoint
    
    * checkpoint, deployment spec intial skeleton
    
    * set up reconcile
    
    * checkpoint
    
    * checkpoint
    
    * checkpoint
    
    * working deployment
    
    * cleaning up todos, working deployment
    
    * cleaned up todos, changed namespaces back from hardcoded default
    
    * unit test finished
    
    * fix pointer added in rebase
    
    * Update control-plane/config-entries/controllersv2/mesh_gateway_controller.go
    
    * additional cleanup/linting issues
    
    * rename files, clean up configuration to reuse tenacy config
    
    * import grouping
    
    * responding to code review
    
    * gofmt
    
    * Update control-plane/config-entries/controllersv2/mesh_gateway_controller.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * clean up incorrect comment
    
    * add gcc nil test to cover potential nil use cases, add log statment for gcc fetch error
    
    * clean up nit picks
    
    * checkpoint
    
    * fix typing
    
    * Update control-plane/gateways/config.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update control-plane/gateways/deployment_init_container.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update control-plane/gateways/deployment_init_container.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update control-plane/config-entries/controllersv2/mesh_gateway_controller.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Add rudimentary Deployment assertions to mesh_gateway_controller_test.go
    
    * Fix command assertion whitespace
    
    * Use full GCC instead of GCCSpec so we have future access to annotations
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    sarahalsmiller and nathancoleman authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    2785091 View commit details
    Browse the repository at this point in the history
  2. Update generated files and manifests (#3299)

    There is currently a diff when running `make ctrl-generate ctrl-manifests` on main. This makes development cycles tedious as we generally try to avoid including unrelated changes in new PRs.
    nathancoleman authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    d5bc9a8 View commit details
    Browse the repository at this point in the history
  3. Create role and role binding for mesh gateways (#3303)

    * Create role and role binding for mesh gateways
    
    * add some whitespace
    Andrew Stucki authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    c4f2621 View commit details
    Browse the repository at this point in the history
  4. NET-6575- Add ConfigMap volume mount to gateway cleanup job (#3301)

    * add volume mount
    
    * fix spacing
    sarahalsmiller authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    46bf9bf View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. NET-6759 Restructure v2 GatewayClassConfig CRD (#3298)

    Restructure v2 GatewayClassConfig CRD
    nathancoleman authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    63e32da View commit details
    Browse the repository at this point in the history
  2. Allow meshGateway.enabled when resource-apis experiment is enabled (#…

    …3285)
    
    * Allow meshGateway.enabled when resource-apis experiment is enabled
    
    * Exclude v1 mesh gateway templates when resource-apis experiment enabled
    
    * Enable mesh gateway for bats test where new gate added
    
    * Combine if statements for gating v2 configmap component
    nathancoleman authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    8e9d8fa View commit details
    Browse the repository at this point in the history
  3. Add validation that externalServers.hosts is not set to HCP-managed c…

    …luster's addresses when global.cloud.enabled (#3218)
    Joshua Timmons authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    7f79d29 View commit details
    Browse the repository at this point in the history
  4. Revert "Add validation that externalServers.hosts is not set to HCP-m…

    …anaged cluster's addresses when global.cloud.enabled" (#3314)
    
    Revert "Add validation that externalServers.hosts is not set to HCP-managed cluster's addresses when global.cloud.enabled (#3218)"
    
    This reverts commit 7f79d29.
    zalimeni authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    0d1adcc View commit details
    Browse the repository at this point in the history
  5. [NET-6404] Create Mesh Gateway Resource from Gateway Resources Job (#…

    …3306)
    
    * create mesh gateway from resources job
    
    * remove whitespace change
    
    * Update config map to be more complete representation of object, clean up
    cluster role
    
    * Update charts/consul/templates/gateway-resources-configmap.yaml
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * fix tests
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    jm96441n and nathancoleman authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    3190d30 View commit details
    Browse the repository at this point in the history
  6. Bold section headers in PR template (#3313)

    * Bold section headers in PR template
    
    * Use proper header markers instead of just bolding
    
    * Update pull_request_template.md
    nathancoleman authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1682744 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    11be160 View commit details
    Browse the repository at this point in the history
  8. [NET-6395] Specify required RoleRef on RoleBinding (#3316)

    Specify require RoleRef on RoleBinding
    nathancoleman authored Dec 6, 2023
    Configuration menu
    Copy the full SHA
    d36e464 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Port: "retryOn" configuration on ServiceRouter CRD (#3308)

    * chore: add license to gateways files
    
    * feat(crds): add support for retryOn in service router
    
    Co-authored-by: ilpianista <andrea@scarpino.dev>
    
    ---------
    
    Co-authored-by: ilpianista <andrea@scarpino.dev>
    DanStough and ilpianista authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    2cee7db View commit details
    Browse the repository at this point in the history
  2. Stub mesh configuration resource controller (#3302)

    Andrew Stucki authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    ff66cfe View commit details
    Browse the repository at this point in the history
  3. [NET-6769] Update GatewayClassConfig for PortModifier (#3318)

    * Update class config for port modifier field
    
    * Add copywrite headers
    
    * Update test for port modifier value
    
    * Add comment from PR review, setup dataplane to include the port mapping
    
    * revise setup so the wan port is the one modified
    
    * linting
    
    * Cleaning up comments and regen
    jm96441n authored Dec 7, 2023
    Configuration menu
    Copy the full SHA
    06077b9 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    4dadb45 View commit details
    Browse the repository at this point in the history
  2. add github actor to be used in workflows (#3340)

    add github actor to workflow inputs
    wilkermichael authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    e5e57b0 View commit details
    Browse the repository at this point in the history
  3. Net 6575- Modify Gateways Cleanup Job to cleanup v2 resources (#3317)

    * cleanup existing gatewayclasses and gatewayclassconfigs
    
    * add tests for v2
    
    * fixed test to actually run against v2 resources, found issue where loop was failing out early
    
    * add TODO with jira ticket
    
    * cleanup debug line
    
    * delete extra newline
    sarahalsmiller authored Dec 8, 2023
    Configuration menu
    Copy the full SHA
    3f54861 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. fixed incorrect test validation with peering test (#3330)

    fixed flake with peering test
    - test was performing the wrong connection check, since http should be checking for a '403'
    - added cluster creation in parallel to speed up test
    wilkermichael authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    84df1ba View commit details
    Browse the repository at this point in the history
  2. Add consul.hashicorp.com/proxy-config-map annotation. (#3347)

    This introduces an annotation that allows for generically setting data in the
    opaque config map for proxy service registrations. Use of this annotation is
    not encouraged in most situations, but it is necessary for certain
    circumstances.
    
    Notably, this new annotation allows users to specify the `xds_fetch_timeout_ms`
    configuration during service registration, which is sometimes needed by proxies
    with a large number of upstreams.
    hashi-derek authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    653a4c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfb08ed View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Add validation that externalServers.hosts is not set to HCP-managed c…

    …luster's addresses when global.cloud.enabled (#3315)
    zalimeni authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    856ade7 View commit details
    Browse the repository at this point in the history
  2. [NET-6723] Node Selector Support for Mesh GW (#3329)

    * Read in node selector object
    
    * Ensure node selector is part of deployment
    
    * cleaning up implementation after testing
    
    * Remove custom unmarshal, fix chart to handle incoming yaml string
    
    * Update control-plane/api/mesh/v2beta1/gateway_class_config_types.go
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    
    * Update comments and use `toJson` over `toYaml` to avoid worrying about
    indentation
    
    * gofmt
    
    * Fix type for test
    
    * Fix deployment of gateway class and gatewayclass config
    
    * add comment for common constants
    
    * linting
    
    ---------
    
    Co-authored-by: Thomas Eckert <teckert@hashicorp.com>
    jm96441n and Thomas Eckert authored Dec 12, 2023
    Configuration menu
    Copy the full SHA
    9b516ec View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Declare ownership of Deployment, Role and RoleBinding on MeshGateway …

    …controller (#3364)
    
    * Declare ownership of Deployment, Role and RoleBinding on MeshGateway controller
    
    * Add Service ownership declaration
    nathancoleman authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    7a97beb View commit details
    Browse the repository at this point in the history
  2. Use retry test context within retry blocks (#3289)

    Replace usage of t with r for handling retries
    Thomas Eckert authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    7693e98 View commit details
    Browse the repository at this point in the history
  3. Update sdk to point to latest main (#3370)

    Thomas Eckert authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    65a4be8 View commit details
    Browse the repository at this point in the history
  4. Net 6742 - consul k8s mgw deployment priority class name support (#3361)

    * initial change, unit test updated
    
    * rename get gatewayconfig function
    
    * fixed name change, add newline
    sarahalsmiller authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    cdc9ba1 View commit details
    Browse the repository at this point in the history
  5. Prevent extra-config from being loaded twice (and erroring for segmen…

    …t config) on clients and servers (#3337)
    
    * wip: testing with server works when you add segments as extraValues.
    Todos:
    * make similar changes to clients
    * potentially upgrade test?
    * consider locality having its own volume, rather than 2 volumes with extra in them
    
    * move extra-config out of /consul/config so it does not get applied twice
    
    * add comments about use of additional config maps
    
    * remove temporary inclusion of values.yaml in root that was used for hand off
    
    * get rid of temporary config.file
    
    * add segments test
    
    * test using 3 servers in a single cluster
    
    * add changelog
    
    * fix linting issues.
    
    * add comment to test. remove extra lines from config map.
    
    * fix bats tests
    
    ---------
    
    Co-authored-by: Nitya Dhanushkodi <nitya@hashicorp.com>
    jmurret and ndhanushkodi authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    445fba7 View commit details
    Browse the repository at this point in the history
  6. [NET-6756] Tolerations for MeshGW (#3363)

    * add tolerations support for mesh gateway deployment
    
    * Add tests for minimal configuration, patch bug with default resource
    requirements not being set
    jm96441n authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    f44115d View commit details
    Browse the repository at this point in the history
  7. Mw/net 6911 parallel cluster creation in acceptance test causes tests…

    … to hang on failure (#3366)
    
    * add a smaller multi kind cluster make target for dev
    
    * fix bug where parallel cluster creation caused tests to hang on failure
    
    * add a retry for cluster creation
    - Sometimes when creating a cluster the previous cluster is not fully deleted
    - Fixes NET-6909
    
    * remove warn loglevel
    
    * disable the NET-5819 skip so that we can monitor if other changes to Consul since the issue was first logged may have fixed the issue
    wilkermichael authored Dec 13, 2023
    Configuration menu
    Copy the full SHA
    95ee156 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. [NET-6721] Replicas support for MeshGW v2 Deployments (#3371)

    * Add replicas support for mesh gateways
    
    * handle nil values for replicas fields
    jm96441n authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    56060e3 View commit details
    Browse the repository at this point in the history
  2. NET-6663 Set gateway-kind in Workload metadata when it represents a x…

    …Gateway Pod (#3365)
    
    Set gateway-kind in Workload metadata when it represents a xGateway Pod
    
    By setting the gateway-kind annotation on the Pods for a MeshGateway, we indicate to the Pod controller in consul-k8s that the Pod represents a mesh gateway (or api/terminating in the future). The Pod controller then passes this along as metadata on the Workload that it creates in Consul.
    
    The end result is that the sidecar and gateway proxy controllers can determine which Workloads they should generate ProxyStateTemplates for.
    nathancoleman authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    6c71611 View commit details
    Browse the repository at this point in the history
  3. [NET-6787] HostNetwork support for meshgw deployments (#3379)

    Add configuration for host network for mesh gateway deployments
    jm96441n authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    c8e5d9e View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. NET-6788 - Mesh Gateway Host Port Support (#3381)

    * initial pass
    
    * update unit test
    
    * fix unit test
    sarahalsmiller authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    81312c1 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. NET-6393: Create/update/delete Service on MeshGateway reconcile (#3328)

    * NET-6393: Create/update/delete Service on MeshGateway reconcile
    
    * add comment to code
    NiniOak authored Dec 16, 2023
    Configuration menu
    Copy the full SHA
    13e2d21 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    f323396 View commit details
    Browse the repository at this point in the history
  2. Net 6779 - Mesh Gateway eployment topology spread constraints (#3376)

    * update crds, add to deployment object
    
    * update configmap
    
    * update unit test
    
    * fix indentation
    sarahalsmiller authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    70c2cbb View commit details
    Browse the repository at this point in the history
  3. Update test to match PreparedQuery SamenessGroup bugfix. (#3387)

    Update test to assert the fixed behavior of PR #7773 in Consul Enterprise.
    hashi-derek authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    f3f5605 View commit details
    Browse the repository at this point in the history
  4. [NET-6938] Create workloads in Consul for mesh gateway pods (#3382)

    * Create workload in Consul for gateway pods
    
    Gateway pods are not mesh-injected because it doesn't make sense for an Envoy proxy workload to have a sidecar; however, they still need workloads created in Consul for them.
    
    * Log when pod controller creates workload in Consul
    
    * Disable t-proxy probe overwrite for mesh gateway pods
    
    * Update test assertions
    
    * Add test case for gateway pod reconciliation
    nathancoleman authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    2e5c86b View commit details
    Browse the repository at this point in the history
  5. [NET-6789] DNSPolicy support for meshgw v2 deployments (#3380)

    * Set dns policy for mesh v2 deployment
    
    * regenerate files after rebase
    
    * Update dnspolicy field on gatewayclassconfigs to be of the corev1 type
    and to use kubebuilder validations
    
    * Clean up from dns policy change
    jm96441n authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    8e3bb5a View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. [NET-6766] Implement computing of annotations + labels for all create…

    …d resources (#3397)
    
    * Implement computing of annotations + labels for all created resources
    
    * Add test coverage
    
    * Add pkg-level variables for label key and default labels
    
    * Improve docstrings
    
    * Remove TODO for work that has been completed
    
    * Add un-inherited annotation to gateway set for unit test
    
    * Add more robust tests for annotations + labels
    
    * Exercise unhandled type
    
    * gofmt
    
    * Improve UX based on code review feedback
    nathancoleman authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    8716b2f View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. [Net-5510][Net-5455]: CRD controller should only patch the finalizer …

    …in the metadata of a CRD, rather than the whole object (#3362)
    
    Finalizer patcher
    
    Co-authored-by: Derek Menteer <derek.menteer@hashicorp.com>
    ndhanushkodi and hashi-derek authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    3047e16 View commit details
    Browse the repository at this point in the history
  2. Add Changelog entries from patch releases (#3409)

    Thomas Eckert authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    2d5694f View commit details
    Browse the repository at this point in the history
  3. [NET-6809] Add chart related labels for mesh gateway deployments (#3396)

    * use set labels for setting labels on deployments
    
    * incorporate changes for setting labels
    jm96441n authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    6f293d5 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. chore: add compatibility note to .0 changelogs (#3416)

    Also fix a minor bug with prerelease version in non-prerelease changelog
    entries.
    zalimeni authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    e0cbc90 View commit details
    Browse the repository at this point in the history
  2. [NET-6744] Fix mesh gw creation for v2 (#3408)

    * Fix mesh gw creation for v2
    
    * Update tests
    
    * Use constant for volume name
    
    * Update name from PR review
    
    * fixing mesh init tests
    
    * Remove need for writing proxyid file by passing in proxy id to dataplane
    container
    
    * Pass in proxy-id as env variable
    jm96441n authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    a968727 View commit details
    Browse the repository at this point in the history
  3. [NET-6724] Add Affinity for Mesh GW Deployments (#3419)

    Add affinity for meshgw deployment
    jm96441n authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    47c7392 View commit details
    Browse the repository at this point in the history
  4. Dockerfile: update to ubi-minimal:9.3 (#3418)

    * Update Dockerfile
    David Yu authored Dec 21, 2023
    Configuration menu
    Copy the full SHA
    378a83e View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Configuration menu
    Copy the full SHA
    5ed8514 View commit details
    Browse the repository at this point in the history
  2. delete gateway in cleanup-gateway-resouces (#3427)

    * delete gateway in cleanup-gateway-resouces
    
    * fix nitpick
    
    * fix nit in other file
    sarahalsmiller authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    3353bd3 View commit details
    Browse the repository at this point in the history
  3. Support WAN Address Annotations (#3420)

    * Add wanAddress configuration to the configmap
    
    * Set the annotations on the mesh gateway CRD
    
    * Patch through the annotations from the Mesh Gateway
    
    * Fix Job -> ConfigMap
    
    * Use JSON to compare annotations
    
    * Add annotations to deployment test
    
    * Fix checking annotations in helm tests
    Thomas Eckert authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    6310d7e View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. [NET-6829] Add tls support for mesh gateways (#3429)

    * Add tls support for mesh gateways
    
    * Added tests
    
    * fixing tests that broke from rebase
    
    * extract function to build tls args for dataplane container
    
    * move tls env vars to constants
    jm96441n authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    bae8e15 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    642a1ea View commit details
    Browse the repository at this point in the history
  2. [NET-6702] HTTPRoute not being deleted from consul bug (#3440)

    * Fix bug where http route was not deleted from consul when namespaces are
    enabled
    
    * Added changelog
    jm96441n authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    ae184ae View commit details
    Browse the repository at this point in the history
  3. [NET-7009] security: update x/crypto to 0.17.0 (#3442)

    security: update x/crypto to 0.17.0
    zalimeni authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    fad501a View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Pass gateway init resources from config to the container (#3430)

    * Make initConfig an associated function to the builder
    
    * Pass in init container resources if they are set
    
    * Use values from the builder now that initContainer is associated with it
    
    * Update control-plane/gateways/deployment_init_container.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Use config on builder
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    Thomas Eckert and nathancoleman authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    dc2d639 View commit details
    Browse the repository at this point in the history
  2. Add acceptance test cleanup (#3375)

    Add acceptance test cleanup
    curtbushko authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    9f10756 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. [NET-6581] perf: Fetch services once rather than per-node on deregist…

    …er (#3322)
    
    perf: Fetch services once rather than per-node on deregister
    
    Rather than fetching all nodes in a cluster then listing services
    per-node, fetch all service instances directly by name.
    
    This should generally reduce the cost of deregistration in endpoints
    controller reconciles (in terms of network calls) from N calls (N=node
    count) to 3-6 calls regardless of K8s cluster size.
    
    This does trade the cost of node list and per-node instance fetching for
    a bulk fetch of service instances. However, a bulk fetch was the
    previous behavior prior to the introduction of Consul node mirroring in
    `consul-k8s`, and in the majority of real-world use cases, should be
    cheaper than listing all nodes and fetching services individually per
    node in the vast majority of cases.
    
    This change is motivated by customers with larger K8s clusters (node
    counts) seeing performance issues with reconciles.
    zalimeni authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    2fc22e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. [NET-7106] Add ExportedServices.multicluster.hashicorp.com CRD (#3458)

    * Add ExportedServices.multicluster.hashicorp.com CRD
    
    * Add controller for ExportedServices CRD
    
    * Generate CRD manifests, RBAC policies
    
    * Fix casing of multicluster group name
    
    * Modify hack script to append -v1 suffix for conflicting CRD names
    
    * Add ExportedService to connect-inject-clusterrole.yaml
    
    * Update go mod replace to reflect dependency merge
    
    * Add bats test for ClusterRole addition
    nathancoleman authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    fd6a653 View commit details
    Browse the repository at this point in the history
  2. Net 6822 - consul consul k8s add listeners to mesh gateway consume fo…

    …r service (#3434)
    
    * add listeners field
    
    * add listeners to configmap
    
    * update default logic, update tests
    
    * clarify comment
    
    * import grouping
    
    * regen crds with correct kubebuilder tags
    
    * revert accidental change
    
    * import blocking
    
    * fixed an issue with configmap that I found while testing
    
    * regen with port min/max
    sarahalsmiller authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    dea23b0 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. [COMPLIANCE] Add Copyright and License Headers (#3388)

    Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
    hashicorp-copywrite[bot] authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    f690db3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f5a5d3 View commit details
    Browse the repository at this point in the history
  3. Add proxy startup and liveness probe config. (#3450)

    This PR adds in two new
    `consul.hashicorp.com/sidecar-proxy-startup-failure-seconds` and
    `consul.hashicorp.com/sidecar-proxy-liveness-failure-seconds` annotations that
    are disabled by default.
    
    When set to a value greater than zero, these configurations will enable their
    corresponding startup / liveness probes for the Envoy proxy. This helps to
    prevent scenarios where the Envoy proxy would hang and never recover.
    hashi-derek authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    202ba1f View commit details
    Browse the repository at this point in the history
  4. Fix to support non-enterprise HCP observability testing (#3438)

    Use namespace query only if enterprise is enabled
    
    Requests to the community edition of Consul will fail if namespace is
    set in the query parameters.
    mkam authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3cdb2f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8f416d View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Net 7189 Consul k8s add protocol to listeners on the mesh gateway (#3470

    )
    
    * regen crd with protocol added
    
    * add to configmap and pull from services
    
    * update test
    sarahalsmiller authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    642d793 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Set leave_on_terminate=true for servers and hardcode maxUnavailable=1 (

    …#3000)
    
    When leave_on_terminate=false (default), rolling the statefulset is
    disruptive because the new servers come up with the same node IDs but
    different IP addresses. They can't join the server cluster until the old
    server's node ID is marked as failed by serf. During this time, they continually
    start leader elections because they don't know there's a leader. When
    they eventually join the cluster, their election term is higher, and so
    they trigger a leadership swap. The leadership swap happens at the same
    time as the next node to be rolled is being stopped, and so the cluster
    can end up without a leader.
    
    With leave_on_terminate=true, the stopping server cleanly leaves the
    cluster, so the new server can join smoothly, even though it has the
    same node ID as the old server. This increases the speed of the rollout
    and in my testing eliminates the period without a leader.
    
    The downside of this change is that when a server leaves gracefully, it
    also reduces the number of raft peers. The number of peers is used to
    calculate the quorum size, so this can unexpectedly change the fault
    tolerance of the cluster. When running with an odd number of servers, 1
    server leaving the cluster does not affect quorum size. E.g. 5 servers
    => quorum 3, 4 servers => quorum still 3. During a rollout, Kubernetes
    only stops 1 server at a time, so the quorum won't change. During a
    voluntary disruption event, e.g. a node being drained, Kubernetes uses
    the pod disruption budget to determine how many pods in a statefulset
    can be made unavailable at a time. That's why this change hardcodes this
    number to 1 now.
    
    Also set autopilot min_quorum to min quorum and disable autopilot
    upgrade migration since that's for blue/green deploys.
    lkysow authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    4b6abc7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e97ed0 View commit details
    Browse the repository at this point in the history
  3. Net 6289 improve consul api gateway annotations (#3437)

    * Add api-gateway to allow list for gateway-kind annotation
    
    * Update godoc for AnnotationGatewayKind to list correct allowable values
    
    * Exclude api-gateway kind when checking if endpoints controller should act on gateway
    
    * Add gateway-kind and gateway-consul-service-name annotations to API gateway pods
    
    * Add appropriate component label to api-gateway pods
    
    * Update consul-k8s CLI to rely on standard component label for api-gateway
    
    This makes api-gateway behave the same as ingress, mesh and terminating gateways; however, it won't pick up pods created by the legacy consul-api-gateway controller.
    
    * add backwards compatabiilty, additional tests
    
    * add changelog
    
    * Update .changelog/3437.txt
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update cli/cmd/proxy/list/command.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update cli/cmd/proxy/list/command_test.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update cli/cmd/proxy/list/command_test.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * Update cli/cmd/proxy/list/command.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * cleanup
    
    * Update cli/cmd/proxy/list/command.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    sarahalsmiller and nathancoleman authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    a5fe410 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Update the version of client-go to v0.26.12 (#3480)

    - This change was made across all the submodules to ensure consistency. This version contains a fix to an issue that was causing panics with certain newer versions of Kubernetes.
    thisisnotashwin authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    ff7603d View commit details
    Browse the repository at this point in the history
  2. Reorg v2 controllers (#3464)

    * rename ReconcileEntry to be ReconcileResource
    
    * Move controllers for resources to resources package rather than
    config-entries package
    
    * update package name
    
    * Move controllers to own pacakge with pacakges for configentries and
    resources
    
    * Fix import path in ent test
    jm96441n authored Jan 17, 2024
    Configuration menu
    Copy the full SHA
    9dc87d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. NET-7147 - Upgrade go to 1.21.6 and use single source of .go-version (#…

    …3478)
    
    Ugrade go to 1.21.6 and use single source of .go-version
    curtbushko authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    245a845 View commit details
    Browse the repository at this point in the history
  2. Mesh Gateway Deployment Configuration (#3477)

    * Add BATs for Gateway Log Level Configuration
    
    * Pass logLevel into init-container and dataplane-container
    
    * Add BATs for extraLabels
    
    * Test that extraLabels get set on the deployment
    
    * BATs for annotations
    
    * Use config for log level over gcc if available
    
    * Make consulDataplaneContainer an assoc func to builder
    
    * Use logLevelForDataplaneContainer func
    
    * Test annotations getting set
    
    * Add comments for Builder obj
    
    * Rename config.go to gateway_config.go
    
    * Add comments to gateway_config
    
    * Move commands closer to their configuration
    
    * Extract some constants
    
    * `%s/expected/debug/g`
    Thomas Eckert authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    5d9bd49 View commit details
    Browse the repository at this point in the history
  3. NET-7179: Update MeshGateway to use new proto with workload selector (#…

    …3465)
    
    * NET-7179: Update MeshGateway to use new proto with workload selector
    
    * fix import
    
    * Update control-plane/api/mesh/v2beta1/mesh_gateway_types.go
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    
    * remove worload override
    
    * fix imports
    
    ---------
    
    Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
    NiniOak and nathancoleman authored Jan 18, 2024
    Configuration menu
    Copy the full SHA
    602ffde View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Configuration menu
    Copy the full SHA
    20a2397 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Use golang -alpine image when building go-discover (#3501)

    Use golang -alpine image when building go-discover
    curtbushko authored Jan 22, 2024
    Configuration menu
    Copy the full SHA
    54714a4 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Add CaseInsenstive field to ServiceRouter. (#3502)

    * Bump consul api version.
    
    * Add CaseInsensitive field to service router match.
    
    * Add changelog.
    hashi-derek authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    83ed190 View commit details
    Browse the repository at this point in the history
  2. Set ReadOnlyRootFilesystem and AllowPrivilegeEscalation to false (#3498)

    Tighten up privileges for consul-dataplane and connect-init containers when CNI is enabled.
    lkysow authored Jan 24, 2024
    Configuration menu
    Copy the full SHA
    89f30a6 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    26b8c22 View commit details
    Browse the repository at this point in the history
  2. Changelog for #3498 (#3515)

    lkysow authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    901caf3 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. [NET-7492, NET-7495] Support -server-watch-disabled, use -proxy-* arg…

    …s instead of -service-* (#3526)
    
    * Support -server-watch-disabled, use -proxy-* args instead of -service-*
    
    * Remove now-unused constant
    
    * Update test assertions
    
    * gofmt
    nathancoleman authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    649efe0 View commit details
    Browse the repository at this point in the history
  2. NET-7153 Generate API Gateway CRDs (#3506)

    * generate crds
    
    * fix issue with test on module update
    
    * generate crds
    sarahalsmiller authored Jan 29, 2024
    Configuration menu
    Copy the full SHA
    1e67acc View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. [NET-7534] v2: Make port names in consul-k8s compatible with NET-5586 (

    …#3528)
    
    - [This change in consul](hashicorp/consul#20371) involves now interpreting whether xRoute/FailoverPolicy/DestinationPolicy resource service references use either the service port (virtualPort in consul) or service target port (targetPort in consul). To make this decision unambiguously:
    > This change updates our interpretation of these reference fields/keys (parent, backend, destination), s.t.:
    >
    > * A numeric value will be exclusively interpreted to indicate a ServicePort.virtual_port
    > * A non-numeric value will be exclusively interpreted to indicate a ServicePort.target_port (this supports VMs/Nomad and other cases where network virtual ports are not used, and port names are expected to be in reference to workload ports, not service ports)
    
    - If a K8s service targetport is allowed to be the stringified version of a number, it will be ambiguous in consul what to interpret the string "portID" as. 
    
    - This change makes it such that the string port can never be a number, and will always also have alpha characters by prefixing "cslport-" to the workload port if the workload port name is unspecified.
    ndhanushkodi authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    a054e33 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Fix meshgw tests (#3532)

    * Fix meshgw tests
    
    * change protocol on mesh gw tests to tcp from mesh
    jm96441n authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    f694158 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b38169a View commit details
    Browse the repository at this point in the history
  3. [NET-7243] Stub APIGateway Controller for v2 (#3507)

    * stub api-gateway-controller
    
    * Add setup to v2 controller
    jm96441n authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    ac85721 View commit details
    Browse the repository at this point in the history
  4. Net 7376 Status struct on api gateway with required info from kubesig (

    …#3530)
    
    * add status structs
    
    * update status
    sarahalsmiller authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    25708a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. updated script to point at RC version correctly (#3541)

    * updated script to point at RC version correctly
    wilkermichael authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    1510cef View commit details
    Browse the repository at this point in the history
  2. Mw/prepare main for 1.5 dev (#3535)

    * bump versions to next version
    
    * updated script to handle new Consul-k8s images
    wilkermichael authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    78ac000 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. [COMPLIANCE] Add Copyright and License Headers (#3499)

    Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
    hashicorp-copywrite[bot] authored Feb 5, 2024
    Configuration menu
    Copy the full SHA
    a5221d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47839c2 View commit details
    Browse the repository at this point in the history
  3. backport of commit 47839c2

    missylbytes committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    3b79269 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. backport of commit 2264c14

    missylbytes committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    378632f View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Configuration menu
    Copy the full SHA
    1f8d9bc View commit details
    Browse the repository at this point in the history