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

Update README #80

Merged
merged 32 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
866ae44
Update README
swetha1654 Dec 11, 2024
d3f403d
Update README
swetha1654 Dec 12, 2024
5ed294e
Update cosl
swetha1654 Dec 12, 2024
8b32b26
Update cosl
swetha1654 Dec 12, 2024
46f5cfb
Update ops
swetha1654 Dec 12, 2024
7642893
Update ops
swetha1654 Dec 12, 2024
312010f
Update charmcraft
swetha1654 Dec 12, 2024
dee2b29
Update trivy
swetha1654 Dec 12, 2024
4c8e4fa
Update liscense
swetha1654 Dec 12, 2024
22ca608
Update readme
swetha1654 Dec 12, 2024
f5386df
Update README.md
swetha1654 Dec 13, 2024
19a7d6b
Update README.md
swetha1654 Dec 13, 2024
1c376ab
Update readme
swetha1654 Dec 13, 2024
109da42
Update readme
swetha1654 Dec 16, 2024
75c5fd4
Update juju version
swetha1654 Dec 16, 2024
c19753f
add ops_test.model
swetha1654 Dec 16, 2024
f13bccc
add wait for idle
swetha1654 Dec 16, 2024
1a2d62d
add wait for idle
swetha1654 Dec 16, 2024
500b6f7
pin libraries
swetha1654 Dec 16, 2024
6340087
pin libraries
swetha1654 Dec 16, 2024
3a27096
pin libraries
swetha1654 Dec 16, 2024
8a31147
charmcraft change
swetha1654 Dec 17, 2024
16b9fe0
charmcraft change
swetha1654 Dec 17, 2024
8e971fd
README update
swetha1654 Dec 17, 2024
57924d9
README update
swetha1654 Dec 17, 2024
62a26e4
change juju and microk8s version
swetha1654 Dec 17, 2024
9adede7
CI failure
swetha1654 Dec 18, 2024
273b33c
CI failure
swetha1654 Dec 18, 2024
0844c51
CI failure
swetha1654 Dec 18, 2024
4c6cff3
CI failure
swetha1654 Dec 19, 2024
b3e2122
allure
swetha1654 Dec 20, 2024
7b2131d
fix: integration test (#82)
yanksyoon Dec 20, 2024
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
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ header:
- '.flake8'
- '.jujuignore'
- '.gitignore'
- '.trivyignore'
- '.licenserc.yaml'
- 'CODEOWNERS'
- 'icon.svg'
Expand Down
25 changes: 25 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
CVE-2023-24538

Check notice on line 1 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2023-24538 not present anymore, can be safely removed.
CVE-2023-24540

Check notice on line 2 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2023-24540 not present anymore, can be safely removed.
CVE-2024-24790

Check notice on line 3 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2024-24790 not present anymore, can be safely removed.
CVE-2022-27664

Check notice on line 4 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-27664 not present anymore, can be safely removed.
CVE-2022-2879

Check notice on line 5 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-2879 not present anymore, can be safely removed.
CVE-2022-2880

Check notice on line 6 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-2880 not present anymore, can be safely removed.
CVE-2022-32190

Check notice on line 7 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-32190 not present anymore, can be safely removed.
CVE-2022-41715

Check notice on line 8 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-41715 not present anymore, can be safely removed.
CVE-2022-41716

Check notice on line 9 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-41716 not present anymore, can be safely removed.
CVE-2022-41720

Check notice on line 10 in .trivyignore

View workflow job for this annotation

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-content-cache-fad7a66b8fc0f0468b9aef5ef979e614484972df-_latest_amd64.tar)

CVE-2022-41720 not present anymore, can be safely removed.
CVE-2022-41722
CVE-2022-41723
CVE-2022-41724
CVE-2022-41725
CVE-2023-24534
CVE-2023-24536
CVE-2023-24537
CVE-2023-24539
CVE-2023-29400
CVE-2023-29403
CVE-2023-39325
CVE-2023-45283
CVE-2023-45287
CVE-2023-45288
CVE-2024-34156
64 changes: 49 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@

# Content Cache Operator

