Commit 2e05e15f authored by Luca Cinquini's avatar Luca Cinquini
Browse files

Removing config maps for files, directories.

parent dd3af4a7
Loading
Loading
Loading
Loading
+7 −17
Original line number Diff line number Diff line
@@ -90,13 +90,8 @@ spec:
          mountPath: /esg/content/thredds
        - name: esg-data
          mountPath: /esg/data
        #- name: esgf-config-archive
        # if using hostPath volume: mount volume to complete file path 
        #  mountPath: /root/archives/esgf_config.tar.xz
        # if using configMap volume: mount volume to directory path
        #  mountPath: /root/archives
        - name: esgf-config-files
          mountPath: /esg/config
        - name: esgf-config-archive
          mountPath: /root/archives/esgf_config.tar.xz
        - name: tds-web-xml
          mountPath: /usr/local/tomcat/webapps/thredds/WEB-INF/web.xml
        - name: tomcat-esg-truststore
@@ -116,10 +111,8 @@ spec:
          mountPath: /esg/content/thredds
        - name: esg-data
          mountPath: /esg/data
        #- name: esgf-config-archive
        #  mountPath: /root/archives
        - name: esgf-config-files
          mountPath: /esg/config
        - name: esgf-config-archive
          mountPath: /root/archives/esgf_config.tar.xz
        envFrom:
        - configMapRef:
            name: esgf-env
@@ -132,12 +125,9 @@ spec:
      #  emptyDir: {}
      #- name: esg-data
      #  emptyDir: {}
      #- name: esgf-config-archive
        #hostPath:
        #  path: /Users/cinquini/ESGF_CONFIG/archives/esgf_config.tar.xz
      - name: esgf-config-files
        configMap:
          name: esgf-config-files
      - name: esgf-config-archive
        hostPath:
          path: /Users/cinquini/ESGF_CONFIG/archives/esgf_config.tar.xz
      - name: tds-web-xml
        hostPath:
          path: /Users/cinquini/ESGF_CONFIG/webapps/thredds/WEB-INF/web.xml