Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SSL Cert Issue in Certificate Transfer #282

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def run(self, cmd: List[str]):
Args:
cmd: Command to be run.
"""
self._container.exec(cmd)
self._container.exec(cmd).wait()
mmkay marked this conversation as resolved.
Show resolved Hide resolved

@property
def tracing_endpoint(self) -> Optional[str]:
Expand Down
2 changes: 1 addition & 1 deletion src/grafana_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class GrafanaAgentCharm(CharmBase):
_cert_path = "/tmp/agent/grafana-agent.pem"
_key_path = "/tmp/agent/grafana-agent.key"
_ca_path = "/usr/local/share/ca-certificates/grafana-agent-operator.crt"
_ca_folder_path = "/usr/loca/share/ca-certificates"
_ca_folder_path = "/usr/local/share/ca-certificates"

# Pairs of (incoming, [outgoing]) relation names. If any 'incoming' is joined without at least
# one matching 'outgoing', the charm will block. Without any matching outgoing relation we may
Expand Down
Loading