<commit_before>apiVersion: v1
kind: Template
metadata:
  name: squonk-secrets
  annotations:
    description: "Squonk secrets"
    tags: "squonk,secrets"
labels:
  template: squonk-secrets
  app: squonk-secrets

message: "Secrets have been deployed."

objects:
- apiVersion: v1
  kind: Secret
  metadata:
    name: squonk-secrets
  stringData:
    POSTGRES_KEYCLOAK_PASSWORD: ${POST<PASSWORD>KEYCLOAK_PASSWORD}
    POSTGRES_SQUONK_PASSWORD: ${POST<PASSWORD>ONK_PASSWORD}
    POSTGRES_USER: ${POSTGRES_USER}
    POSTGRES_XWIKI_PASSWORD: ${<PASSWORD>}
    RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
    RABBITMQ_DEFAULT_PASS: ${R<PASSWORD>}
    RABBITMQ_ERLANG_COOKIE: ${RABBITMQ_ERLANG_COOKIE}

parameters:

- name: POSTGRES_KEYCLOAK_PASSWORD
  value: <PASSWORD>
- name: POSTGRES_SQUONK_PASSWORD
  value: <PASSWORD>
- name: POSTGRES_USER
  value: postgres
- name: POSTGRES_XWIKI_PASSWORD
  value: <PASSWORD>

- name: RABBITMQ_DEFAULT_USER
  value: admin
- name: RABBITMQ_DEFAULT_PASS
  value: <PASSWORD>
- name: RABBITMQ_SQUONK_PASSWORD
  value: <PASSWORD>
- name: RABBITMQ_ERLANG_COOKIE
  description: RabbitMQ Erlang cookie
  from: '[a-zA-Z0-9]{12}'
  generate: expression <commit_msg>- Fixed missing password in secrets<commit_after>apiVersion: v1
kind: Template
metadata:
  name: squonk-secrets
  annotations:
    description: "Squonk secrets"
    tags: "squonk,secrets"
labels:
  template: squonk-secrets
  app: squonk-secrets

message: "Secrets have been deployed."

objects:
- apiVersion: v1
  kind: Secret
  metadata:
    name: squonk-secrets
  stringData:
    POSTGRES_KEYCLOAK_PASSWORD: ${POSTGRES_KEYCLOAK_PASSWORD}
    POSTGRES_SQUONK_PASSWORD: ${POSTGRES_SQUONK_PASSWORD}
    POSTGRES_USER: ${POSTGRES_USER}
    POSTGRES_XWIKI_PASSWORD: ${POSTGRES_XWIKI_PASSWORD}
    RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER}
    RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS}
    RABBITMQ_ERLANG_COOKIE: ${RABBITMQ_ERLANG_COOKIE}
    RABBITMQ_SQUONK_PASSWORD: ${RABBITMQ_SQUONK_PASSWORD}

parameters:

- name: POSTGRES_KEYCLOAK_PASSWORD
  value: <PASSWORD>
- name: POSTGRES_SQUONK_PASSWORD
  value: <PASSWORD>
- name: POSTGRES_USER
  value: postgres
- name: POSTGRES_XWIKI_PASSWORD
  value: <PASSWORD>

- name: RABBITMQ_DEFAULT_USER
  value: admin
- name: RABBITMQ_DEFAULT_PASS
  value: <PASSWORD>
- name: RABBITMQ_ERLANG_COOKIE
  description: RabbitMQ Erlang cookie
  from: '[a-zA-Z0-9]{12}'
  generate: expression 
- name: RABBITMQ_SQUONK_PASSWORD
  value: <PASSWORD>
{'fraction_non_alphanumeric': 0.09160613397901533, 'fraction_numerical': 0.004842615012106538, 'mean_word_length': 5.307888040712468, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '5427939', 'n_tokens_mistral': 1054, 'n_tokens_neox': 996, 'n_words': 177}