Skip to content

Commit

Permalink
Release artifacts for release v1.0.2-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zijun Wang committed Dec 18, 2023
1 parent c41e298 commit a08daa7
Show file tree
Hide file tree
Showing 12 changed files with 948 additions and 64 deletions.
Empty file.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ This project is licensed under the Apache-2.0 License.
[getting-started]: https://www.gateway-api-controller.eks.aws.dev/guides/getstarted/
[spec]: https://www.gateway-api-controller.eks.aws.dev/api-reference/
[concepts]: https://www.gateway-api-controller.eks.aws.dev/concepts/
[gh_release]: https://github.com/aws/aws-application-networking-k8s/releases/tag/v1.0.2
[gh_release]: https://github.com/aws/aws-application-networking-k8s/releases/tag/v1.0.2-rc.1
[godoc]: https://www.gateway-api-controller.eks.aws.dev/
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ configMapGenerator:
images:
- name: controller
newName: public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller
newTag: v1.0.2
newTag: v1.0.2-rc.1
4 changes: 2 additions & 2 deletions docs/guides/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Alternatively, you can manually provide configuration variables when installing

1. Run either `kubectl` or `helm` to deploy the controller. Check [Environment Variables](../guides/environment.md) for detailed explanation of each configuration option.
```bash
kubectl apply -f examples/deploy-v1.0.2.yaml
kubectl apply -f examples/deploy-v1.0.2-rc.1.yaml
```
or
```bash
Expand All @@ -168,7 +168,7 @@ Alternatively, you can manually provide configuration variables when installing
# Run helm with either install or upgrade
helm install gateway-api-controller \
oci://public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller-chart\
--version=v1.0.2 \
--version=v1.0.2-rc.1 \
--set=serviceAccount.create=false --namespace aws-application-networking-system \
# use "debug" for debug level logs
--set=log.level=info \
Expand Down
711 changes: 654 additions & 57 deletions examples/deploy-v0.0.17.yaml → examples/deploy-v1.0.2-rc.1.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: aws-gateway-controller-chart
description: A Helm chart for the Gateway Controller for AWS VPC Lattice
version: v1.0.2
appVersion: v1.0.2
version: v1.0.2-rc.1
appVersion: v1.0.2-rc.1
home: https://github.com/aws/aws-application-networking-k8s
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

image:
repository: public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller
tag: v1.0.2
tag: v1.0.2-rc.1
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down
66 changes: 66 additions & 0 deletions pkg/deploy/lattice/gomock_reflect_1370186657/prog.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@

package main

import (
"encoding/gob"
"flag"
"fmt"
"os"
"path"
"reflect"

"github.com/golang/mock/mockgen/model"

pkg_ "github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"
)

var output = flag.String("output", "", "The output file name, or empty to use stdout.")

func main() {
flag.Parse()

its := []struct{
sym string
typ reflect.Type
}{

{ "RuleManager", reflect.TypeOf((*pkg_.RuleManager)(nil)).Elem()},

}
pkg := &model.Package{
// NOTE: This behaves contrary to documented behaviour if the
// package name is not the final component of the import path.
// The reflect package doesn't expose the package name, though.
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"),
}

for _, it := range its {
intf, err := model.InterfaceFromInterfaceType(it.typ)
if err != nil {
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err)
os.Exit(1)
}
intf.Name = it.sym
pkg.Interfaces = append(pkg.Interfaces, intf)
}

outfile := os.Stdout
if len(*output) != 0 {
var err error
outfile, err = os.Create(*output)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output)
}
defer func() {
if err := outfile.Close(); err != nil {
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output)
os.Exit(1)
}
}()
}

if err := gob.NewEncoder(outfile).Encode(pkg); err != nil {
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err)
os.Exit(1)
}
}
66 changes: 66 additions & 0 deletions pkg/deploy/lattice/gomock_reflect_1773572374/prog.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@

package main

import (
"encoding/gob"
"flag"
"fmt"
"os"
"path"
"reflect"

"github.com/golang/mock/mockgen/model"

pkg_ "github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"
)

var output = flag.String("output", "", "The output file name, or empty to use stdout.")

func main() {
flag.Parse()

its := []struct{
sym string
typ reflect.Type
}{

{ "ListenerManager", reflect.TypeOf((*pkg_.ListenerManager)(nil)).Elem()},

}
pkg := &model.Package{
// NOTE: This behaves contrary to documented behaviour if the
// package name is not the final component of the import path.
// The reflect package doesn't expose the package name, though.
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"),
}

for _, it := range its {
intf, err := model.InterfaceFromInterfaceType(it.typ)
if err != nil {
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err)
os.Exit(1)
}
intf.Name = it.sym
pkg.Interfaces = append(pkg.Interfaces, intf)
}

outfile := os.Stdout
if len(*output) != 0 {
var err error
outfile, err = os.Create(*output)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output)
}
defer func() {
if err := outfile.Close(); err != nil {
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output)
os.Exit(1)
}
}()
}

if err := gob.NewEncoder(outfile).Encode(pkg); err != nil {
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err)
os.Exit(1)
}
}
66 changes: 66 additions & 0 deletions pkg/deploy/lattice/gomock_reflect_422563578/prog.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@

package main

import (
"encoding/gob"
"flag"
"fmt"
"os"
"path"
"reflect"

"github.com/golang/mock/mockgen/model"

pkg_ "github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"
)

var output = flag.String("output", "", "The output file name, or empty to use stdout.")

func main() {
flag.Parse()

its := []struct{
sym string
typ reflect.Type
}{

{ "RuleManager", reflect.TypeOf((*pkg_.RuleManager)(nil)).Elem()},

}
pkg := &model.Package{
// NOTE: This behaves contrary to documented behaviour if the
// package name is not the final component of the import path.
// The reflect package doesn't expose the package name, though.
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/deploy/lattice"),
}

for _, it := range its {
intf, err := model.InterfaceFromInterfaceType(it.typ)
if err != nil {
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err)
os.Exit(1)
}
intf.Name = it.sym
pkg.Interfaces = append(pkg.Interfaces, intf)
}

outfile := os.Stdout
if len(*output) != 0 {
var err error
outfile, err = os.Create(*output)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output)
}
defer func() {
if err := outfile.Close(); err != nil {
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output)
os.Exit(1)
}
}()
}

if err := gob.NewEncoder(outfile).Encode(pkg); err != nil {
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err)
os.Exit(1)
}
}
68 changes: 68 additions & 0 deletions pkg/gateway/gomock_reflect_1170795534/prog.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@

package main

import (
"encoding/gob"
"flag"
"fmt"
"os"
"path"
"reflect"

"github.com/golang/mock/mockgen/model"

pkg_ "github.com/aws/aws-application-networking-k8s/pkg/gateway"
)

var output = flag.String("output", "", "The output file name, or empty to use stdout.")

func main() {
flag.Parse()

its := []struct{
sym string
typ reflect.Type
}{

{ "SvcExportTargetGroupModelBuilder", reflect.TypeOf((*pkg_.SvcExportTargetGroupModelBuilder)(nil)).Elem()},

{ "BackendRefTargetGroupModelBuilder", reflect.TypeOf((*pkg_.BackendRefTargetGroupModelBuilder)(nil)).Elem()},

}
pkg := &model.Package{
// NOTE: This behaves contrary to documented behaviour if the
// package name is not the final component of the import path.
// The reflect package doesn't expose the package name, though.
Name: path.Base("github.com/aws/aws-application-networking-k8s/pkg/gateway"),
}

for _, it := range its {
intf, err := model.InterfaceFromInterfaceType(it.typ)
if err != nil {
fmt.Fprintf(os.Stderr, "Reflection: %v\n", err)
os.Exit(1)
}
intf.Name = it.sym
pkg.Interfaces = append(pkg.Interfaces, intf)
}

outfile := os.Stdout
if len(*output) != 0 {
var err error
outfile, err = os.Create(*output)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to open output file %q", *output)
}
defer func() {
if err := outfile.Close(); err != nil {
fmt.Fprintf(os.Stderr, "failed to close output file %q", *output)
os.Exit(1)
}
}()
}

if err := gob.NewEncoder(outfile).Encode(pkg); err != nil {
fmt.Fprintf(os.Stderr, "gob encode: %v\n", err)
os.Exit(1)
}
}
21 changes: 21 additions & 0 deletions scripts/ci-run-e2e-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Description: This script is used to run e2e tests in CI.




















0 comments on commit a08daa7

Please sign in to comment.