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

Remove the Defaults for request_buffering and response_buffering to make the provider compatible with Kong 2.0.x #155

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
-
name: Import GPG key
id: import_gpg
uses: hashicorp/ghaction-import-gpg@v2.1.0
env:
uses: crazy-max/ghaction-import-gpg@v6.1.0
with:
# These secrets will need to be configured for the repository:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ builds:
ignore:
- goos: darwin
goarch: '386'
- goos: windows
goarch: 'arm64'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
Expand All @@ -47,7 +49,7 @@ signs:
- "${signature}"
- "--detach-sign"
- "${artifact}"
release:
# release:
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
Expand Down
3 changes: 3 additions & 0 deletions kong/resource_kong_consumer_key_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ func resourceKongConsumerKeyAuth() *schema.Resource {
ReadContext: resourceKongConsumerKeyAuthRead,
DeleteContext: resourceKongConsumerKeyAuthDelete,
UpdateContext: resourceKongConsumerKeyAuthUpdate,
Importer: &schema.ResourceImporter{
State: schema.ImportStatePassthrough,
},
Schema: map[string]*schema.Schema{
"consumer_id": {
Type: schema.TypeString,
Expand Down
2 changes: 0 additions & 2 deletions kong/resource_kong_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,11 @@ func resourceKongRoute() *schema.Resource {
Type: schema.TypeBool,
Optional: true,
ForceNew: false,
Default: true,
},
"response_buffering": {
Type: schema.TypeBool,
Optional: true,
ForceNew: false,
Default: true,
},
"tags": {
Type: schema.TypeList,
Expand Down
Loading