Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ralongit committed Jul 22, 2024
2 parents 98bfdbe + 3f8162e commit cc1b84e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ jobs:
update_version:
name: Update Version
runs-on: macos-latest
permissions:
contents: write # Allows pushing changes to the repository
issues: write # Allows creating issues
packages: write # Allows accessing and publishing packages
pull-requests: write # Allows creating and managing pull requests
actions: write # Allows updating GitHub Action workflows
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Increase Version
run: |
version=$(cat ./version | grep -o -e '[0-9]\{1,2\}\.[0-9]\{1,2\}\.[0-9]\{1,2\}')
Expand Down Expand Up @@ -69,7 +75,7 @@ jobs:
actions: write # Allows updating GitHub Action workflows
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Update version file
run: |
echo "${{ needs.update_version.outputs.VERSION }}" >./version
Expand Down
2 changes: 1 addition & 1 deletion config-templates/helm.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"targetElement": "datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS' || @.type=='TRACING')]",
"conditionalTemplates": [
{
"condition": "(@['telemetries'][?(@['type']=='TRACING')].length > 0) || (@['telemetries'][?(@['type']=='METRICS')].params[?(@['name']=='isObjectLogs')].value == true)",
"condition": "(datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS')]) || (datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='TRACING')] && datasources[?(@.name=='Kubernetes')].telemetries[?(@.type=='METRICS')].params[?(@.name=='isObjectLogs')].value)",
"template": " --set logzio-k8s-telemetry.secrets.LogzioRegion='<<LOGZIO_ACCOUNT_REGION_CODE>>' \\"
}
]
Expand Down

0 comments on commit cc1b84e

Please sign in to comment.