Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, Is There A Way To Pass Your Google Application Credentials To The Docker Container While Setting Up The Autoscaler Instance?

Hi, is there a way to pass your Google Application credentials to the docker container while setting up the autoscaler instance?

  
  
Posted one year ago
Votes Newest

Answers 7


Hey, @<1523701070390366208:profile|CostlyOstrich36> @<1523701087100473344:profile|SuccessfulKoala55> I would very much appreciate it if you could help me with this

  
  
Posted one year ago

Are you self hosted or using the community server?

  
  
Posted one year ago

Self hosted

  
  
Posted one year ago

Ok so here's what I want to do, I want to export Google Application credentials to my docker container. Here's what I have tried so far

agent.extra_docker_shell_script: [
"echo -E '{
  'type': 'xxx',
  'project_id': 'xxx',
  'private_key_id': 'xxx',
  ....
}' > google-api-key.json", "export GOOGLE_APPLICATION_CREDENTIALS=google-api-key.json"]
  
  
Posted one year ago

@<1610083503607648256:profile|DiminutiveToad80> this should certainly work - are you sure this was executed as expected? You can connect to the cloud provider dashboard and examine the instance system log to figure out what was the code executed there

  
  
Posted one year ago

Heyy guys, I was able to run the pipeline using autoscaler, thanks to @<1523701070390366208:profile|CostlyOstrich36> @<1523701087100473344:profile|SuccessfulKoala55> for all your help and suggestions!!

  
  
Posted one year ago

This didn't work, is there a way that I can set up this environment variable in my docker container?

  
  
Posted one year ago
1K Views
7 Answers
one year ago
one year ago
Tags