Description
Please select the type of request
Bug
Tell us more
Describe the request
I am deploying a Standalone
resource using the App Framework with the following configuration:
appRepo:
appsRepoPollIntervalSeconds: 600
defaults:
volumeName: splunk-apps
scope: local
appSources:
- name: app
location: myapp/v1.1.0/
volumes:
- name: splunk-apps
storageType: s3
provider: aws
path: mybucket/
endpoint: https://s3-eu-central-1.amazonaws.com
secretRef: s3-splunk-apps-secret
The S3 folder myapp/v1.1.0/
contains an app named myapp.tgz
.
When I change the location
in the Standalone
resource from myapp/v1.1.0/
to myapp/v1.1.1/
(this S3 folder contains a new version of the app myapp.tgz
), the new version of the app is not installed.
What happens though is that the pod is reinstalling the old version of the app again.
Seems that the problem is that the amazon/aws-cli
container mounted to the pod is still being called with:
s3 sync s3://mybucket/myapp/v1.1.0/ /init-apps/app/
instead of
s3 sync s3://mybucket/myapp/v1.1.1/ /init-apps/app/
Expected behavior
- The updated version of the app would be installed.
Splunk setup on K8S
- Splunk Operator 1.1.0 (can't update to 2.x as we're using a hybrid environment with an 8.2.x indexer cluster)
Reproduction/Testing steps
- see above
K8s environment
- EKS 1.21