Skip to content
Merged
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
18 changes: 14 additions & 4 deletions kube-fluentd-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: kube-fluentd-operator
version: 1.17.4
epoch: 0
epoch: 1
description: foo
copyright:
- license: MIT
Expand Down Expand Up @@ -31,6 +31,8 @@ environment:
- openssl-dev
- gpg
- wget
- bash
- go
# - shadow

vars:
Expand All @@ -53,8 +55,6 @@ pipeline:
mkdir -p ${{targets.destdir}}/etc/fluent/plugin
mv ./plugins/* ${{targets.destdir}}/etc/fluent/plugin

mkdir -p ${{targets.destdir}}/usr/bin

# a forked version of fluent-plugin-google-cloud is used to align the fluentd version
# cloning here as CI checks fail when using the git-checkout pipeline
cd ..
Expand All @@ -67,6 +67,13 @@ pipeline:

- uses: strip

- runs: |
mkdir -p ${{targets.destdir}}/usr/bin
cd config-reloader
make build VERSION=${{package.version}}
mv config-reloader ${{targets.destdir}}/usr/bin/
mv ./templates ${{targets.destdir}}/etc/fluent/

subpackages:
- name: kube-fluentd-operator-oci-entrypoint
description: Entrypoint for using kube-fluentd-operator
Expand All @@ -92,9 +99,12 @@ subpackages:
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/fluentd/etc
mkdir -p ${{targets.subpkgdir}}/etc/fluent/templates

ln -sf /var/lib/kube-fluentd-operator/initdb/entrypoint.sh ${{targets.subpkgdir}}/fluentd/entrypoint.sh
ln -sf /etc/fluent/fluent.conf ${{targets.subpkgdir}}/fluentd/etc/failsafe.conf
ln -sf /etc/fluent/fluent.conf ${{targets.subpkgdir}}/fluentd/failsafe.conf
ln -sf /etc/fluent/plugin ${{targets.subpkgdir}}/fluentd/plugins
ln -sf /templates ${{targets.subpkgdir}}/etc/fluent/templates

update:
enabled: true
Expand Down