File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 spec :
1111 containers :
1212 - name : github-weather
13- image : docker.io/varankinv/github-weather:v2.0 .0
13+ image : docker.io/varankinv/github-weather:v3.1 .0
1414 command : ["/bin/github-weather"]
1515 args :
1616 - " --debug"
3131 volumes :
3232 - name : config-secret-volume
3333 secret :
34- secretName : gh-config-secret
34+ secretName : github-weather-config
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : Secret
33metadata :
4- name : gh-config-secret
4+ name : github-weather-config
55stringData :
66 config.yaml : |-
77 expiration_time: 30
8-
98 github:
109 client_id: "github/weather"
1110 endpoint: "https://api.github.com/graphql"
1211 token: "$GITHUB_TOKEN"
13-
1412 owm:
1513 api_key: "$OPENWEATHER_API_KEY"
1614 endpoint: "https://api.openweathermap.org/data/2.5/weather?appid={api-key}&units=metric"
You can’t perform that action at this time.
0 commit comments