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

chore: Rename SD-Core charms by adding -k8s as a suffix #57

Merged
merged 4 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
integration-test:
uses: canonical/sdcore-github-workflows/.github/workflows/integration-test.yaml@main
with:
charm-file-name: "sdcore-nrf_ubuntu-22.04-amd64.charm"
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"

publish-charm:
name: Publish Charm
Expand All @@ -39,7 +39,7 @@ jobs:
if: ${{ github.ref_name == 'main' }}
uses: canonical/sdcore-github-workflows/.github/workflows/publish-charm.yaml@main
with:
charm-file-name: "sdcore-nrf_ubuntu-22.04-amd64.charm"
charm-file-name: "sdcore-nrf-k8s_ubuntu-22.04-amd64.charm"
secrets: inherit

lib-needs-publishing:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# SD-Core NRF Operator (k8s)
[![CharmHub Badge](https://charmhub.io/sdcore-nrf/badge.svg)](https://charmhub.io/sdcore-nrf)
# SD-Core NRF Operator for K8s
[![CharmHub Badge](https://charmhub.io/sdcore-nrf-k8s/badge.svg)](https://charmhub.io/sdcore-nrf-k8s)
gatici marked this conversation as resolved.
Show resolved Hide resolved

Charmed Operator for the SD-Core Network Repository Function (NRF).
Charmed Operator for the SD-Core Network Repository Function (NRF) for K8s.

# Usage

```bash
juju deploy sdcore-nrf --channel=edge
juju deploy sdcore-nrf-k8s --channel=edge
juju deploy mongodb-k8s --trust --channel=5/edge
juju deploy self-signed-certificates --channel=beta

juju integrate sdcore-nrf:database mongodb-k8s
juju integrate self-signed-certificates:certificates sdcore-nrf:certificates
juju integrate sdcore-nrf-k8s:database mongodb-k8s
juju integrate self-signed-certificates:certificates sdcore-nrf-k8s:certificates
```

# Image
Expand Down
10 changes: 5 additions & 5 deletions metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: sdcore-nrf
display-name: SD-Core NRF
name: sdcore-nrf-k8s
display-name: SD-Core NRF K8s
summary: Charmed Operator for the SD-Core Network Repository Function (NRF).
description: Charmed Operator for the SD-Core Network Repository Function (NRF).
website: https://charmhub.io/sdcore-nrf
source: https://github.com/canonical/sdcore-nrf-operator
issues: https://github.com/canonical/sdcore-nrf-operator/issues
website: https://charmhub.io/sdcore-nrf-k8s
source: https://github.com/canonical/sdcore-nrf-k8s-operator
issues: https://github.com/canonical/sdcore-nrf-k8s-operator/issues

containers:
nrf:
Expand Down
4 changes: 2 additions & 2 deletions src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.

"""Charmed operator for the SD-Core NRF service."""
"""Charmed operator for the SD-Core NRF service for K8s."""

import logging
from ipaddress import IPv4Address
Expand Down Expand Up @@ -81,7 +81,7 @@ def _render_config(


class NRFOperatorCharm(CharmBase):
"""Main class to describe juju event handling for the SD-Core NRF operator."""
"""Main class to describe juju event handling for the SD-Core NRF operator for K8s."""

def __init__(self, *args):
"""Initialize charm."""
Expand Down
Loading