|
| 1 | +// |
| 2 | +// DISCLAIMER |
| 3 | +// |
| 4 | +// Copyright 2018 ArangoDB GmbH, Cologne, Germany |
| 5 | +// |
| 6 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +// you may not use this file except in compliance with the License. |
| 8 | +// You may obtain a copy of the License at |
| 9 | +// |
| 10 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +// |
| 12 | +// Unless required by applicable law or agreed to in writing, software |
| 13 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +// See the License for the specific language governing permissions and |
| 16 | +// limitations under the License. |
| 17 | +// |
| 18 | +// Copyright holder is ArangoDB GmbH, Cologne, Germany |
| 19 | +// |
| 20 | +// Author Ewout Prangsma |
| 21 | +// |
| 22 | + |
| 23 | +package v1alpha |
| 24 | + |
| 25 | +// SecretHashes keeps track of the value of secrets |
| 26 | +// so we can detect changes. |
| 27 | +// For each used secret, a sha256 hash is stored. |
| 28 | +type SecretHashes struct { |
| 29 | + // AuthJWT contains the hash of the auth.jwtSecretName secret |
| 30 | + AuthJWT string `json:"auth-jwt,omitempty"` |
| 31 | + // RocksDBEncryptionKey contains the hash of the rocksdb.encryption.keySecretName secret |
| 32 | + RocksDBEncryptionKey string `json:"rocksdb-encryption-key,omitempty"` |
| 33 | + // TLSCA contains the hash of the tls.caSecretName secret |
| 34 | + TLSCA string `json:"tls-ca,omitempty"` |
| 35 | + // SyncTLSCA contains the hash of the sync.tls.caSecretName secret |
| 36 | + SyncTLSCA string `json:"sync-tls-ca,omitempty"` |
| 37 | +} |
0 commit comments