Skip to content
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
3437f69
Adding mgmtagent helm charts and chart-releaser workflow
niravg75 Mar 8, 2023
3300916
Create LICENSE
kgvarun Apr 14, 2023
f8e6dbc
v3.0.0: metrics chart from agent, consolidation of charts, templatisa…
santhoshkvuda Apr 25, 2023
cc1cd90
v3.0.0: metrics chart from agent, consolidation of charts, templatisa…
santhoshkvuda Apr 25, 2023
06dc5f0
v3.0.0: metrics chart from agent, consolidation of charts, templatisa…
santhoshkvuda Apr 27, 2023
e643b53
v3.0.0: cleanup temp values in values.yaml
santhoshkvuda Apr 28, 2023
65b8b51
v3.0.0: quick fix for logan chart template rendering issue when insta…
santhoshkvuda May 4, 2023
6969a33
Merge pull request #19 from santhoshkvuda/v3.0.0
santhoshkvuda May 4, 2023
5310c5a
sync repo
prasebha May 8, 2023
dacb49e
docs update
kgvarun May 9, 2023
cde450e
documentation and license updates
kgvarun May 9, 2023
4e08407
Service Objects logs
santhoshkvuda May 9, 2023
a68b160
upgrade metric-server to 0.6.3, increase cpu request to 200m
prasebha May 9, 2023
ba38de6
remove installKey from common
prasebha May 9, 2023
7fe8f8b
Merge pull request #21 from santhoshkvuda/v3.0.0
santhoshkvuda May 12, 2023
d0b4630
rewrite_tag plugin hostname command fix - refresh from main
santhoshkvuda May 12, 2023
d64ce00
Merge pull request #23 from oracle-quickstart/hostname_fix_v3.0.0
santhoshkvuda May 12, 2023
6f72656
V3.0.0 agent (#2)
prasebha May 12, 2023
13592b3
synced with 3.0.0
prasebha May 12, 2023
5d5be4d
add image url and secret, cleanup metric server
prasebha May 15, 2023
e1cb02d
Merge pull request #25 from prasebha/v3.0.0
niravg75 May 15, 2023
b85d75b
remove license comment from values.schema.json
santhoshkvuda May 15, 2023
0a46988
Merge pull request #26 from oracle-quickstart/schema_comment_fix
santhoshkvuda May 15, 2023
499e2dc
non-OKE support (#31)
naga-barri Jun 1, 2023
da563f8
V3.0.0 updates (#30)
paliwalparitosh Jun 1, 2023
540ffa3
Revert "V3.0.0 updates (#30)"
santhoshkvuda Jun 1, 2023
8fb7b2c
Revert "non-OKE support (#31)"
santhoshkvuda Jun 1, 2023
98f106f
Merge pull request #34 from oracle-quickstart/revert-31-nbarri/non-ok…
santhoshkvuda Jun 1, 2023
861448a
Merge pull request #35 from oracle-quickstart/revert-30-v3.0.0_updates
santhoshkvuda Jun 1, 2023
6d2ef4f
docs & schema updates (#28)
kgvarun Jun 13, 2023
104eef0
V3.0.0 updates (#36)
paliwalparitosh Jun 13, 2023
78c853c
Merge pull request #33 from oracle-quickstart/kgvarun-patch-1
santhoshkvuda Jun 13, 2023
dd9cb03
V3 changelog (#37)
santhoshkvuda Jun 13, 2023
dd6c550
Merge branch 'main' into v3.0.0
santhoshkvuda Jun 14, 2023
8bf1116
Fix - Removes defined tags
paliwalparitosh Jun 15, 2023
b865de3
Update README.md
santhoshkvuda Jun 15, 2023
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
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# # # # Copyright (c) 2023, Oracle and/or its affiliates.
# # # # Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.
name: Release Charts

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"

- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.

.DS_Store

####
Expand Down Expand Up @@ -54,4 +57,9 @@ terraform.rc
# Ignore util dir
logan/util/*

# helm-chart
charts/oci-onm/Chart.lock
charts/oci-onm/charts/

# zip artifacts
releases/
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright (c) 2023, Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl.

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
exclude: '^charts/.*/templates/'
- id: end-of-file-fixer
- id: trailing-whitespace
#- id: check-json
- id: check-merge-conflict
- id: check-symlinks
#- repo: https://github.com/Lucas-C/pre-commit-hooks
# rev: v1.5.1
# hooks:
# - id: insert-license
# exclude: '*.json|*.txt|.*.md|.*.txt|.pre-commit-config.yaml'
# args:
# - --license-filepath
# - ./docs/license-short.txt
- repo: https://github.com/norwoodj/helm-docs
rev: v1.2.0
hooks:
- id: helm-docs
args:
- --chart-search-root=charts
# The `./` makes it relative to the chart-search-root set above
#- --template-files=./_templates.gotmpl
21 changes: 15 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
# Change Log

## 2022-02-07
## 2023-06-14
### Added
- Kubernetes Metrics Collection to OCI Monitoring using OCI Management Agent.
- Support for Kubernetes Service and EndpointSlice Object logs collection.
### Changed
- Refactoring of helm chart, terraform and stack/market place app to support the consolidation of logs, objects and metrics collection.
### Breaking Changes
- The refactoring work done in this version, may cause issues if you upgrade to this version (v3.0.0) from previous versions. Refer [here](README.md#2x-to-3x) for further details.

## 2023-02-07
### Added
- Create a new mount (rw) using the value provided for baseDir.
- Expose "encoding" parameter of Fluentd's tail plugin as part of values.yaml, which allows users to override default encoding (ASCII-8BIT) for applicable logs/log types.
- Expose "encoding" parameter of Fluentd's tail plugin as part of values.yaml, which allows users to override default encoding (ASCII-8BIT) for applicable logs/log types.
- Partial CRI logs handling.
- Oracle Resource Manager / Terraform support for deploying the solution.
- Oracle Resource Manager / Terraform support for deploying the solution.
### Changed
- Modified /var/log to mount as readonly by default, except when /var/log is set as baseDir (to store Fluentd state, buffer etc.,).
### Breaking Changes
- Logging Analytics Fluentd Output plugin log location will be derived using baseDir instead using value of fluentd:ociLoggingAnalyticsOutputPlugin:plugin_log_location. The default value still remains unchanged and is a non breaking change except if it was modified to a different value.

## 2022-08-30
### Added
- Helm chart templatisation/parameterisation to provide granular level control on the chart and its values.
- Support for custom ServiceAccount.
- Helm chart templatisation/parameterisation to provide granular level control on the chart and its values.
- Support for custom ServiceAccount.
### Breaking Changes
- If you have not modified any of the templates values.yaml for any customisation including custom Fluentd configuration etc., then upgrading to this version is a non breaking change. In case, if you have any modifications or customisations, then you may need to adjust those according to the new templatisation format before upgrading to this version.

Expand All @@ -35,7 +44,7 @@
- Pod Annotations based customiation of configuration paremeters (oci_la_log_source_name, oci_la_log_group_id, oci_la_entity_id) for logs collected through "Kubernetes Container Generic Logs".
- README update for custom configuration documentation.
- Flush interval and timeout label configuration for Concat plugin section.

## 2022-02-24
### Added
- Oracle Linux 8 based Docker Image support.
Expand Down
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.

The Universal Permissive License (UPL), Version 1.0

Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this
software, associated documentation and/or data (collectively the "Software"), free of charge and under any and
all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor
hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or
(ii) the Larger Works (as defined below), to deal in both

(a) the Software, and
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if one is included with the Software
(each a “Larger Work” to which the Software is contributed by such licensors),

without restriction, including without limitation the rights to copy, create derivative works of, display,
perform, and distribute the Software and make, use, sell, offer for sale, import, export, have made, and have
sold the Software and the Larger Work(s), and to sublicense the foregoing rights on either these or other terms.

This license is subject to the following condition:
The above copyright notice and either this complete permission notice or at a minimum a reference to the UPL must
be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
Loading