dgrove-oss closed pull request #202: Kuberentes v1.9.7 Deployment URL: https://github.com/apache/incubator-openwhisk-deploy-kube/pull/202
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/kubernetes/apigateway/apigateway.yml b/kubernetes/apigateway/apigateway.yml index 4a4f5bf..b746759 100644 --- a/kubernetes/apigateway/apigateway.yml +++ b/kubernetes/apigateway/apigateway.yml @@ -49,12 +49,23 @@ spec: values: - apigateway topologyKey: "kubernetes.io/hostname" - volumes: - name: redis-data persistentVolumeClaim: claimName: pv-apigateway-01 - + initContainers: + - name: redis-init + image: busybox + command: + - chown + - -v + - -R + - 999:999 + - /data + volumeMounts: + - mountPath: /data + name: redis-data + readOnly: false containers: - name: redis imagePullPolicy: IfNotPresent @@ -62,6 +73,7 @@ spec: volumeMounts: - mountPath: /data name: redis-data + readOnly: false - name: apigateway imagePullPolicy: Always image: openwhisk/apigateway ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services