chatwork / dockerfiles Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When I tried to run below image
docker run -it chatwork/helmfile:0.153.1-3.11.3 helm diff
it is showing below error
unknown command "helm" for "helmfile"
Due to this I can't be able to reapply helmfile. i.e. on fresh installation it works, but when I tried to run the same helmfile.yaml file through this image, it is showing below error.
STDERR:
Error: unknown command "diff" for "helm"
Run 'helm --help' for usage.
Hi, can you please upload a image of argocd-helmfile with argocd version 2.1.9?
I want to patch argocd due to 0-day vuln, but don't want to upgrade now to 2.2.X version.
Thanks
There is the following line:
ARG SOPS_VERSION=3.7.1
...
curl -o /usr/local/bin/sops -L https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux
But in fact SOPS is available by the following url:
https://github.com/mozilla/sops/releases/download/v3.7.1/sops-v3.7.1.linux
...download/v3.7.1/...
crosslinking with kumina/postfix_exporter#104
->
Trying this:
# cat docker-compose.yml
version: '3.7'
networks:
back-tier:
services:
postfix-exporter:
image: chatwork/kumina-postfix-exporter:latest
volumes:
- /var/spool/postfix/public/showq:/var/spool/postfix/public/showq:ro
- /var/log/mail.log:/var/log/mail.log:ro
command:
- '--web.listen-address=":9154"'
- '--postfix.logfile_path="/var/log/mail.log"'
#- '--systemd.enable'
ports:
- 9154:9154
networks:
- back-tier
#restart: always
Getting:
# docker-compose up
[+] Running 2/2
⠿ Network postfix-exporter_back-tier Created 0.1s
⠿ Container postfix-exporter-postfix-exporter-1 Created 0.1s
Attaching to postfix-exporter-postfix-exporter-1
postfix-exporter-postfix-exporter-1 | 2023/04/19 11:23:39 Reading log events from "/var/log/mail.log"
postfix-exporter-postfix-exporter-1 | 2023/04/19 11:23:39 Failed to create PostfixExporter: open "/var/log/mail.log": no such file or directory
postfix-exporter-postfix-exporter-1 exited with code 1
Tried to mount the directory /var/log
also, same problem.
/var/log/mail.log
exists on the host with read permissions. Help welcome ....
When using your argocd image, I dont see any of the installed helm plugins. Running
helm plugin install https://github.com/jkroepke/helm-secrets --version v3.12.0
inside the container, I am presented with
argocd@argocd-server-repo-server-5c74557dc7-74qwr:~$ helm plugin install https://github.com/jkroepke/helm-secrets --version v3.12.0
Installed plugin: secrets
argocd@argocd-server-repo-server-5c74557dc7-74qwr:~$ helm secrets
failed to load plugins: two plugins claim the name "secrets" at "/helm-working-dir/plugins/helm-secrets" and "/helm-working-dir/plugins/https-github.com-jkroepke-helm-secrets"
Error: unknown command "secrets" for "helm"
Run 'helm --help' for usage.
Tried with 2.2.2-0.0.1.43 and 2.2.5-0.0.1.43
Hey,
We have been using the argocd-helmfile docker image and since version 2.3.0 the helm-s3 plugin isn't built anymore:
32bb2ca
i see in this commit where its being removed from Dockerfile and transferred to Dockerfile.arm64 and also removed from there: 421b7d5 (together with helm-x)
here is the PR: #1251
any reason to remove helm-s3?
https://github.com/roboll/helmfile is deprecated, new project's home at https://github.com/helmfile/helmfile. There are number of new releases already.
I initially raised this issue with argocd but its actually a problem with helmfile template command line.
One of our manifests is LimitRange. It is the first to be rendered with helmfile template. And sed -e '1,/---/d'
line from helmfile --namespace $ARGOCD_APP_NAMESPACE template | sed -e '1,/---/d' | sed -e 's|apiregistration.k8s.io/v1beta1|apiregistration.k8s.io/v1|g' removes it entirely.
This is the manifest itself and what is being removed exactly:
---
# Source: controlplane/templates/limitrange.yaml
apiVersion: v1
kind: LimitRange
metadata:
name: limit-range
labels:
app.kubernetes.io/managed-by: Helm
annotations:
meta.helm.sh/release-name: controlplane
meta.helm.sh/release-namespace: sidh-test
spec:
limits:
- type: Container
defaultRequest:
cpu: "10m"
memory: "50Mi"
default:
cpu: "50m"
memory: "100Mi"
---
We removed sed -e '1,/---/d'
line from our helmfile command for now.
Hello everyone,
right now, sops is not installed in the argocd-helmfile-plugin. It is installed in the argocd-helmfile image. Could you add it to the plugin Dockerfile as well?
Hi, I'm wondering whether you're intentionally keeping the kubectl version in the helmfile
Dockerfile at v1.23?
If that's the case, Helm should be held back at v3.11 as well, since they dropped support for K8s v1.23 in v3.12.
I could just have made a PR bumping the version, but I didn't want to be presumptuous about what version of kubectl is suitable for you guys.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.