<commit_before>apiVersion: "extensions/v1beta1"
kind: Deployment
metadata:
  name: ubiquity
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: ubiquity
    spec:
      containers:
      - name: ubiquity
        image: UBIQUITY_IMAGE
        ports:
        - containerPort: 9999
          name: ubiquity-port
        env:
            ### SCBE :
          - name: SCBE_DEFAULT_SERVICE
            value: "SCBE_DEFAULT_SERVICE_VALUE"
          - name: SCBE_MANAGEMENT_IP
            value: "SCBE_MANAGEMENT_IP_VALUE"
          - name: SCBE_MANAGEMENT_PORT
            value: "8440"
          - name: SCBE_USERNAME
            value: "SCBE_USERNAME_VALUE"
          - name: SCBE_PASSWORD
            value: "<PASSWORD>"
          - name: UBIQUITY_SERVER_VERIFY_SCBE_CERT # SCBE certificate path file inside the container
            value: ""


          - name: PORT              # Ubiquity port
            value: "9999"
          - name: LOG_PATH          # Ubiquity log file directory
            value: "/tmp"
          - name: CONFIG_PATH       # Ubiquity config directory
            value: "/tmp"
          - name: DEFAULT_BACKEND   # or other backends, such as :scbe, spectrum-scale-nfs
            value: "scbe"
          - name: LOG_LEVEL         # debug / info / error
            value: "debug"
          - name: DEFAULT_VOLUME_SIZE
            value: "2"
          - name: UBIQUITY_INSTANCE_NAME
            value: "UBIQUITY_INSTANCE_NAME_VALUE"
          - name: DEFAULT_FSTYPE    # ext4 or xfs
            value: "ext4"

            # Ubiquity certificates:
          - name: UBIQUITY_SERVER_USE_SSL      # boolean (true or false)
            value: ""
          - name: UBIQUITY_SERVER_CERT_PUBLIC  # path-to-public-key-file
            value: ""
          - name: UBIQUITY_SERVER_CERT_PRIVATE # path-to-private-key-file
            value: ""



            ### Ubiquity DB :
          - name: UBIQUITY_DB_PSQL_HOST   # Ubiquity DB hostname
            value: "ubiquity-db"          # the ubiquity-db service name
          - name: UBIQUITY_DB_PSQL_PORT
            value: ""                     # TODO we should specify the default port
          - name: UBIQUITY_DB_USER        # Ubiquity DB user
            value: ""<commit_msg>#86 : remove cert env in ubiquity yml since they already hardcoded in the ubiquity docker image<commit_after>apiVersion: "extensions/v1beta1"
kind: Deployment
metadata:
  name: ubiquity
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: ubiquity
    spec:
      containers:
      - name: ubiquity
        image: UBIQUITY_IMAGE
        ports:
        - containerPort: 9999
          name: ubiquity-port
        env:
            ### SCBE :
          - name: SCBE_DEFAULT_SERVICE
            value: "SCBE_DEFAULT_SERVICE_VALUE"
          - name: SCBE_MANAGEMENT_IP
            value: "SCBE_MANAGEMENT_IP_VALUE"
          - name: SCBE_MANAGEMENT_PORT
            value: "8440"
          - name: SCBE_USERNAME
            value: "SCBE_USERNAME_VALUE"
          - name: SCBE_PASSWORD
            value: "<PASSWORD>"
          - name: UBIQUITY_SERVER_VERIFY_SCBE_CERT # SCBE certificate path file inside the container
            value: ""


          - name: PORT              # Ubiquity port
            value: "9999"
          - name: LOG_PATH          # Ubiquity log file directory
            value: "/tmp"
          - name: CONFIG_PATH       # Ubiquity config directory
            value: "/tmp"
          - name: DEFAULT_BACKEND   # or other backends, such as :scbe, spectrum-scale-nfs
            value: "scbe"
          - name: LOG_LEVEL         # debug / info / error
            value: "debug"
          - name: DEFAULT_VOLUME_SIZE
            value: "2"
          - name: UBIQUITY_INSTANCE_NAME
            value: "UBIQUITY_INSTANCE_NAME_VALUE"
          - name: DEFAULT_FSTYPE    # ext4 or xfs
            value: "ext4"

            # Ubiquity certificates:
          - name: UBIQUITY_SERVER_USE_SSL      # boolean (true or false)
            value: ""

            ### Ubiquity DB :
          - name: UBIQUITY_DB_PSQL_HOST   # Ubiquity DB hostname
            value: "ubiquity-db"          # the ubiquity-db service name
          - name: UBIQUITY_DB_PSQL_PORT
            value: ""                     # TODO we should specify the default port
          - name: UBIQUITY_DB_USER        # Ubiquity DB user
            value: ""
{'fraction_non_alphanumeric': 0.07460999321727334, 'fraction_numerical': 0.008591453764413294, 'mean_word_length': 1.5483870967741935, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6644379', 'n_tokens_mistral': 1357, 'n_tokens_neox': 1294, 'n_words': 323}