A Juju charm for deploying and managing a content cache.
A [Juju](https://juju.is/) [charm](https://juju.is/docs/olm/charmed-operators) deploying and managing service for caching content on Kubernetes, built on top of [Nginx](https://www.nginx.com/), configurable to cache any http or https web site and useful for building Content Delivery Networks (CDN).

## Overview

A service for caching content, built on top of [Nginx](https://www.nginx.com/),
configurable to cache any http or https web site. Tuning options include
cache storage size, maximum request size to cache and cache validity duration.
Like any Juju charm, this charm supports one-line deployment, configuration, integration, scaling, and more. For Charmed Content Cache, this includes:
* scaling the number of cache instances
* cache configuration changes
* deployment on many different Kubernetes platforms, from MicroK8s to Charmed Kubernetes and public cloud Kubernetes offerings

This service was developed to provide front-end caching for web sites run by
Canonical's IS team, and to reduce the need for third-party CDNs by providing
Canonical's IS (Infrastructure Services) team, and to reduce the need for third-party CDNs by providing
high-bandwidth access to web sites via this caching front-end. Currently used
for a number of services including [the Snap Store](https://snapcraft.io/store),
the majority of Canonical's web properties including [ubuntu.com](https://ubuntu.com) and
Expand All @@ -24,17 +23,52 @@ This Kubernetes-based version is built using the same approach as the [machine c
a situation where your Kubernetes cluster and its ingress controllers have
a fast connection to the Internet.

For information about how to deploy, integrate, and manage this charm, see the Official [Content Cache Documentation](https://charmhub.io/content-cache-k8s/docs).

## Get started

To begin, refer to the [Content Cache tutorial](https://charmhub.io/content-cache-k8s/docs/tutorial-getting-started) for step-by-step instructions.

### Basic operations

The following actions are available for the charm:
- report-visits-by-ip

Tuning options include:
- cache storage size
- maximum request size to cache
- cache validity duration

You can find more information about supported actions in [the Charmhub documentation](https://charmhub.io/content-cache-k8s/actions).

## Integrations

Content-cache is meant to serve as cache for another charm. You can use Hello-kubecon as an example:
swetha1654 marked this conversation as resolved.
Show resolved Hide resolved

```
juju deploy content-cache-k8s
juju deploy hello-kubecon
juju relate content-cache-k8s:ingress-proxy hello-kubecon
```

Apart from this integration, the charm can be integrated with other Juju charms and services as well. You can find the full list of integrations in [the Charmhub documentation](https://charmhub.io/content-cache-k8s/integrations).


## Learn more

- [Read more](https://charmhub.io/content-cache-k8s/docs)
- [Developer documentation](https://nginx.org/en/docs/dev/development_guide.html)
- [Official webpage](https://www.nginx.com/)
- [Troubleshooting](https://matrix.to/#/#charmhub-charmdev:ubuntu.com)


## Project and community

The Content-cache-k8s Operator is a member of the Ubuntu family. It's an
The Content-cache-k8s Operator is a member of the Ubuntu family. It is an
open source project that warmly welcomes community projects, contributions,
suggestions, fixes and constructive feedback.
* [Code of conduct](https://ubuntu.com/community/code-of-conduct)
* [Get support](https://discourse.charmhub.io/)
* [Join our online chat](https://chat.charmhub.io/charmhub/channels/charm-dev)
* [Contribute](https://charmhub.io/content-cache-k8s/docs/how-to-guides-contributing)
Thinking about using the Content-cache-k8s for your next project? [Get in touch](https://chat.charmhub.io/charmhub/channels/charm-dev)!

---

For further details, [see the charm's detailed documentation](https://charmhub.io/content-cache-k8s/docs)
* [Contribute](https://charmhub.io/content-cache-k8s/docs/how-to-contribute)
swetha1654 marked this conversation as resolved.
Show resolved Hide resolved
* [Issues](https://github.com/canonical/content-cache-k8s-operator/issues)
* [Matrix](https://matrix.to/#/#charmhub-charmdev:ubuntu.com)
10 changes: 10 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ parts:
charm:
prime:
- content-cache_rock/nginx_cfg.tmpl
build-snaps:
- rustup
override-build: |
rustup default stable
craftctl default
build-packages:
- libffi-dev
- libssl-dev
- pkg-config

1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ deps =
pytest
pytest-cov
pytest-operator
websockets<14.0 # https://github.com/juju/python-libjuju/issues/1184
# Last compatible version with Juju 2.9
juju==3.0.4
-r{toxinidir}/requirements.txt
Expand Down
Loading