Skip to content

Commit

Permalink
Support dynamic sidecar injection arguments (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxx7xxxx authored Feb 16, 2022
1 parent fcc39bf commit 2078f02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ build_docker:
docker build -t megaease/easegress:${RELEASE} -f ./build/package/Dockerfile .
docker tag megaease/easegress:${RELEASE} megaease/easegress:latest
docker tag megaease/easegress:latest megaease/easegress:server-sidecar
docker tag megaease/easegress:latest megaease/easegress:easemesh

test:
cd ${MKFILE_DIR}
Expand Down
7 changes: 7 additions & 0 deletions pkg/object/meshcontroller/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ type (
CleanExternalRegistry bool `yaml:"cleanExternalRegistry"`

Security *Security `yaml:"security" jsonschema:"omitempty"`

// Sidecar injection relevant config.
ImageRegistryURL string `yaml:"imageRegistryURL" jsonschema:"omitempty"`
ImagePullPolicy string `yaml:"imagePullPolicy" jsonschema:"omitempty"`
SidecarImageName string `yaml:"sidecarImageName" jsonschema:"omitempty"`
AgentInitializerImageName string `yaml:"agentInitializerImageName" jsonschema:"omitempty"`
Log4jConfigName string `yaml:"log4jConfigName" jsonschema:"omitempty"`
}

// Security is the spec for mesh-wide security.
Expand Down

0 comments on commit 2078f02

Please sign in to comment.