Skip to content

Commit

Permalink
Fix blocking merge issues (#12)
Browse files Browse the repository at this point in the history
* removing comment out of JSON

* removing definition of flagHCPResourceID
  • Loading branch information
jmurret committed Sep 28, 2022
1 parent 02c30bf commit 63cc791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/demo/templates/product-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ kind: ConfigMap
metadata:
name: db-configmap
data:
# BEGIN CONSUL-K8S MODIFICATION
config: |
{
# BEGIN CONSUL-K8S MODIFICATION
"db_connection": "host=postgres.{{ .Release.Namespace }}.svc.cluster.local port=5432 user=postgres password=password dbname=products sslmode=disable",
# END CONSUL-K8S MODIFICATION
"bind_address": ":9090",
"metrics_address": ":9103"
}
# END CONSUL-K8S MODIFICATION
---
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 0 additions & 6 deletions cli/cmd/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,6 @@ func (c *Command) init() {
Default: "",
Usage: "Set the Kubernetes context to use.",
})
f.StringVar(&flag.StringVar{
Name: flagHCPResourceID,
Target: &c.flagHCPResourceID,
Default: "",
Usage: "Set the HCP resource_id when using the 'cloud' preset.",
})

c.help = c.set.Help()
}
Expand Down

0 comments on commit 63cc791

Please sign in to comment.