Skip to content

Commit

Permalink
Fix GNMI container issue (sonic-net#135)
Browse files Browse the repository at this point in the history
Why I did it
GNMI container can't start without cert and key.

How I did it
Use the telemetry cert and key.

How to verify it
Load new image and check container.
  • Loading branch information
ganglyu authored Nov 19, 2022
1 parent 8200f3c commit ffde08c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sonic-config-engine/minigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1858,8 +1858,8 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw
'log_level': '2'
},
'certs': {
'server_crt': '/etc/sonic/telemetry/gnmiserver.cer',
'server_key': '/etc/sonic/telemetry/gnmiserver.key',
'server_crt': '/etc/sonic/telemetry/streamingtelemetryserver.cer',
'server_key': '/etc/sonic/telemetry/streamingtelemetryserver.key',
'ca_crt': '/etc/sonic/telemetry/dsmsroot.cer'
}
}
Expand Down

0 comments on commit ffde08c

Please sign in to comment.