# Adding System message

**URL:** <https://community.jenkins.io/t/adding-system-message/340>\
**Category:** Jenkins Operator\
**Created:** [August 23, 2021, 6:19am UTC](https://community.jenkins.io/t/adding-system-message/340 "2021-08-23T06:19:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ira1](https://avatars.discourse-cdn.com/v4/letter/i/7bcc69/32.png) [@Ira1](https://community.jenkins.io/u/Ira1)\
**Post date:** [August 23, 2021, 6:19am UTC](https://community.jenkins.io/t/adding-system-message/340/1 "2021-08-23T06:19:57Z")

</div>

Hello,  
I am working with jenkins-operator helm. For adding System message I performed the following:

1. Create user-config.yaml:

```auto

apiVersion: v1
kind: ConfigMap
metadata:
  name: user-config
data:
  1-system-message.yaml: |
    jenkins:
      systemMessage: ${SYSTEM_MESSAGE}

```

1. Create user-config-secrets.yaml:

```auto
---
kind: Secret
apiVersion: v1
type: Opaque
metadata:
  name: user-config-secrets
  stringData:
  SYSTEM_MESSAGE: "Psss Secret value"

```

1. In values.yaml:

```auto
---
  configuration:
    configurationAsCode: 
       - configMapName: user-config
        # content: {}
    groovyScripts: 
       - configMapName: user-config-secrets
    # content: {}

```

1. helm update

But I don’t see the System Message.  
What I am missing?

Thanks,  
Irina Rozalio

---

<div class="post-metadata">

**Author:** ![prryb](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/prryb/32/158_2.png) [@prryb](https://community.jenkins.io/u/prryb)\
**Post date:** [August 23, 2021, 3:19pm UTC](https://community.jenkins.io/t/adding-system-message/340/2 "2021-08-23T15:19:53Z")

</div>

Hello,  
A secret in the helm chart should be provided as `secretRefName` (or `secretData` see docs in [kubernetes-operator/values.yaml at 126b02aaab2088a052c638842c7c31e0c67f21d9 · jenkinsci/kubernetes-operator · GitHub](https://github.com/jenkinsci/kubernetes-operator/blob/126b02aaab2088a052c638842c7c31e0c67f21d9/chart/jenkins-operator/values.yaml)), e.g.:

```auto
  configuration:
    configurationAsCode:
      - configMapName: user-config
    groovyScripts: {}
    secretRefName: user-config-secrets

```

Hope this helps!
