Skip to content

Commit

Permalink
refactor env var names
Browse files Browse the repository at this point in the history
  • Loading branch information
cjimti committed Jan 29, 2021
1 parent f95c314 commit d237489
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/amp.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var (
httpWriteTimeoutEnv = getEnv("HTTP_WRITE_TIMEOUT", "10")
certPathEnv = getEnv("CERT_PATH", "")
mutationEpAnnotationEnv = getEnv("MUTATION_EP_ANNOTATION", "mutation.amp.txn2.com/ep")
validationEpAnnotationEnv = getEnv("VALIDATION_ANNOTATION_EP", "validation.amp.txn2.com/ep")
validationEpAnnotationEnv = getEnv("VALIDATION_EP_ANNOTATION", "validation.amp.txn2.com/ep")
)

var Version = "0.0.0"
Expand Down
2 changes: 0 additions & 2 deletions k8s/30-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ spec:
value: "release"
- name: CERT_PATH
value: "/cert"
- name: ANNOTATION_EP
value: "amp.txn2.com/ep"
ports:
- name: http-int
containerPort: 8443
Expand Down

0 comments on commit d237489

Please sign in to comment.