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 7bd9896
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 84 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.

103 changes: 51 additions & 52 deletions extensions/v1alpha1/wasm.pb.go

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

13 changes: 6 additions & 7 deletions extensions/v1alpha1/wasm.pb.html

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

27 changes: 13 additions & 14 deletions extensions/v1alpha1/wasm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ import "type/v1beta1/selector.proto";
// - 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;
}
1 change: 0 additions & 1 deletion extensions/v1alpha1/wasm_deepcopy.gen.go

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

1 change: 0 additions & 1 deletion 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 7bd9896

Please sign in to comment.