Skip to content

Commit

Permalink
change enum EnvValueSource
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain committed Feb 8, 2022
1 parent bff2ca5 commit 07d34fb
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 89 deletions.
4 changes: 2 additions & 2 deletions extensions/v1alpha1/wasm.gen.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

105 changes: 52 additions & 53 deletions extensions/v1alpha1/wasm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions extensions/v1alpha1/wasm.pb.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 14 additions & 15 deletions extensions/v1alpha1/wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,9 @@ import "type/v1beta1/selector.proto";
// openid_realm: ingress
// vmConfig:
// env:
// - name: POD_NAME
// - name: POD_NAME
// valueFrom: HOST
// - name: TRUST_DOMAIN
// valueFrom: GIVEN
// value: "cluster.local"
// ```
//
Expand Down Expand Up @@ -332,22 +331,22 @@ message EnvVar {
EnvValueSource value_from = 3;

// Variable references $(VAR_NAME) are expanded
// using the previously defined environment variables in the container and
// any service environment variables. If a variable cannot be resolved,
// the reference in the input string will be unchanged. Double $$ are reduced
// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
// "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
// Escaped references will never be expanded, regardless of whether the variable
// exists or not.
// Defaults to "".
// +optional
// using the previously defined environment variables in the container and
// any service environment variables. If a variable cannot be resolved,
// the reference in the input string will be unchanged. Double $$ are reduced
// to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
// "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
// Escaped references will never be expanded, regardless of whether the variable
// exists or not.
// Defaults to "".
// +optional
optional string value = 2;
}

enum EnvValueSource {
// *Istio-proxy's* environment variables exposed to this VM.
HOST = 0;

// Explicitly given key-value pairs to be injected to this VM
GIVEN = 1;
INLINE = 0;

// *Istio-proxy's* environment variables exposed to this VM.
HOST = 1;
}
3 changes: 1 addition & 2 deletions extensions/v1alpha1/wasm_deepcopy.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions extensions/v1alpha1/wasm_json.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kubernetes/customresourcedefinitions.gen.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions python/istio_api/extensions/v1alpha1/wasm_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 07d34fb

Please sign in to comment.